GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please help!! how to jump?

Hi, im new here. i want to practise to make a super mario template game.

this is my project

scene : Gravity Y is 100
floor and actor bounciness : 0

(actor)
[Colision ]
[actor of type : Floor ]
[do : Colide : Actor of type Floor ]

[Key ]
[when "space" is down ]
[do : change attribute : set self.motion.linervelocity.Y to 100 ]

[Key ]
[when "space" is down ]
[do : change attribute : set self.motion.linervelocity.Y to -100 ]

[Key
[when "Left" is down
[do : move to 0' relative to actor in a addictive way : at speed of 100

[Key
[when "right" is down
[do : move to 180' relative to actor in a addictive way : at speed of 100

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
it doesnt work well like super mario. Plus, i just want to jump once before it land. but in this project, why i can jump many times. and when i press left, the actor will walk in the sky, not in land. im sorry, my english is poor, i cant speak to well. i need help on basic things.

appreciate to those who are willing to help me go through this.

Comments

This discussion has been closed.