I'm having trouble getting enemies to spawn where I want them to.
I do want them to spawn randomly, but I wanted it to be random on top of a certain other sprites I am using as a clear floor tile, or anywhere there isn't a solid tile like a tree or stone.
I tried this way, logically speaking:
On instance of SpriteFloorTile >>> pick a random number from 0, 6
if that random number = 3 >>> Create Monster on THAT SPECIFIC INSTANCE of SpriteFloorTile
and I've also tried spawning them randomly via the every x seconds thing, but I really want there to be a set number of enemies per level (ex: 10 for this one).
Pic and cap below, the white boxes are my enemies for now :3
<img src="http://dl.dropbox.com/u/93047429/test.png" border="0">
My whole layout seems to be inset by about 32 pixels. That's where the black bars are around the edges of the layout. Any ideas what this could be or how to fix it?