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

Report as inappropriate.

djb
djb presents ...

2008/8/7

balance

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.

4073 views / 19 in the last 7 days

Tags: mouse game with-source

open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

djbdjb

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
djbdjb

2008/8/7

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

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?
djbdjb

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.
mjrb4mjrb4

2008/8/12

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

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
djbdjb

2008/8/18

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

2008/8/19

Wow, now that's tough!

See all comments

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

Who likes this?

No votes yet.