Circles

By JL235 - uploaded on 2008-8-17      2505 views (37 in the last 7 days)      8 votes (0 in the last 7 days)

Tags: mouse physics demo with-source

This is a quick 1 hour port of the same scenario that I made a few years ago in Ruby with SDL. It's essentially just some circles bouncing around the screen with some very simple physics code so they move nice.

Controls:
Left click on the world to create circles.
Circles will be created at the location of the mouse.
When created, the circles will also move in the direction that the mouse is moving.


Open the scenario in Greenfoot.
Download the source for this scenario.


Your browser is ignoring the <APPLET> tag.

Some people who like this scenario: mcO9 programmer Larisius dibo qnanqing mjrb4 mik


This scenario is a member of the following collections: Scenario showcase, Art, Patterns and Music


Report this scenario as broken or inappropriate.

A new version of this scenario was uploaded on Sun Aug 17 06:01:00 UTC 2008

mjrb4 writes (on 2008-8-22):

...because simplicity is often best!

qnanqing writes (on 2008-11-7):

this is i MUST download !! :D

 

Eatserbeam writes (on 2008-12-2):

why did u use SDL with ruby ? isnt ruby java like and by so have its own graphics?

JL235 writes (on 2008-12-3):

The _original_ version was built using SDL and Ruby and didn't involve Java at all. At the time I had not used SDL before and that was partly why I built it.


If you want to leave a comment on this scenario, you must first log in.


The Greenfoot Network:  Greenfoot.org    Greenfoot Gallery   Greenfoot-Discuss

Our sponsors:

University of Kent Deakin University Sun Microsystems