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;

5213 views / 19 in the last 7 days

5 votes | 0 in the last 7 days

Tags: simulation demo avoidance traffic danpost

This scenario is a member of: Demos by danpost


Your browser does not support the canvas tag.
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!
A new version of this scenario was uploaded on 2020-10-28 21:29:10 UTC

See all comments

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

Who likes this?

Pasatij henryufo85 SandDealer Game/maniac Entity1037