SIMPLER DEMO HERE: https://scratch.mit.edu/projects/171102021/ Drag numbers from the top and operators from the side to the equation lines. The program will (eventually) perform the calculation and generate a *draggable* result which can be used once in the LHS of another component of the equation. (The total at the lower right is an example draggable compound number. I haven't implemented the calculation yet) The project is not yet completed. This is a rough draft I put together to discuss user interface options with @jamy_hensley for the game he's working on.
This was a test of some UI ideas. I've now decided which parts of this I think are worth keeping and which should be thrown out. For instance instead of pre-drawing many lines for parts of the equation, I should only draw one and then supply the next one after the previous one is filled out. If the user wants to make a change, rather than dragging the numbers off again, we should just delete the last entry and work back. Operators should be placed and cycled through using mouse clicks rather than dragging as currently. Numbers should snap to the location when they're dropped (like the operators currently are) The main reason for writing this was to test the idea of dragging a compound-sprite (ie a group of digits forming a number) which makes up for a limitation of scratch that it isn't possible to generate sprites dynamically. Without this trick you'd need 1000 costumes to be able to drag the intermediate totals around... to do: use the red flag stop detection trick to stamp all the active clones, so that the final screen is preserved when the program is stopped.