A few months ago i implemented my first battle grid in 2D topdown.
Now i want to change some things but cant seem to figure out some things.
1: When creating a Battle Grid
, it does not show properly in scene view, this meaning that for some reason all the gameobjects (with sprites on them) are rotated -90 on the x axis. Since i use sprites to render the objects, they are invisible unless i change it back to 0 for each Battle Grid Cell Component
Is there a way to make the generate grid button not put a rotation of -90 on the x axis?
2: In the past i made it so the player got to choose the party placement using the Player Grid Placement
node in my start battle event. I would like to automatically place the players party, and enemies, on the grid based on their current position. I thought the Place On Grid
node would be good here, but i dont think i use it correctly, as the combatants do get spawned but they do not seem to be "on the grid" since they can not move etc. The player also does not get placed on the nearest cell, but more like the center of the battle grid.
You can see the event here: https://imgur.com/a/oKkI0jU
Any idea what i might do wrong? Is this the correct way of doing this? Or is there a simpler way to put certain characters/gameobjects that are defined in a Battle
in the scene in a grid battle?
3: A small followup on the previous question, it is possible for the player group to be destroyed (and spawned again after the battle). How would i handle this best for characters that are already in the scene and not in the party group? I tried the Destroy Object
node with Actor set to Enemy Group, but it didnt seem to do anything.
I know this is a big post, sorry for that
thanks in advance, as always!