balance

By djb - uploaded on 2008-8-7      541 views (11 in the last 7 days)

Tags: game mouse with-source

A simple game in which the mouse is used to tilt a board.
Balls roll on the board and you have to keep them from falling off.
Balls have different inertia factors which affect how quickly
they respond to changes in the angle of the board.

Visit the web page for this scenario.
Download the source for this scenario.


Your browser is ignoring the <APPLET> tag.

Report this scenario as broken or inappropriate.

 

djb writes (on 2008-8-7):

That's worth a go, and should make it even trickier to keep multiple balls on the go at the same time.

A new version of this scenario was uploaded on Thu Aug 07 13:34:37 UTC 2008

 

djb writes (on 2008-8-7):

I have now added random inertia assignments to the balls so that their responses to changes in tilt are not uniform.

mjrb4 writes (on 2008-8-9):

Nice idea! The tilting of the board seems a bit jerky though and it's hard to get the mouse right on it - any chance it could be smoothened up?

 

djb writes (on 2008-8-9):

I will see what I can do about the jerkiness. You don't have to put the mouse on the board, it works anywhere on the world, just measuring the offset from the initial press to the current position.

mjrb4 writes (on 2008-8-12):

Ahh it was me, I was dragging it up and down rather than left and right!

mjrb4 writes (on 2008-8-14):

I have an idea to make it a bit trickier - instead of all the balls starting at 0 velocity, you could assign them a small value to start with just so you're forced to do something rather than sit there with them all accumulating in the middle!

A new version of this scenario was uploaded on Mon Aug 18 15:37:33 UTC 2008

 

djb writes (on 2008-8-18):

mjrb4: I have now added a randomly-assigned initial velocity for the balls.

mjrb4 writes (on 2008-8-19):

Wow, now that's tough!

See all comments for this scenario.



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, and Sun Microsystems