Right...
I'm new to Scratch, and can see some real potential here.
At the moment I'm not actually working on creating a game or animation, I'm just experimenting with different elements, so far I've got a character to move around a blank background, what I'd like to know is how to get the little fella to jump (kind of in a platform style).
Any advice?
Cheers
Offline
Jumping is something I couldn't do when I started scratch. I looked all around, and this was the tutorial that showed you how to create the most realistic jump.
http://scratch.mit.edu/projects/AlanProjects/198887
Offline
your gonna need to use a gravity or yvel variable. If the character is touching a platform, this variable will be 0, else the variable will increment with a negative value (change by -1). Then simply make the y position change by the variable.
Offline
You can go here to find a comprehensive jumping tutorial
Offline
demosthenes wrote:
You can go here to find a comprehensive jumping tutorial
![]()
Go where?
Offline
zbugni wrote:
Jumping is something I couldn't do when I started scratch. I looked all around, and this was the tutorial that showed you how to create the most realistic jump.
http://scratch.mit.edu/projects/AlanProjects/198887
Absolutely prefect!
Thanks for that....
Offline
Ah...additional question.
I've got the little fella jumping around quite happily, and when he reaches another platform he lands, this was based on <touching colour>. However, this does mean that if his head touches the underside of the platform he stays there.
What can I do about him only landing the jump if he lands on his feet?
Cheers
Offline
I've just tried uploading it to the website, but I think the server here at work is being a tad stroppy.
I'll try again from home.
Offline
Right this is it so far...
http://scratch.mit.edu/projects/ColonelMoran/566205
Like I say, it's more a test and experiment than anything else.
Offline
Try looking at the code in this project http://scratch.mit.edu/projects/archmage/101212
Last edited by archmage (2009-06-11 14:46:44)
Offline
archmage wrote:
Try looking at the code in this project http://scratch.mit.edu/projects/archmage/101212
Cool thanks Archmage...
So you create a frame around the sprite?
Offline