I hope to add two new things to the Unit Movement phase: 1.) Add a GUI and 2.) Make it so the player moves units in “turns.” The turns will make it so that a single unit can only move once per turn. To move a unit a second time, the player will have to advance to the next turn.
Now that the “Unit Placement” phase has been created in the previous post in this series, I want to make it so that there is some limitations on where the player can place their units. To do that, I will mark a specific tile as a player base, and make it so the player can only place units on tiles that are within a specific distance from their base.
The goal in this post is to add different “phases” to the game that players move through. Specifically, I want the user to start in an “Unit Placement” phase, and then move to an “Unit Movement” phase. This will be done through a “GameplayManager” object in Unity, and communicated to the user through the UI.
In this post, I am going to create a new opening “Title Screen” scene that displays to the user the name of the game and has a basic user interface to start the game or quit the game. Later, I will add on to this with an options menu and so on, but for now, only the start/quit functionality.
In this post, I want to create a “pause” menu that pops up when the player presses the esc key on their keyboard. This will be the first foray into “UI” in this series. Hopefully this will be simple and easy!
As it stands right now, the player can move units from one land tile to any other land tile in the game. I want to make it so that the player can only move their unit to an adjacent tile. Basically, I want it so the player can only move a distance of 1 tile away from their current position.
In my previous post I mentioned that I next want to…When multiple units of the same type are on a tile, I want those units to “collapse” into one unit, and text to display something like “x2”
Last post I created some land tiles and aligned them in a grid/map of sorts. This post, I hope to get units to be able to move on those tiles when the player clicks on them.
In this post, I plan to do the following:
1.) Add a new unit type: a tank
2.) Create land objects that the units will move on
In my first game dev blog post, I showed how to select an object when you clicked on it. In this post, I’ll make it so when you click on an object, that object is “highlighted” to show the player what objects they have selected.