Hi. im making a scrolling project where the character goes fast from left to right and i need to know a couple things.
1. How do I have slopes?
2. HOw do i change scrolling by x velocity
3. How do i make how high he jumps based on velocity?
Offline
1. You will probably need sensors to detect if the ground is rising or not. So in the tutorial, you can add another line above the green one (about 2-4 pixels above it) and have an if statement that checks if that color is touching the ground, and if it is, change the Y by 1 or 2.
2 & 3: Basic Velocity and Gravity/Jumping.
Edit: An example of slopes I've got here.
Last edited by Magnie (2012-10-13 13:34:27)
Offline