L
Lilvulpix
Guest
Hello again ladies and gentlemen.
The question;
Is it a good idea to have one script dedicated to a list of arrays? (A script that just has the arrays)
Or should I just use the interface to create a parent object for each base creature type?
Details;
I am working on a concept where you raise animals/monsters. The idea is that you click on a plot of land that the player owns and choose an animal/monster to raise in that spot. Now, these creatures will have stats that are used later in the game. After some reading I thought 2D Arrays were a good choice. However my experience and knowledge of GML is pretty low. I am not sure if I can just make one script dedicated to setting up the parent information for the various creature types, or if it needs to be created within a script that actually uses it. (Local vs global... I think? Local means within the script only correct?)
I am mostly using drag and drop, but trying to learn as much as I can about the GML along the way for ease of life later on.
Thank you, for reading this mess of text at least!
-Lilvulpix
The question;
Is it a good idea to have one script dedicated to a list of arrays? (A script that just has the arrays)
Or should I just use the interface to create a parent object for each base creature type?
Details;
I am working on a concept where you raise animals/monsters. The idea is that you click on a plot of land that the player owns and choose an animal/monster to raise in that spot. Now, these creatures will have stats that are used later in the game. After some reading I thought 2D Arrays were a good choice. However my experience and knowledge of GML is pretty low. I am not sure if I can just make one script dedicated to setting up the parent information for the various creature types, or if it needs to be created within a script that actually uses it. (Local vs global... I think? Local means within the script only correct?)
I am mostly using drag and drop, but trying to learn as much as I can about the GML along the way for ease of life later on.
Thank you, for reading this mess of text at least!
-Lilvulpix