Newcomen Atmospheric Engine Sim
The steam engine revolutionized the world. Thomas Newcomen's atmospheric engine was the first commercially successful steam engine, used to pump water from flooded mines. Unlike high-pressure steam engines, which directly use the expansive force of steam, it worked by spraying cold water into steam, condensing it and pulling down a piston with the resulting vacuum.
This is an attempt to simulate the Newcomen atmospheric engine in a very simple way. You have to put it together yourself (it's only a few parts in-game).
There is no tutorial, but just Google "Newcomen atmospheric engine" to see what it should look like.
Fullscreen recommended.
Controls: Left click on menu buttons to select a part. Then click on the desired node to connect (or click and drag between nodes, in the case of the chain). Click the Start/Stop button to start or pause the simulation, or click reset if you want to start over (I didn't have time to allow you to disconnect or move parts already placed, so you will have to reset and start over to do that).
Esc to quit.
Goal: No goal. Connect stuff and watch it move.
(Hint) If you stick a piston inside the piston housing above the boiler unit, it will start receiving a strong downward force every few seconds.
Code is major spaghetti, but it's included in the standalone zip if you really want to see.
Known bugs:
- UI got wonky in the build version.
- Sometimes a part will immediately spawn at your mouse when you click a part button, or your cursor won't have the part after clicking the button. Try clicking the buttons and/or canvas a few times to fix, or possibly reset.
- The piston may glitch through its housing when getting forced down near the bottom. Reset to fix.
- Attempting to attach a chain between two other chain nodes will result in a crash in some circumstances (though you never need to do this).
Status | Released |
Platforms | HTML5, Windows, macOS, Linux |
Author | bluepunch |
Genre | Simulation, Educational |
Made with | Unity |
Tags | olccodejam2020 |
Comments
Log in with itch.io to leave a comment.
By placing too many elements, a popup signaled that the page was slowing down. The game also takes a long time to load.
Well, I failed to create the machine but it was a good discovery to know what it looks like. And, I still had fun watching how the components interact physically. XD
Yep, especially if you spawn a ton of chains--all the physics objects trying to interact with each other every tick chugs it bad, even in the standalone, so probably more so for the web player. Unfortunately I don't know why it would take a long time to load, though.
Sorry it didn't work out! A couple problems I needed to fix if I'd had more time were the buggy UI buttons and making the piston cylinder look more like you needed to put a piston in there. Glad you had some fun. :p
Author here. The web player doesn't seem to be loading. Not sure what that's about, but you can still download the standalone player.
I have seen this problem before where it gets stuck at about 90% loaded. Check your build settings and if it’s using “brotli” compression try changing it to gzip or none. That’s fixed it for me before. :)
Thanks for the advice! I’ll definitely try that when I get a chance. Much appreciated :)
I did what you said, and perhaps that helped, but the problem persisted--I saw a suggestion to disable Data Caching on the build and that fixed it! Thanks for your help!
Aha! Glad it’s fixed now.