This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Game/maniac
Game/maniac presents ...

2013/3/22

Ball Bounce Physics

This scenario is a demo

you can change the texture with keys 1-3
You can use the up and down keys to change gravity
You can use the left and right keys to change power
You can use r to reset the demo and keep the gravity/power changes
You can use p to reset power
You can use g to reset gravity
power will only do something after you press r

This will hopefully help people with making their games

4633 views / 18 in the last 7 days

5 votes | 0 in the last 7 days

Tags: simulation physics demo with-source

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Sun Mar 31 14:28:17 UTC 2013 Simplified code Fixed two bugs
A new version of this scenario was uploaded on Sun Mar 31 18:41:17 UTC 2013 added a way to interact with the gravity
A new version of this scenario was uploaded on Sun Mar 31 21:12:36 UTC 2013 fixed a bug
Awesome! Managed to make them move as if there was no gravity!
A new version of this scenario was uploaded on Mon Apr 01 14:56:05 UTC 2013 Added a way to interact with power -changes will only happen after r has be clicked
JetLennitJetLennit

2013/4/1

you should make it to where with space you can set them both back to zero
A new version of this scenario was uploaded on Mon Apr 01 15:07:21 UTC 2013 Added a way to interact with power -changes will only happen after r has be clicked Pressing g resets Gravity and pressing p resets Power
JetLennitJetLennit

2013/4/1

nice! it is better than my idea
Game/maniacGame/maniac

2013/4/1

It looks really cool when you make power a really small number and press r
JetLennitJetLennit

2013/4/1

Yes it does!

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Gargol Tasharoo birdy JetLennit FlyingRabidUnicornPig