ID:2275269
 
(See the best response by Cheesy pants.)
Code:


Problem description:

I'm try to make turn battle system like this from rpg maker.

But i have no idea how to do it... i mean i know but i have few questions.
Most complicated is player vs player battle. Updating hud's, musics and
1. Better is do battle scene on map or on client.screen?
2. Is possible to set one screen for many clients?
3. I forgot..


Add in your friend list this page: http://www.byond.com/developer
Best response
I'm no code guru, and im sure the first 5 opinions of someone who truly understands dm would be better, but if i had to tackle this problem I would:

1)Create the background for the battle on the map or look into instances and simply switch the client's view to a corresponding area when a battle begins.
2)I would recycle images from a global list, altering the icon when need be for effects or players/monsters sprites to populate the battle screen for clients only, this way i wouldn't ever have to worry about all battle bgs of a certain type being occupied.
3)..... :D

Idk if those are all shit ideas, but it's just what came to mind for me.