Commit Graph

60 Commits

Author SHA1 Message Date
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
1ec4b9e257 refactored grid stuff, fixed font size calculation 2024-05-30 10:11:44 +02:00
56880014eb +tags support 2024-05-30 10:11:23 +02:00
dc966a8ddd tracks => traces 2024-05-30 10:11:01 +02:00
b8d6216feb added d key to toggle debugging 2024-05-28 13:39:02 +02:00
106ff1970a use etxt for debug printing 2024-05-28 13:37:32 +02:00
80ef96ceb7 prepare using ebitenui and shader, adding assets and assetloaders 2024-05-28 13:09:29 +02:00
99833745e6 fixed gmae speed control and mouse wheel handling, fasten zooming 2024-05-28 13:09:29 +02:00
8cb5585456 added caching for much better performance 2024-05-28 00:09:07 +02:00
ba247d0606 fix crash 2024-05-27 14:04:40 +02:00
aeebfb1997 add profiling support and window geom options to force geometry 2024-05-27 13:39:38 +02:00
4b38bea5db completed save rect to RLE file feature 2024-05-26 20:26:13 +02:00
cb3e8b3c4c little refactor 2024-05-26 13:08:36 +02:00
bf109d7e8b added mark+point mode marking rectangle 2024-05-26 13:04:18 +02:00
b0e3ff8d36 print version from main 2024-05-26 12:33:16 +02:00
2c246e9e4a refactored everything, now using scenes, that way I can add UI stuff 2024-05-26 12:29:43 +02:00
c8d1faf476 made wrap mode switchable, new default: off 2024-05-26 11:17:03 +02:00
9b117d3a90 prepared copy mode 2024-05-24 20:27:08 +02:00
757b48232f added reset 2024-05-24 17:53:38 +02:00
743a18c696 fixed 2024-05-24 17:18:59 +02:00
92f2236eb2 add rel maker 2024-05-24 17:14:23 +02:00
a72ecf06e0 fixed crash when painting outside canvas, refactor 2024-05-24 17:08:46 +02:00
b562139787 tidy 2024-05-24 14:05:14 +02:00
b6b14b30cc fix-logo 2024-05-23 18:33:51 +02:00
a1814ecd24 shrinking logo 2024-05-23 18:31:47 +02:00
2f90eea2f8 Merge branch 'main' of github.com:TLINDEN/gameoflife 2024-05-23 18:28:26 +02:00
19e45c9f60 renamed, added logo 2024-05-23 18:25:02 +02:00
62c38be1df using int64 for grid 2024-05-23 17:07:21 +02:00
8241cf83f2 enhanced doc, fixed drawing when zooming or moving canvas 2024-05-23 15:23:06 +02:00
ab51a27b4c added+fixed game state loader, using NewGrid() to allocate new grids 2024-05-23 15:04:08 +02:00
1001210d54 refactored and added game save function (key: s) 2024-05-23 14:27:42 +02:00
T.v.Dein
a077194020 Add YT links 2024-05-22 21:39:33 +02:00