Let's say you're using visual encounters instead of random encounters, and you DO have sprites for every enemy type in your game. But the problem is: an encounter is not just one enemy; it's a mix of enemies.
It would be easier if each encounter had a "leader' or a dominant enemy type, but often encounters are just like 3 slimes + 3 bats, or 2 slimes + 2 bats + 2 goblins.
So, it's unclear what sprite to use the visual encounter. What are some ideas or ways you would consider for solving this design problem/dilemma?
What I'm doing is using rolling balls on map for visual... and having a pop-up text desctiption of the unit/encounter when player gets close. A troop might be called "Temple Guards", but contain an Acolyte, Ravager, and a Warslime. Using rolling spheres keeps the player from knowing what the troop is from a distance. Direction face can only be guessed from movement when you dont give it a visible detection cone.
It might be possible to get fancy and use generic or invisible troops that get named and swiched to animated creature image when player gets close... by triggering a new encounter at same coordinates.
Evented a massive pools of enemies that consists of about 50 tiers. A variable is used to determine encounter strength.
If it's one enemy, that one enemy gets 100% of that variable.
If it's two enemies, they both get about 60% of that variable.
And if it's 3 enemies, the middle enemy gets 50%, while the 2 side enemies get 40%.
Support type enemies are never used in the middle.
System only requires 3 troops.
edit: Read your question wrong. Simplest way is to just create a unique troop for each graphic.
Now, if you want the leader to always reflect the sprite that's walking around, while also not using an extreme amount of troops, then do an alternate version of the system above. One where the amount of enemies is always fixed, and the strongest enemy is always the sprite walking around.
I mostly used 1 or 2 sprites per dungeon, and I think as long as it fits the theme of the dungeon, I don't think you need every sprite for every single enemy you have in the game.
So for my Arcane Realm Section, there are like 4 different enemies, but it uses 1 sprite.
My big main has visual encounters. The way I handle it is this..
I don't have matching charsets for every enemy. So the enemy you see on map is usually the bigger threat. In the encounter, there will be some smaller (and occasionally larger) enemies sprinkled in that kinda make sense for the environment and type of monsters in the area. That being said, I will still add other enemies for strategic reasons as well.
I do not really have a leveling system in this project. It is not required to fight all the fights. Most can be skipped. However, skills, items, and loot are pretty much only gained through battles, so it's very beneficial to engage in those fights.
For example:
If I have a troop of slimes, bees, and a fairy.. The slime would be the on-map visual. Even though I have chars for bees and fairies.
If I have a troop of just bees and fairies.. the bees would be the on-map visual. Since they are the biggest threat or more present in the troop.
If I have a troop that has a giant bear and a couple snakes, but do not have a matching giant bear char, then the on-map visual will be the snake.. and in the troops set up, it would be like.. 3 snakes in a the "front" and the giant bear in the "back".
I try to make it make as close to logical sense and video game sense to me as much as I can.
Certain circumstances will call for a generic "filler" on-map visual, even if I already have a matching char for the battler if it makes story/environment sense. Like in a haunted forest I may have a little floaty orby thing as the on-map, but the troop is all ghostly monsters and the player wouldn't really know what to expect while traversing the map.
Lastly, on rare maps, I don't have on-map encounters at all. It's either random encounters or an invisible on-map monster. Typically, this is reserved for lore reasons such as a surprise attack.. or a sandy desert when the player characters "can't see", but also for very minor enemies like bugs or imps.
Hope this helps! 🙂
-MIA
EDIT: I forgot to add one last scenario in which the on-map visuals don't make sense, but are for game-play reasons. This example would be flying enemies. I may use a flying enemy such as bats in caves, woods, etc., as the on-map because I need them to have mobility to cover different areas.. and the troop encounter would be bats + some grounded enemies too. Simply because if I reversed it, then the on-map visual would be "grounded" and limited in where they can go in the area on the map. 🙂
The field graphic should represent the most frequent type of enemy in the encounter. The World Ends with You does something similar.
I think either "strongest enemy" or "most frequent enemy" are both valid options. In my current game I went with "strongest enemy" – so for example if it's an encounter with 1 demon and 3 imps, the on-map icon is the demon, not the imp.
Though I'm not certain that I kept that perfectly consistent throughout the game. There's at least one case which might be debatable (2 imps and 1 elemental of some element – the icon is the imp, but the elemental is likely stronger).