2DWorlds Forums
How would I make a box, like, jump - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: How would I make a box, like, jump (/showthread.php?tid=2778)



How would I make a box, like, jump - toast - 04-10-2011

Like so it only goes up if it's on the ground


RE: How would I make a box, like, jump - Scripter - 04-10-2011

(04-10-2011, 05:33 AM)toast Wrote: Like so it only goes up if it's on the ground

Depends if you're using velocity, or changing the Position.

And you sure seem to be good at getting textures and such. My Donkey Kong is like a buildism version :O


RE: How would I make a box, like, jump - AK-47 - 04-10-2011

Jump? Maybe you can use onTouch? (Something like that), and then everytime it touches the ground, the velocity of the box will be (0,Y).

... Or just increase the bouncyness.


RE: How would I make a box, like, jump - toast - 04-10-2011

(04-10-2011, 05:37 AM)Scripter Wrote:
(04-10-2011, 05:33 AM)toast Wrote: Like so it only goes up if it's on the ground

Depends if you're using velocity, or changing the Position.

And you sure seem to be good at getting textures and such. My Donkey Kong is like a buildism version :O

I was thinking about using velocity, so I don't have to like do any physics testing.

About the textures, I just like looked up "arcade donkey kong sprites" and got pictures. I wanted to make mine look as Donkey Kong-like as possible.
I used .Collided events and it seems to be working good