Random Battle Arena in Developer Help
|
|
What's really the best way to do a random battle arena? I've seen a demo, but I really didn't like their solution. (Mapping a few arenas and then checking if they're occupied or not when a battle starts) Is this really how most major RPGs on BYOND do it? Anyways, each arena would be the same size. If anyones wondering, I'm messing around with a Mega Man Battle Network game. (I'm not impressed by the ones currently on BYOND)
If I had to pick a way to dynamically generate them right now, I'd probably create a blank 50x50 z layer on the map, and then I'd just create and delete them dynamically as need be. (if it's a 6x3 arena, 50x50 would approximately give 80-90 stations)
Anyways, I'm just looking for input, any ideas would be appreciated.
|
1) Using a library such as LummoxJR's SwapMaps to create (and destroy) areas as they are needed.
2) Using a single area and utilizing image objects to only display what's needed to the right people.
#1 is probably easier, because for #2 you need to start filtering out a bunch of junk mobs who are part of a different battle (IE: you'll get them in view(), but you don't want to affect them).