I've been thinking about this problem for some time now but couldn't come up with ANY decent solution.
Here is the problem.
You have your default battle engine using the typical battle scene with a bunch of enemy sprites drawn on the screen at the coordinates specified in troop editor.
Now, I have written several scripts that add new enemies into the battle dynamically.
They are instantiated with their x and y coords, and pushed into the troop list.
However, I've been using a very simple formula for deciding where to draw the enemy, and it just makes it look ugly and unrealistic. They might overlap each other, appear in places that don't really make sense (a slime in the sky, or in lava)
Can someone come up with a good way to introduce new sprites onto the screen while looking aesthetically acceptable?