Commit graph

101 commits

Author SHA1 Message Date
6a11320b27 add copy/paste and erase selecton buttons 2024-12-08 13:05:29 +01:00
dc9411cf9d update todo list, print real time taken when level is completed 2024-12-08 12:10:14 +01:00
78027aaaa0 fix update order dependent behavior of wires when flipped 2024-12-07 23:19:32 +01:00
42a355d387 use i16 for coordinates instead of isize, yielding better cache locality etc 2024-12-07 20:49:23 +01:00
28213da9f3 keep track of maximum average step time 2024-12-07 20:46:06 +01:00
1d001be403 measure step time over an entire frame 2024-12-07 20:37:33 +01:00
e6d8c1246f remove a vec allocation from simulation step 2024-12-07 20:22:52 +01:00
e0d0a297b9 reduce simulation steps in a frame if time exceeds 30fps, to avoid freezing the application 2024-12-07 19:52:28 +01:00
c1094980a6 increase max speed and step counter digits, show microseconds per step, massive simulation optimisation for large worlds (5-100x faster) 2024-12-07 16:19:59 +01:00
140a462add refactor, show red x when using eraser tool to distinguish from selection tool 2024-12-06 13:01:13 +01:00
36b1b8672b support using strings directly as level input and output data 2024-12-05 14:23:21 +01:00
ef01de9dae fix level 2024-10-17 23:29:25 +02:00
81b1adfa6f add some ascii levels 2024-10-13 17:00:59 +02:00
7d3b455fcd makefile with linux release 2024-10-13 13:34:33 +02:00
79fe26414b show version in corner of level list 2024-10-13 13:34:08 +02:00
15f6cc70d4 save solutions when renamed, fix solution filenames 2024-10-13 13:01:54 +02:00
866a4c7127 theme overhaul 2024-10-13 12:45:58 +02:00
2720735a58 add button to clone solutions 2024-10-13 01:24:00 +02:00
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
23ac416c7e make sim handle speeds faster than framerate and change speed slider from 1-32 linear to 1-512 powers of two 2024-10-12 19:24:33 +02:00
dd63851606 fix tiles being unable to get powered from multiple directions at once 2024-10-12 19:00:02 +02:00
e88f945e8f make blueprint id a number instead of string 2024-10-11 23:38:35 +02:00
52288bdf6c fix blueprint id generation overwriting old blueprints if any were removed before 2024-10-11 21:22:56 +02:00
ce90a22ea0 basic scrolling in blueprint list 2024-10-10 21:56:36 +02:00
e42e14489d basic scrolling in level list 2024-10-10 21:36:03 +02:00
b5b77b89f9 reorder list levels because list length is more complex than i thought 2024-10-10 21:28:55 +02:00
67557832fa add more levels and organise them into sections 2024-10-10 20:51:19 +02:00
172cfc9409 new icon for removing blueprints 2024-10-10 20:50:33 +02:00
6365af0111 update file description in readme, add level plan 2024-10-10 17:48:27 +02:00
d92c5a2c25 trim blueprints before saving 2024-10-10 17:21:18 +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
3e4eb21e5e fix zooming causing sub-pixel offset, leading to rendering artifacts 2024-10-08 22:27:52 +02:00
4c4563c326 limit length of solution names 2024-10-08 22:24:41 +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
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