Re: Prog8 library for frame-based applications (read: games/demos)
Posted: Sat May 04, 2024 2:43 am
Thanks. I like the idea of the aardvark, I might use that. I did think about leaving a dead ant on the screen in another color for a few frames, and that might be a fun extension too. I was also thinking that I could make new ants orange until their first move, to highlight them when they pop up. My son has also correctly pointed out that I shouldn't let two ants occupy the same space or spawn on top of each other. Maybe I'll make him fork the repo and implement that feature.
Or I could show the mouse, and let the user click on an ant to squash it. Or let the user interactively adjust parameters like spawn rates and movement speeds...
But I actually wrote the framer to help me port a game, so I should probably do that and come back to the ants after a while. The game will also be open source. (It already is, but in its current form it's a faithful port of a 40-year old BASIC game that fits on an unexpanded VIC-20: https://github.com/djehuti/monsternest/.)
Or I could show the mouse, and let the user click on an ant to squash it. Or let the user interactively adjust parameters like spawn rates and movement speeds...
But I actually wrote the framer to help me port a game, so I should probably do that and come back to the ants after a while. The game will also be open source. (It already is, but in its current form it's a faithful port of a 40-year old BASIC game that fits on an unexpanded VIC-20: https://github.com/djehuti/monsternest/.)