(NEW) Turn Based Game
Let's create a turn based game, this time we're going to utilize tools and a lot of tricks to make our life easier on creating this game.
We're also going to cover topics such as Action Points & Xcom style, pathfinding (with 3d movement), multiplayer and later on AI.
This series is entirely from scratch, so you don't need to have follow any of my other turn based series prior to this.
Course contains 26 lessons.
Let's see how we can effortlessly create a grid on top of an already existing level
Let's detect where obstacles sit on our level
Let's add floors in our level
Let's make our nodes have different world positions while not violating the grid
Let's build the template for managing turns and phases
Data containers for players, both human and not
Let's create a new simplistic finite state machine for this game
Let's create variables that can be used withour relying onto references
Let's create our A* Pathfinder for our game
Quick fix for where we left off our pathfinder on the last video
Let's create a few interfaces for interacting with objects in our scene.
Let's move our units on to our path
Let's make a few tweaks into our grid that will fit our level better
Let's see some examples of more advanced pathfinding
Let's add locomotion animations to our units
Let's integrate the inventory framework and SO library to make our lifes easier down the line
Let's create the setup for our characters and their action points.
Let's limit our path based on our action points
Let's visualize the nodes we can actually walk to
Let's create the setup for high level action management (for players)
Let's see the Template Design Pattern and how it can help us in this type of game
Following with our actions template, let's see the example for the attack action
Let's create a framework for context heavy node abilities, for example jumping down, climbing up and knocking out an opponent
Let's create a manager to visualize the node abilities and an interface for our player to actually do them.
For the UI buttons to actually follow the world position, DO THIS:
//rect is the rectangleTransform, not the normal transform!
Vector2 pos = RectTransformUtility.WorldToScreenPoint(camera, targetPosition);
rect.position = pos;
Let's start building our UI
Let's do a bit of a clean up and fix a few sticking interface bugs