click the flag, and watch gravity happen. Change scenes by selecting them (bottom right) and pressing space. numbers 1-0 change camera focus between the different objects. Zoom the camera with the arrow keys or scroll wheel You can also edit the objects, but that's only through lists, so you'll have to see inside. (note: editing the "scene" list is preferable to editing the actual objects, since it is saved). Here's some homework if you'd like to do that: SolidGravityObjects: - every first item is X - every second is Y - every third is mass FreeGravityObjects: - first and second are position (x/y) - third and fourth are velocity (x/y) - fifth is mass Also, if you wish to store a scene: - scene numbers are followed by a colon (so, 1:) each scene must contain the following lines: - default scale (the scale the scene starts on) - draw scale (can be set to 0, making all objects draw at the minimum size of 5px) - default speed - gravitational constant Before adding any objects, you must first state their type (Solid, or Free). Store all solid objects together, before any free objects. Only list the type once. Objects can be added using the syntax above for the SolidGravityObjects or FreeGravityObjects lists, but scenes also support random values. To use a random value, add a line labeled RAND, a second with the minimum value, and a third with the maximum value.
I /was/ going to just release this as is, then continue making what it was supposed to become in unity, but then I got distracted and started adding unrelated features. Oh also, I know the speed values aren't 1:1. idk what's going on there