- Home /
Question by
Rebel8909 · Aug 18, 2016 at 08:03 AM ·
javascriptinstantiatelist
Spawning a list of objects with XML?
So I'm building a game for an old teacher to use as sort of teaching tool for one of his lessons. I've got most of the game down and ready to go with a few minor quality of life tweaks I'll be finishing up. However one thing I can't seem to get is spawning a list of objects as a set of requirements are met.
So how I think it'd work would be like this :
if(conditionMet){
spawn(thingfromlist.xml);
}
I imagine it's possible but I can't seem to find anything after about half an hour searching around. Any help would be greatly appreciated!
Comment