im working on a project, which wont be completed i bet. but, i need a "jumpstyle" (no, not the music, neither the dance) which has got fixed points. i my toughts i'd make jump like this:
if a=1 then b = b+1
if b>50 set a=2
if a=2 then b = b-1
always player position is x, and y+b
bit its kind of poor.
i need "fixed style" coz i want it jump thingy use in a multiplayer game. im sure you know what i mean.
Originally Posted by Hempuli If flag 0 is off (it's on only if the object is on the ground)
-add x to value B
If value B => y
-add 1 to value A
Always
-set Y position to Y(object) + alterable value A (object)
That's what I use.
Uhh, what? Looking at this I can't understand how it works. It seems like you're using the X position to determine if the player should jump. So what happens when when the player is at X=1 and their Y position is 32? Unless the X and Y you're talking about aren't the player positions.
I think he means x as some number you plug in and test with... I don't know what the original poster actually wants though - otherwise I'd try and help.