@Tai_MT First of all thanks so much for explaining your thoughts in more depth, and for the thoughts on how my aggro/chase VE system might succeed or fail. These are some very important questions for me to keep in mind as I continue to flesh out its implementation.
No problem. I just always seem to have questions when someone explains how something works. I get this visual in my brain of how it works when explained to me, and then I start running scenarios in my head on how it could work in an actual situation as well as potential ways to exploit it.
What I read sounded really cool and interesting, but I was wondering how it played with map design, because I could see the AI either getting very complex or the maps needing to be very simple. If the AI was complex, I wondered how that would affect map design as it'd need to be carefully thought out and somewhat intricate. But, if the AI was simple and so the map design itself had to be simple, I wondered how any of the cool features you had been talking about would work. Namely, would they even get a proper chance to shine and reach their full potential?
One thing I do want to address right off the bat is that while the original How Badly was a VX Ace game, I'm creating the remake on GMS2. Ultimately I decided I needed more "help" from my middleware with the action elements than the RPG elements for this particular game, so after trying out both platforms I moved ahead with development on the more action-friendly platform and built the RPG mechanics up from scratch.
So while concerns about things like Tile-Based Movement, and Tile Size vs. Map View Size, are certainly relevant to anyone reading this topic, I just want to say that I've personally got them covered - rooms are large, obstacles are large, and the player will be able to see a screen area that's larger than one full room at a time. Characters and VEs aren't confined to grids or tiles in my system; they can move in pixels and curves.
Got it.
😀 I'll try to keep that in mind going forward.
Very interesting and realistic thoughts. I've only just begun to implement the mechanics of each movement mode's mechanics (the first step was to implement the changes between modes, e.g. wandering -> chasing -> wandering). Currently, what I have the VEs do is wander in a direction for a few seconds, turn, then wander in another direction for a few seconds. Once they turn, you'll know where they're moving for a few seconds, and you can act on it.
Okay, quick question. Do you have programming involved that keeps them from choosing the direction of say... an obstacle and walking into it for several seconds?
It could be fairly exploitable if not. Or, a VE may end up in a "corner" where they have a 50% chance of choosing a direction that is "walk into a wall", which gives the player a lot more extra time to evade the encounter, which could affect any projected difficulty you have in evading an encounter (I have no idea how easy or how difficult you'd like it to be for players to simply bypass your enemies, I'm using the assumption that combat takes a lot of time in a timed dungeon, and evading as much combat as possible ensures better rewards if you finish the dungeon quickly).
Perhaps more importantly, what I'm planning to do with the randomized maps is to generate them using large objects, so that it feels like one continuous space rather than a series of rooms and corridors. One thing I've noticed with some games that use randomized dungeons is that the player often loses a lot of agency when a lot of things end up together in a tight corridor. I want to mostly avoid that, allowing players a lot of breathing room to run around most VEs. The tricky part will be when there are several VEs in the same place, and you have to figure out more careful, clever paths through them if you want to avoid fighting.
I think a good map for VE's is usually a mixture of both kinds. Some spots where it's cluttered, some spots where it's open, and sometimes they mesh well together, sometimes they create an interesting problem, or sometimes you know you just aren't going to evade anything due to the map layout.
But, I enjoy a bit of variety. Not every room needs some choke points. Not every room needs a lot of dodging room to evade an encounter. Sometimes, you just need to mix various levels of clutter and open space together. All you really need to maintain is likely a rule about "multiple paths" through a space. Not just one route, but probably at least two. It gives the player a little bit of flexibility and makes them feel like they have some agency, even if you decide that this particular section, they've gotta fight at least a couple encounters before you let them go (like say, Route A has two encounters, a Wolf and a Bat, but Route B has three encounters, two of which are super weak slimes and the third is a strong Bandit. Both directions could add up to the same amount of time spent or the same amount of XP and Loot, but the player feels like they've got a choice in the matter).
(Also worth noting is that, ultimately, I want players to find themselves in at least a few battles per floor of the dungeon, even if they are trying to avoid combat! The slow drain of hard-to-renew resources is part of what makes these dungeon runs engaging, and since defeat in combat is merely the loss of an in-game day rather than a Game Over, I can worry less about players being forced into battles while they're low. The VE system is more about being a fair skill element than it is about being a clear "fight or don't fight" choice to the player.)
To my mind, I've been just approaching it from two angles. The first is, "I need to get to the end by using as little amount of time as possible, so evading as many encounters is preferable to engaging in a lot of combat". The second is, "I want to fight some enemies, but I want to set up the fight on my terms, so how could I manipulate the VE's to reliably produce favorable conditions?".
I don't typically worry about players needing to run away from combat. But, I suppose some of this could translate to just needing to run away due to being unprepared and near death.
My overall questions have been geared more towards that first aspect. You've got a timer (presumably to give the running function a purpose as well as to reward players who actually do evade combat), so I've been trying to think up ways to finish as quickly as possible. How many encounters could I evade reliably? What's the terrain like? Could I use to help me out? What are the rules of the map objects?
I figure there's probably some places where I just would not be able to evade combat and it would eat into the timer. But, I was looking at it from the perspective of how to fight as few as possible to gain the best reward possible for making it to the end in time. Could I nail an enemy through a wall that might be a future issue and then get out of range quickly while they're stunned and never even need to "sneak by" them? Could I aggro a bunch, get 'em in a line or similar, and hit 'em with a stun that would give me time to evade them and reach the next part of the map?
Things like that is what I was thinking of. How to use the tools you've given the player, as well as the programming of the AI and the design of the maps, to cut that time to as little as possible.
Right now, I don't include things like "cover objects", and yes, aggro radius can go through walls. However, it wouldn't be hard to implement a check to see whether certain "tall objects" were in the way of a VE's Line of Sight - it would just mean a small hit to framerate and performance.
I remember playing Recettear (one of my favorite games) and feeling like even though it was weird you could aggro and shoot monsters through most walls, it still felt pretty good. So my instinct is that I don't need to make things too complex or physically accurate. I could change this pretty easily. What's your position on this - do you feel things like cover objects are necessary for a good VE system, or was it more of an example of one out of many features that could be included to "flesh it out" into a fun, interactive system?
I just asked in case you had some kind of "stealth" element in the game. If a player wanted to be stealthy, they could use an object or something to block line of sight and perhaps create an opening for a "surprise attack" or something.
Mostly, just spitballing. Trying to figure out how the map interplays with the VE's and how I could possibly interact with it to gain an advantage.
I mean, cover could be a good feature, but I just have no idea what your map design is actually like, so I just started thinking of possible uses of map clutter.
I don't know if it would necessarily flesh it out or make it fun and interactive, but I think making the map clutter and map objects do more than simply block movement certainly wouldn't be unappreciated.
Obstacles with long tails or sharp concave curves seem to create choke points that player can intentionally get VEs stuck in if they're trying to escape. Of course, once the player moves far from that point, they will revert to a "wander" pattern that may get them out of the choke point. The best tactic is usually to try to outrun them but I've had some success snagging the VEs on walls. Feels like a good balance to me, but what do you think? I haven't designed the real obstacles for the dungeons (just placeholder shapes), so I'll keep this front-of-mind when designing the real things.
I'm a little torn. I like that VE's can be snagged on objects in most games so you can use that to "evade" or "run away" or what-have-you. But, at the same time, it feels really cheap to me. Feels a little like I'm cheating. But, if you've got a good balance, then it might kind of fun that there's no reliable way to get your VE's stuck on geometry, but you could still attempt to do it and occasionally be rewarded for doing so.
I'm not sure how other players might feel about it (whether they'd savescum a lot until the AI finally did get stuck), but I think I'd like it. AI is smart enough to evade obstacles, but still sometimes gets stuck and I get a reprieve.
The maximum speed for enemies is slightly faster than the player's speed, and that will only happen when you have something like 6 or 7 VEs all chasing you. If you are trying to avoid combat (not all players will or should - winning battles comes with real benefits), the idea is that if you aggro one, you've either screwed up a bit or willingly accepted a risk (running past it to save time against the floor's time limit), so now your job is a bit harder because a VE is chasing you while you move. You can still outrun it and keep moving on if you route well. Not that hard. If you aggro two, now they're moving a little faster, as a slight penalty for screwing up again (or a counterbalance against another accepted risk). Now it's more challenging. And so on, until after aggroing several VEs without getting away, the battle becomes nearly inevitable unless you pull a great move like lining them all up and stunning them with an Energy Beam ability.
It's good to know that there's a lot of leeway in there. Each mistake means the player must think faster and faster, until... well... combat is a forgone conclusion. Seems pretty reasonable to me.
What's the radius of enemies dragged into fights? Will it drag all 7 into a fight? Could it potentially drag more than 7 into a fight, if new enemies are close enough when you are caught? What about using an "escape" command?
I guess, what I'm asking is: Could I gather up 7 encounters, they all bunch up together on the combat screen, and then I hit "Escape" and they go invisible for a bit to let me get away from their touch? I know many VE's will give the player some "temporary immunity" after escaping from a VE in order to give a little "leeway" to the player, so I wonder if you have that same feature and if I could exploit it in a way that would render your VE's somewhat pointless?
Just sort of curious how that all works.
I was thinking if the encounters didn't disappear, I could just drag everything with me through the whole dungeon, let it tag me, escape from it, then get a few seconds to essentially run away before needing to do it again. It would certainly make clearing the floors much faster than engaging in combat, as well as getting to the end of the dungeon in a good amount of time.
Do you feel that it's impossible (or nearly impossible) to do this well with randomized dungeons, then?
It sort of depends. Without knowing the "ruleset" you'd use to place random objects/terrain down in a given area, it's hard to tell whether the map design would land on the good or bad end of the spectrum.
By and large, I think randomizing dungeons would work very well for keeping the encounter system fresh as well as making it feel like the dungeon is more "naturally" created. However, there's a whole new slew of pitfalls to worry about depending on how this is done.
The major ones I can think of would be:
1. Familiar room shapes. This can get old to a player quickly. The minute the player can tell where the "edges" of each randomly spawned section occur, the player is always aware of it. It drops their experience when they know where each "section" begins and that they will inevitably see pieces of that "section" again in slightly different configurations.
2. Accidently creating layouts that just don't mesh together well. For example, a waterfall on one section, into a river in another section, and then a cave in that blocks the river, then the river continues at the same size on the other side of the blockage with zero overflow of the water. It... tends to look strange. I'm not sure a lot of players would care about this particular example, but I'm sure there are others that would break immersion worse you might be able to think of.
3. Accidently creating "unwinnable" dungeons due to the randomized layout. This is usually the first thing anyone using a random dungeon generator tests for, but it's still a valid concern. Especially if you are doing things like collecting keys to unlock doors or solving puzzles. The remake of "Link's Awakening" lets you create dungeons of your own from selected tiles and it does a rudimentary check to see if every room is accessible, but it does not check to see if your dungeon can actually be completed. It is possible to create a dungeon with a lot of locks and not enough access to the keys needed to open them.
4. VE's spawning in unfavorable positions that spike difficulty too far in either direction.
Basically, I could see each section of the random dungeon looking and feeling more natural. However, depending on how the edges are placed together for the randomized parts... You may have some issues that destroy that illusion and make the game feel more like a puzzle of some sort.
-------
I hope that helps a bit more.
I've probably spent too much time thinking about VE's, how they work, how they can be improved, neat features to add to them, and such for how little I actually enjoy them. I guess I'm a strange sort of character.