• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML Creating Object Based on String

M

Meowanator

Guest
I am trying to make it so the game makes objects based on the string. I want to have the object load like:
obj_(string) where I have obj_00, obj_01, etc.

I am using Game Maker Studio 1.4
 
J

JFitch

Guest
Use an array.
Code:
obj[0]=obj_00;
obj[1]=obj_01;
obj[2]=obj_02;
...
 
Top