Button for moving player Up and Down?

I try to hack the "Animated Caharcters sample, where the little MArio moves left and right on the platform.

I want him to be able to move Up and down too.

I added the buttons for that, but I don’t know, how to let him move up and down.

Can somebody help me with a sample code?

Am a totally newb here and started with this stuff today.
I know, I am lame, but I am not a programmer (yet :stuck_out_tongue: )

Thanks for any help. [import]uid: 6587 topic_id: 5638 reply_id: 305638[/import]

If you mean jumping there is a tutorial for that however if you just mean regular movement you would just want to use similar code to the left and right functions however along the Y axis. You will probably also want to disable gravity via the LDI. [import]uid: 5833 topic_id: 5638 reply_id: 19383[/import]