Hi,
I wondered if anyone could help me. For my school work we have to design and create a game. I chose a platform game with different levels. I have got everything leading up to the first level sorted. But, I can't any way for my character to jump with a gravity pull (it goes back down) onto the platforms. This is really bugging me so plleeasseee can you help me because I am desperate.
From,
horseluver4596
Offline
One thing that you can do is make a script in a forever loop saying that if your character is not touching the color of the ground, then you can change the y position by a number (I recommend -3). If you want an example then you can look at my project Mirror Remade.
Offline
Here is a script that could help
when gf clicked forever if <not <touching color [#000000]?>> change y by [-10]change black to the color of your platforms, and if you jump or fall it will change y by -10
Last edited by daniel_j (2012-06-30 02:23:29)
Offline
just to make sure you got the jump right, here:
when gf clicked forever if <key [up arrow v] pressed?> repeat (any number) change y by (any number) end wait until <touching color [black]?> end end
Last edited by ROSMan (2012-06-30 06:12:36)
Offline
ROSMan wrote:
just to make sure you got the jump right, here:
when gf clicked forever if <key [up arrow v] pressed?> repeat (any number) change y by (any number) end wait until <touching color [#000000]?> end end
I added the color for you
Last edited by daniel_j (2012-06-30 08:11:26)
Offline