i am currently defining the variables for a game i’m making. there is a Life class that i use to define various types of life, from each of which tons of life forms can be generated.
for example, the Plant object uses the Life class as a template to generate different forms of plants. I’m using a class template for various features of the game so that later, i can make the game moddable with a text file.
so with the object i’m containing the various types of life, i believe i made a mistake. i can’t find out what’s wrong with it, but every line of code before the object works, and every line after does not. safari IOS does not support Glitch’s debugger, and when i pasted the code into an online IDE, it said that the Life object did not exist.
i am losing my mind over this, someone help me find out what’s wrong so i can actually start *making * the game. i have pretty much every detail planned and pseudocoded, and this is the one thing holding me back.
(both those links lead to the game)