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

Report as inappropriate.

danpost
danpost presents ...

2014/3/20

Traffic Control

Cars avoiding collisions.

Will publish source later.

MOUSE ACTIONS:
Click buttons along bottom to view the main classes; press 'x' or 'escape' to exit text viewing mode;
Click to left or right inside speed bar to change the speed in that direction;
Click to left or right outside speed bar to maximize or minimize the speed;

2655 views / 9 in the last 7 days

3 votes | 0 in the last 7 days

Tags: simulation demo avoidance traffic danpost

This scenario is a member of: Demos by danpost


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.

danpostdanpost

2014/3/25

@Entity1037, changed speed bar to only accept single clicks. (spelling correction).
A new version of this scenario was uploaded on Tue Mar 25 06:13:54 UTC 2014
danpostdanpost

2014/3/25

Doubled the spawn rate!!! Went from 20 to 39 acts per spawn to 10 to 19 acts per spawn.
danpostdanpost

2014/3/25

I now have an occasional fender-bender at intersections that I need to fix. Just one more check to add. Will work on it in the near future.
danpostdanpost

2014/3/25

Alright, have working code (I believe). Had to re-work the car movement and the intersection pads. Will have documented revision up soon.
A new version of this scenario was uploaded on Tue Mar 25 18:32:33 UTC 2014
Entity1037Entity1037

2014/3/25

The scenario won't load. It says: "NoClassDefFoundError City$1"
A new version of this scenario was uploaded on Tue Mar 25 19:21:08 UTC 2014
danpostdanpost

2014/3/25

@Entity1037, sorry 'bout that. I recompiled and uploaded again.
Entity1037Entity1037

2014/3/25

OK. It's fine now!

See all comments

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

Who likes this?

SandDealer Game/maniac Entity1037