Real life 4 stroke engine mechanics (of course the spark plug can't be electrical, as i don't have this kind of simulation, with scripting maybe)
-Admission/Expulsion of gasses.
Spark plug ignition (red box coming down when "fuel" is compressed).
the pump tries to simulate the carburator, but as i said, just pretends to do so, because i needed to build pressure inside the admission multiple (multiple de admision in spanish, don't know how to translate correctly) so it could work at high speeds.
max speed 8 rad/s, will work on that later.
enjoy, if the engine has enough power for your aplications, use it!
I didn't tested if it could move a car, just give credit to me and enjoy!
Left arrow to start.
up arrow (toggle) to refill gas tank.
EDITED SCENE: Shoooot! in various editions and reloads i made i forgot to duplicate the sparkplug return spring, now it won't jam anymore i hope.