This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-12-22 18:44:08

FlameWhisp
Scratcher
Registered: 2008-11-07
Posts: 2

Need help with gravity and scrolling!

How can I create gravity for jumping in an RPG? (Have the character jump up, and fall down with the touch of the up arrow key.) I could use a scrolling background too, how does that work?

Offline

 

#2 2008-12-22 18:49:12

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Need help with gravity and scrolling!

This project is a good and basic example of what you want.
http://scratch.mit.edu/projects/m44/314590

Download it and check out the code.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

Board footer