Some updates for ranges. This video basically summarizes a lot of it
▶ YouTube video
1. I implemented skill ranges for multi-grid system. In the earliest version (public test #2), I only had support for one grid.
Now you're able to apply skill ranges even if your game uses multiple grids.
This could be useful for example if you had a battle system where each battler could only attack the person in the same row or column, so they had to move left or right in order to attack other rows/columns.
Here are some pictures of how they look, in a one-grid, two-grid, and three-grid config.
The range search basically just spreads out from your current position and looks for all tiles that are "within range"
2. I added support for range shapes. I basically re-used the area of effect shapes that I had already set up for my AOE, and applied them to range.
With range shapes, you can now control which tiles are selectable for a skill. For example, maybe you can only move horizontally/vertically, or perhaps you can only move diagonally.
▶ Post on X (Twitter)
3. I'm still adding support for range covers. The very basics is done (like you can't walk through a tree), but there are some other types of mechanics that I would like to implement but haven't managed to do so, such as being able to "jump over" a tree.
Or in the context of checkers, allow you to jump over an enemy and attack them while doing so.
Another thing you can do with range covers is to prevent actors from targeting units behind them. So for example, we have five bats, some of them are in front of other bats. My attack has a range of 99, but despite being able to hit every tile on the grid, I can't hit any of the bats that are being "covered" by a bat in front. The blue tiles shows the tiles I can select, the red tiles shows the enemies I can target, and the unhighlighted tiles are basically unselectable.
4. Someone brought up the issue of area of effect skills hitting one target at a time and it's kind of annoying, so I wrote a small plugin to let you choose to "play all animations at once" or just do the usual one-by-one. You can control it for each skill/item basically.
▶ YouTube video
5. I needed something to make it easier to test AI, so I built an auto testplay tool that plays the game for me and sends me data on what's happening in the game. This is mostly for faster debugging but if anyone's interested we could probably start a new topic about it.
▶ YouTube video
6. I've also fixed various bugs that were reported since the release. I haven't updated them because there were tons of changes to my code so I figured might as well wait until it's in a more stable form.
So a basic summary of what I have built so far. You can
- create a grid, or multiple grids
- choose the tile size
- choose how many rows/columns you want, for each grid
- choose the highlight colors
- place actors/enemies on each grid
- apply area of effect to skills
And new stuff that will be available for early access testers
- create skills to move battlers around the grid. This can be used for movement, pushing, pulling, etc.
- add states to each tile
- grid-based target selection, with support for multiple grids
- perform each action immediately when you select them
- perform multiple actions per turn, such as moving and then attacking
- choose to play multi-target animations simultaneously instead of one by one, for each skill
- adding ranges to skills
- controlling the shape of each skill