So I'm trying to add a new energy-like particle, Protons. I've basically copy/pasted the Electron code (ELEC.cpp), and changed the name and colors, but when i spawn the element, it doesn't fly off in different directions like ELEC and PHOT do, it remains a glowing solid, as if the game was paused.
What is going on?
It needs to get movement from somewhere!
Most elements have special statements when they are created (In simulation.cpp , starting at line 2674) to give them movement or other properties, you should be able to find many element types that get special values on creation, you can use similar ones that ELEC has (line 3096).
I knew that was involved somehow! Thanks.