ScratchData LogoScratchData
Back to deck26's profile

basic train set

DEdeck26•Created May 29, 2014
basic train set
134
115
5051 views
View on Scratch

Instructions

Click the green flag. Use number keys for menu. You can choose one of 4 standard layouts but you can also edit the layout. It also offers 5 different engine costumes to choose from. Change the speed to start the engine moving. The points (switches) can be set by clicking on them - if no green curve is shown they're set for straight ahead. If I'm using the username block when you run it it's just so I can change the code without affecting how it appears for anyone else until I'm ready to reveal changes.

Description

All my own work although I see others have done similar things. (In particular see http://scratch.mit.edu/projects/557945/ which I suspect influenced me more than I'd realised!) Track is stored in a list so engine can look ahead and work out what it has to do and stays on the track better that way. Thoughts on what to add - - carriages/wagons - more than one train (need collision handler) - scenery options - sound - allowing layouts to be saved and reloaded My main aim is to create something that can then be modified for puzzles, games etc - whether by me or another user. Some of the above will only be added in a later version with this version still available for simpler remixing.

Project Details

Project ID22918665
CreatedMay 29, 2014
Last ModifiedNovember 30, 2022
SharedMay 29, 2014
Visibilityvisible
CommentsAllowed