Population Variables

This code snippet shows how you could count the population in your game.

An example of when clones are created is the ‘egg laying’ code snippet.

It works by initially setting the ‘offspring count’ variable to 0, and adding one every time a clone is created.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top