Log In  

Cart #23755 | 2016-06-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

By @AshleyPringle

A fun, relaxing pet forest game made for lowrezjam, in the vein of a tamagotchi. Grow a dynamic little forest, see how long it can survive, experiment with the different algorithms, or burn it all to the ground! Whatever your heart desires.

Default resolution is 64x64, but I bent the lowrezjam rules a bit and included the option to change to 128x128. Change the "SCREENS" option to 2 :)

Button 1/Z - Settings menu/fast menu scrolling
Button 2/X - Probabilities menu/close menu

Arrow keys move the screen around or control the menu if it is open. Press left/right on a setting to decrease/increase its value. Hold Button1/Z while pressing left or right to make a setting increase/decrease faster.

Menu 1 has general settings, including the growth algorithms and the chances for trees to grow/burn next to each other.

Algorithm 1 uses the Von Neumann neighbourhood
Algorithm 2 uses the Moore neighbourhood
Algorithm 3 uses another neighbourhood I don't know the name of? Trees sprout at diagonals to each other
Algorithm 4-6 use the same neighbourhoods as 1-3 respectively, but will only sprout/burn if there is only ONE tree next to a cell.

Menu 2 has the probabilities for a cell to randomly change state, regardless of whether there is a tree in its neighbourhood.

Enjoy! :)

Updated with a bug fix to stop crashes during menu navigation Apr 25

Cart #19991 | 2016-04-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Cart #19659 | 2016-04-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

P#19660 2016-04-09 09:52 ( Edited 2016-06-27 18:33)

Whoa! This is great. Wish I'd seen this earlier—I did a far less ambitious implementation of the forest-fire cellular automata for p8jam: https://www.lexaloffle.com/bbs/?tid=3455

I like the implementation of the idea as a tamagotchi toy. Would be great if you could manually plant trees on cells, or perhaps buy "firewatch towers" to keep fires away from your trees. Maybe there could be an incentive to protect buildings, or wildlife, etc...

P#23034 2016-06-16 22:10 ( Edited 2016-06-17 02:17)

Thanks, glad you liked it!

Nice automata! I always like a good automata. Trasevol Dog is constantly making really nice automata.

I've thought about updating it a bit, maybe some day when I'm finished some other projects :)

P#23756 2016-06-27 14:33 ( Edited 2016-06-27 18:33)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 08:31:39 | 0.041s | Q:22