Commit graph

62 commits

Author SHA1 Message Date
9f21c2b258 merge input and output tiles into one, where output is accomplished by marbles moving into the tile, like a bag 2024-10-08 22:04:12 +02:00
ae4e84bb90 reimplement marble behavior, making it more consistent in different directions. Triggers no longer activate from blocked marbles, and bounces take the same amount of time to travel through a chain of marbles in all directions 2024-10-08 21:51:31 +02:00
82d0ff0f37 properly center editor view and make zoom follow mouse position 2024-10-07 21:21:37 +02:00
355a5af15e refactor board resizing in negative directions, fixing broken execution in negative zones 2024-10-07 20:01:00 +02:00
1b74f9c996 trim exit button sizes 2024-10-07 18:56:33 +02:00
90d2e35ade fix non-ascii input causing crashes 2024-10-07 18:45:24 +02:00
040b3d3779 show solution id under name 2024-10-07 18:43:24 +02:00
1df323e7ac make selecting look nicer 2024-10-07 18:06:02 +02:00
4c976ab8e2 fix marbles not working in negative quadrants 2024-10-07 17:57:07 +02:00
70d7256e9d specify default input/output text/byte mode per level 2024-10-07 17:33:53 +02:00
e9b03b937b toggle to show input as bytes or text 2024-10-07 17:29:56 +02:00
34fb5f1dd2 close success popup when simulation is resumed 2024-10-07 17:05:40 +02:00
e661483cd5 make erasing continuous 2024-10-07 16:51:56 +02:00
49917d18a9 selection tool (selections are not useful yet) 2024-10-07 15:11:53 +02:00
92d540c29b show speed number and slider 2024-10-07 14:16:50 +02:00
038bf365c4 show step count 2024-10-07 13:16:26 +02:00
2c27d660b3 add step button 2024-10-07 12:57:51 +02:00
28a54a231b shrink board bounds when erasing 2024-10-07 12:44:15 +02:00
af66e68c5f add sandbox and lock input in other levels 2024-10-07 12:21:57 +02:00
bbe5ab0868 draw out of bounds as a darker colour 2024-10-07 12:08:30 +02:00
e43a422708 add separate sort order field to levels, so they can be reordered without changing the id and invalidating solutions 2024-10-07 12:04:55 +02:00
90bc93fa02 add play/pause/stop buttons 2024-10-07 01:16:52 +02:00
0ca1b4ba54 show more output cells when space is available 2024-10-07 00:20:52 +02:00
098dc9517d cleanup 2024-10-07 00:08:06 +02:00
b13d7aaf6d culled board rendering, much better performance with enormous boards 2024-10-07 00:01:02 +02:00
ae226026dd highlight completed levels green 2024-10-06 23:44:29 +02:00
9bee7c0e10 cleanup 2024-10-06 23:37:21 +02:00
db7a2b2418 auto resize board when drawing out of bounds 2024-10-06 23:30:59 +02:00
f9b8dba019 implement level completion, score storing and a dismissable 'level complete' popup 2024-10-06 22:24:37 +02:00
4aa5ed9eec move program input edit box 2024-10-06 20:40:00 +02:00
08801367ba re-style text input 2024-10-06 20:39:46 +02:00
f30e42cb31 display level descriptions, increased font sizes in level selection 2024-10-06 20:12:02 +02:00
4a51369b18 load program input when opening a solution 2024-10-06 20:02:43 +02:00
146618cdc3 show expected and actual output 2024-10-06 19:51:09 +02:00
0c2d241745 solution saving and loading 2024-10-06 16:29:45 +02:00
c4381ac1a1 enter and exit solution editor 2024-10-06 16:00:12 +02:00
44b7d63cde edit solution names 2024-10-06 13:12:05 +02:00
ed5084d0fd initial level selection gui 2024-10-06 12:39:36 +02:00
66c9b10264 sketch future file structure 2024-10-06 00:57:24 +02:00
d332bd30f3 move editor/game logic to module 2024-10-06 00:26:36 +02:00
0738e658db cleanup, fix crashes for some board-edge interactions 2024-10-05 23:16:24 +02:00
682dff48f9 draw marble direction 2024-10-05 20:48:05 +02:00
fc6c66ff31 add digit tool 2024-10-05 20:22:18 +02:00
465b5c40d1 group wires into one tool option 2024-10-05 19:45:25 +02:00
ea02eff82b redraw sprites for arrows, mirrors and eraser 2024-10-05 19:21:41 +02:00
144a49e7c6 fix crash on digit tile 2024-10-05 19:05:58 +02:00
cf920d7a63 wrap texture hashmap in a struct for convenience 2024-10-05 17:53:23 +02:00
bf82d1455f add more tiles to gui, with controls to rotate between variants in a group 2024-10-05 17:46:45 +02:00
175d01cb03 fix sim input buffer 2024-10-05 15:57:20 +02:00
12a8544645 more tile buttons 2024-10-05 15:56:33 +02:00