Hey there,
I am currently working on an RPG and I am using predetermined spawn points to spawn enemies. As seen here.
Now this works just fine, but only for one monster.
I have created a Monster Array and loaded five monsters into said array. I need a way to randomly select from a set range of levels. So if its a "newb map", only level 1 to level 4 monsters will spawn there. I saved the monsters level to (x, 1). I also want to be able to set the monsters current frame to the current X. I am using static images for my monsters, not animations.
I tried a for each X element but that doesn't seem to work. This image is what I had working in my previous project, but I can't seem to transfer the logic over.
Any help would be greatly appreciated.
Thank you,
Stephen