Commit graph

45 commits

Author SHA1 Message Date
1ce5291777 make math tiles read digits 2024-10-13 00:57:58 +02:00
44017f4ed5 scroll on tools to rotate between variants 2024-10-13 00:55:28 +02:00
ed956ffbe4 cleanup 2024-10-12 23:27:28 +02:00
27ff77f133 prettify marble direction and value rendering 2024-10-12 20:53:47 +02:00
51f14014c5 trim board size to same margin as when expanding 2024-10-10 17:20:07 +02:00
dee52fa2fd grow board margins when placing near but inside the edge 2024-10-10 17:17:32 +02:00
bc4cd5ccc9 move pos to module 2024-10-10 17:09:41 +02:00
e22f568d2f implement blueprint creation, placement, saving and loading 2024-10-10 16:58:50 +02:00
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
355a5af15e refactor board resizing in negative directions, fixing broken execution in negative zones 2024-10-07 20:01:00 +02:00
040b3d3779 show solution id under name 2024-10-07 18:43:24 +02:00
4c976ab8e2 fix marbles not working in negative quadrants 2024-10-07 17:57:07 +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
038bf365c4 show step count 2024-10-07 13:16:26 +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
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
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
c4381ac1a1 enter and exit solution editor 2024-10-06 16:00:12 +02:00
ed5084d0fd initial level selection gui 2024-10-06 12:39:36 +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
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
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
12a8544645 more tile buttons 2024-10-05 15:56:33 +02:00
a0f11b60fb basic tile drawing 2024-10-05 15:34:58 +02:00
5a23dde43a clean up tile rendering 2024-10-05 15:18:41 +02:00
86548a8b0d add digit sprites, remove comment tiles 2024-10-05 15:01:06 +02:00
636e9d04e2 cleanup 2024-10-04 22:36:09 +02:00
880993762e refactor, add simulation controls and board resetting 2024-10-04 22:10:00 +02:00
af31531869 gui experiments, add zooming 2024-10-04 21:20:53 +02:00
de09b785d0 add mirror and marble sprites 2024-10-04 10:00:07 +02:00
d4f9be5bff add sprites for most tiles 2024-10-04 01:21:52 +02:00
12bd19a7f3 make all powerable tiles also store a powered state that can be rendered 2024-10-03 23:34:16 +02:00
bf46a3e7c3 init 2024-10-03 22:59:49 +02:00