Commit Graph

91 Commits

Author SHA1 Message Date
15bce3cb3a add grid idea 2024-06-11 19:47:01 +02:00
3cff41c991 fixed colors of standard theme 2024-06-11 19:43:30 +02:00
d66fb489fe using switch in input checks 2024-06-11 19:39:46 +02:00
927e47dc92 remove old debug prints, update TODO 2024-06-11 19:22:29 +02:00
f14f4ff21a removed unneeded code, fixed game exit from menu 2024-06-11 19:15:40 +02:00
b8496d0ae2 added grid comment to theme.go, since I always forget how grindlines work 2024-06-09 18:41:27 +02:00
1af3e9fc42 add clean target, fixed mix up colors 2024-06-09 18:33:09 +02:00
aa7999a01b add screenshots 2024-06-09 18:21:45 +02:00
3a743a65e5 fixed theme selection from menu, centralized theme def to 1 place 2024-06-09 18:00:06 +02:00
01cfaf3b78 +fix 2024-06-08 20:12:36 +02:00
7d717423c9 +previewtext 2024-06-08 20:12:10 +02:00
4f7cf4c419 initial options bug fixed
See
424f62327b

Thanks a lot for the fast support, amazing!
2024-06-08 20:06:02 +02:00
T.v.Dein
3c992a00c6 fix video 2024-06-08 19:56:20 +02:00
1ec84213a0 cleanup and added video to readme 2024-06-08 19:52:20 +02:00
a109838c4c calculating zoom factor based on cellsize 2024-06-08 16:29:09 +02:00
65a67f1bac removed invert option, added new standard theme (orange on grey) 2024-06-08 16:19:54 +02:00
5813f8fab8 added option to select theme, can be used also to select RLEs :) 2024-06-07 18:39:14 +02:00
0c44a7e266 more performance tests 2024-06-07 17:34:09 +02:00
81c4b976e2 added theme system, makes it easier to add more color schemes 2024-06-07 17:33:54 +02:00
4695338323 added key bindings help screen, reachable via menu 2024-06-06 19:55:16 +02:00
63f4aa839d hint about themes 2024-06-06 19:38:11 +02:00
1574e03085 put evolutioin drawing out of Draw(), handle history only if enabled 2024-06-06 19:36:51 +02:00
9fb2779c02 fixed canvas dragging speed, it's now relative to the world 2024-06-06 19:24:23 +02:00
9adc7ddbdc added explicit insert/draw mode, left mouse by default moves canvas 2024-06-06 19:13:07 +02:00
ab22e0f4e2 changed grid data type to bool, save mem and better perf 2024-06-06 18:58:31 +02:00
a5dbd69976 branchless experiments (failed and reverted, see commented code) 2024-06-05 23:51:55 +02:00
162d141b34 reorganized source, added test cases for tuning 2024-06-05 16:33:35 +02:00
T.v.Dein
50fab6e1a5 Update TODO.md 2024-06-05 08:28:52 +02:00
8e361a04bd added tuning hint 2024-06-04 19:27:55 +02:00
2febea3264 added info about patterns 2024-06-04 19:25:54 +02:00
c4a00dcee2 added wrap option to option popup 2024-06-04 18:50:29 +02:00
f877cf5cb0 fixed initial zoom for smaller grids, turned grid to 1px, fix generation count 2024-06-04 18:46:59 +02:00
126de458b1 normalized pattern file loading and saving, only one option for loading: -f 2024-06-04 14:09:40 +02:00
c1a9a0f2c4 switched to lif.105 format for state files 2024-06-04 13:49:06 +02:00
443b5a2bcf fixed exit function with q, added evolution trace to options fixed inverse 2024-06-03 18:38:18 +02:00
03e1101248 lots changes:
- renamed scene files
- fixed options back using scene.Prev
- fixed initial zooming (finally)
- fixed reset zoom (key r)
- fixed initial size, now works with state loading as well
2024-06-03 17:44:17 +02:00
6527dba219 more zoom/center fixes. RLEs now load centered and visible. 2024-06-02 20:15:23 +02:00
3785799f4e fixed centering of squares, but not rectangles yet. 2024-06-02 20:15:23 +02:00
47f3693f77 fixed drawing bug: cells outside default canvas were not deleted 2024-06-02 20:15:23 +02:00
cb87815e4f fixed grid lines 2024-06-02 20:15:23 +02:00
e536f91790 fixed initial cam pos, it's now always centered 2024-06-02 20:15:23 +02:00
689b7be08b fixed clear screen problem, menus are now shown correctly. lots new
bugs though
2024-06-02 20:15:23 +02:00
9f1bdfd2af another try, but fails as well + added todos 2024-06-01 00:33:40 +02:00
507ac18853 toggle directly in scene's Draw, but fails too 2024-06-01 00:02:26 +02:00
8e821cbdc5 further clear screen debugging 2024-05-31 21:20:13 +02:00
320c666af9 added workaround for clearscreen problem, fixed grid line option 2024-05-31 14:19:30 +02:00
73be8b93f4 +todos 2024-05-30 19:47:37 +02:00
538216ea4d implemented basic menu and options structure, most stuff works 2024-05-30 19:45:13 +02:00
7ed0c83fcd disabled clear screen, added start of menu structure 2024-05-30 12:32:58 +02:00
5fae7256d7 refactored grid management 2024-05-30 10:23:31 +02:00