Page 1 of 1

How do you make a platform, and how do you jup?

PostPosted: Wed Jul 25, 2007 11:36 pm
by lilmuleman214
How do you make a platform?
How do you jump, and land back on the ground?

PostPosted: Wed Jul 25, 2007 11:49 pm
by d-soldier
Read this forum post though, and apply it:
http://game-editor.com/forum/viewtopic. ... light=jump

PostPosted: Wed Jul 25, 2007 11:52 pm
by d-soldier
The platform would be just like any other "land" object... so basically your player(actor) needs a collision event setup for the "platform" which enables a physical response. I highly recommend opening up the CAVEMAN game from the tutorial folder and taking a look at all the scripting/events used to make that simple game work the way it does... it can be a bit overwhelming at first, but before long it will start to come together.

PostPosted: Thu Jul 26, 2007 1:06 am
by lilmuleman214
thanks

Make a platform and juMp

PostPosted: Thu Jul 26, 2007 8:49 pm
by Wolly08
first you need to make a floor (draw one in paint or something) now to make the actor stop when he toushes the flooe youll need to make an event : player collides with floor phsycal responce leave the top 2 neumbers clear and set the 3'rd one down to 0 (this means he wont bounce.
to make your actor jump there are two options i know 1) player key down Space script editor [yvelocity = + 5;] or [y = y - 5;] that means on the
Y axis he will go up (hot tip- enable gravity so he comes back down lol) :)