Report as inappropriate.

Greenfootgalleryimage2_thumb

Busch2207 presents ...

2011/11/23

Gravity Engine

Move your mouse over the screen.
Press x or y to create balls, where the mouse is!
Press c to clear all balls.
I added a maximum of 100 balls, so don't be surprised if the balls suddenly remove, by creating new one! ;)

The blue balls and red balls are affected by the gravitation.
The blue balls swim on the water, the red ones not.
The yellow balls fly upwards!
The green balls are not affected by any gravitation, but they are getting slower, cause of the air resistance.

(P.s.: If you want, you are of course allowed to copy this scenario and use it for your own projects.)

1689 views / 25 in the last 7 days

9 votes | 0 in the last 7 days

Tags: with-source

open in greenfoot
Your browser is ignoring the <APPLET> tag.
Happy-chicken_1__thumbdarkmist255

2011/11/23

This is very close to something I just made :D. But yours are a lot more bouncy. To the source!
No_avatar_thumbAwesomeNameGuy

2011/11/24

Nice
Mrenges_thumbuboiz

2011/11/24

I like the Physics effect! Great!
A new version of this scenario was uploaded on Fri Nov 25 13:56:06 UTC 2011 Some small bugs fixed
A new version of this scenario was uploaded on Fri Nov 25 13:57:59 UTC 2011 Some small bugs fixed
A new version of this scenario was uploaded on Fri Nov 25 14:08:58 UTC 2011
K_o_p_thumbK_O_P

2011/11/25

Hey cool! This engine is pretty good!
Haha_thumbMatazat

2011/11/29

reminds me of the time i found a dead body in a mcdonalds ball pit
A new version of this scenario was uploaded on Wed Nov 30 16:53:39 UTC 2011 A more accurate collision checking. Different balls with different settings
A new version of this scenario was uploaded on Wed Nov 30 16:55:24 UTC 2011

See all comments

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

Who likes this?

Sb2_thumb No_avatar_thumb No_avatar_thumb No_avatar_thumb Person_thumb K_o_p_thumb No_avatar_thumb Happy-chicken_1__thumb Photo_on_2011-09-18_at_18