What did you do?
- Create a Space Platform which uses a Thruster
- Save as Scenario
- Quit to Main Menu
- Edit Scenario
Thruster Flames are not Rendered upon Loading. Thruster's and Platform's Thrust indicates as 0. What did you expect to happen instead? It might be obvious to you, but do it anyway!
Thruster Flames would render as they did prior to Saving (First Screenshot), or as they do +1 Tick (Below) Does it happen always, once, or sometimes?
For Exactly One Tick upon loading a Scenario.
The lack of "Indicated Thrust" from Save/Loading in this manner does not seem to have any effect upon the actual Speed of a Space Platform while it is in-transit. IE, the Thrust Value is correctly Calculated while running each Tick; this is purely a Display issue. It seems like the Thruster is just not "remembering" that it had fired on the previous Tick in the Save file.
The reason that I am discovering these issues is because I am trying to "Automatically" take Screenshots from a Savegame file.... so I am noticing when something does not look right in the output PNG. If you would like to write a Unit Test for this class of issues, I would Suggest:
- Generate a Scenario with 1 of every Entity in the Game
- Take a Screenshot upon Loading
- Wait 1 Tick
- Take another Screenshot
- Evaluate for cases where >50% (or whatever threshold) of Pixels change between Frames
Thank you for Reading!