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.
I wanted to also create this GameDev Blog to document my progress making this game in Unity to 1.) Reinforce what I was learning in Unity by making myself describe what I was doing, and 2.) Hopefully provide some useful information to any other would-be game makers out there on how I figured out how to do things.