Returning to ORK Framework, but this time, in glorious 2D!
Trying to figure out some oddities that I'm certain are gaps in my understanding.
I'm using Unity Tilemaps, so I have a Grid object and then 2 tilemaps within, One is called Ground and the other called Obstructions. My custom Player Controller checks for Obstructions and doesn't let you move through them.
I'm trying to set it up so I have a field map where enemies spawn and move towards the player, and then there's towns you can walk into.
1) How do I spawn enemies on the map that will trigger a battle on a different map when you collide with them? I tried a Combatant Spawner, but this only sometimes spawns an enemy prefab, and the battle triggers well outside the 1 tile range of the enemy.
2) How do I setup my battles to that you can move and then attack on touch? For example, you have 4 action points, each move costs 1 AP, but attacking costs all of your AP?
3) How can I make it so you can walk into an NPC and trigger dialogue without having to press an interaction button?
I can share my project if needed, it only consists of what I've described here. I tried to follow the 3d "How to" tutorial but I have a feeling some of that does not translate to 2d.
Once I get these fundamentals down I think I'll be off and running. If you've ever played either Ultima 5 or Exile: Escape from the Pit, you'll have an idea of what I'm trying to put together here.
Thanks for reading.