Check out the new version! http://scratch.mit.edu/projects/10086980/ ################
Featured 17/06 :) Thanks for comments, everyone! Recently added: * Buildings * Level crossings * Multiple maps * Trees There's export/import, too — you can save your map to a "code" that you can paste in the comments — but it doesn't work online. Download, and try pasting this code: 00000000EGGGG20ml70w0w1w108Eq0ol02ml0K6wQ1kRxl890wqt4WG0022x580wwgo02Ga84KGww0ix3EaEGKW0000050 === INSTRUCTIONS: Click to place road; Space to erase. Use the 1 & 2 keys to switch between placing roads and rails. 3 to place trees. Arrow keys drive the red car. WSAD drives the blue car. You can't control the trains directly — instead, you can click on points (rail T-junctions) to change their direction. (You need to have rails (2) selected for this to work.) You can overlay roads and rails to make level crossings. The rails allow for all kinds of crazy layouts — one way sections, loops... Have a try! Click "Maps" to see other maps. You can use the little icons to delete, rename and export maps. Trees aren't saved when exporting (to save space!) === It now not only uses arrays to remember what's in each tile, but remembers the tile's surroundings, too; which essentially just makes stuff a lot faster (particularly redrawing the entire screen). The cars still don't crash into each other :P that's for another update... === UPDATE: Cleaned up the code, moved to using an array to "remember" what's in each tile. In theory, this means I can save the entire map to a "code" that you can paste in the comments; still needs some work though. The cars don't crash into each other at the moment; that's for another update... UPDATE: A few fixes for speed — both building and clearing are now MUCH faster. Building is almost instant now! :D Turns out "repeat" blocks have a small delay on them — duplicating the scripts makes things *much* faster. I added an online sensor to test whether it would work. I can report that at the moment, it doesn't.