Jump to content


packocrayons

Member Since 28 Feb 2012
Offline Last Active May 22 2012 12:36 AM

Posts I've Made

In Topic: Getting into 3d

16 May 2012 - 09:22 PM

That worked, thanks!

In Topic: Getting into 3d

16 May 2012 - 12:20 AM

Man, 3D is much simpler than I thought it would be, it's just adding a z value to everything. I watched the starter video and i've got a pretty good handle on the basics, I'll whip up a basic movement engine for the simulator and then start working on the things that play a factor on the ride attitude of the boats.
Thanks for the link.
Mod please move this to the appropriate forum
Quick question, my lighting seems to be the opposite of what it should be, for example what should be shadowed is actually the color of my lighting.
heres the code:
d3d_set_lighting(true)
d3d_light_enable(1,true)
d3d_light_define_point(1,0,0,50,9999,c_red)
I tried the red to see if it would make a difference, but it's still the same.

In Topic: Once used code in step event

14 April 2012 - 01:19 PM

changing=1
if changing=1
{
//all of your adding code here
changing=0
}
when a weapon is changed, sprchange=the new sprite
if sprchange!=initial one
{
//subtract those weapon bonuses
change=1
}

In Topic: Random Item drop isn't that random

14 April 2012 - 01:15 PM

well 0-60 has a much higher chance out of 100 than 97-100.
the choose is the easiest though

In Topic: Please help?

14 April 2012 - 04:39 AM

when it reaches it's peak (vspeed=0), calculate the distance to the ground (distance_to_point()) and use an inverted line (negative slope if you remember your y=mx+b's) to run the subimages, although it may look weird. for larger jumps you could have it double speed and loop twice.