I'm trying to make a gravity game where you can change the gravity and stuff. Here's the link to the Help request project. Please, please, please help me with this one. I'm trying to make a game out of this, like a scrolling platformer. here's the link http://scratch.mit.edu/projects/ethwok/2954932
Offline
when gf clicked forever if <<key [up arrow] pressed> and <touching (ground)> set [Y velocity] to [10] end end
when gf clicked set [Y velocity] to [0] forever change y by (Y velocity) if <touching (ground)> set [Y velocity] to [0.5] else change [Y velocity] by [-0.5] end end
Offline
dankill51 wrote:
In the first script it's supposed to say if touching ground
No, you should go look at the project I have reffering to this, then you'll get what I'm actually looking for. I already have that part.
Offline
the program for the guy
when gf clicked forever if <touching [ground v]?> set [y velocity v] to (0) else change [y velocity v] by (gravity) change y by (y velocity)the program for the change gravity button
when clicked set [gravity v] to <pick random (-1) to (-0.1)>is this what you wanted?
Last edited by scratchyrocks (2012-12-03 21:15:00)
Offline
scratchyrocks wrote:
the program for the guy
when gf clicked forever if <touching [ground v]?> set [y velocity v] to (0) else change [y velocity v] by (gravity) change y by (y velocity)the program for the change gravity buttonwhen clicked set [gravity v] to <pick random (-1) to (-0.1)>is this what you wanted?
well, i was trying to still use the script that i have, just kinda revert the numbers, and i just dont know how to do that... here's the link to the project that you can download to graciously help me. Thank you in advance http://scratch.mit.edu/projects/ethwok/2954932
Offline