Cellular Automaton Template (Game Templates)

Discuss Scirra's 2D Asset Store

Post » Mon May 30, 2016 4:17 pm



Cellular Automaton Template — Now for sale in the Scirra Store!
https://www.scirra.com/store/royalty-free-game-templates/cellular-automaton-template-2338

Summary

Cellular automata (CA) are elegant 2D simulations that follow a very simple set of live/die rules. The best known example of one is Conway's Game of Life.

I could personally spend ages looking at the patterns that emerge when playing with this sort of thing which is a nice feature for any game that profits based on the length of time spent playing (Ads... *wink* *wink*).

Check out the demo below to see how hypnotic it can be.

Features:

This template was made as a stand-alone game, while also being a nice way to learn simple array manipulation it has been very carefully commented to make it clear what is happening where and why. By modifying *just two* conditions in this template you can change the behaviour drastically to generate:

  • Mazes
  • Grids
  • Pyramids
  • Total messes
  • Organic-looking growth
  • And many other interesting patterns

For a nice description of the theory (and some nifty lesser known CA examples) see this wiki page:

https://en.wikipedia.org/wiki/Cellular_automaton

The current version includes automated advancement, single-stepping, grid randomisation, variable play speeds, and more.

If you have any questions, comments, or suggestions, dont hesitate to contact me.



Use this topic to leave comments, ask questions and talk about Cellular Automaton Template
B
9
S
4
Posts: 1
Reputation: 776

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 4 guests