First bits done
Now that all of the basic systems are in place including a scene manager and all basic classes, its time to Start with the basic functions of the units. Movement and attacks are imperative to gameplay so that’s where i’m going to start.
Due to the fact that we want to be able to move the units with the mouse, we will need to make sure that the player cannot click outside of their movement distance. The best method to do this, is to use an extra sprite which is attached to the unit which will show the user where they can move and will double up as boundaries for the movement, meaning that I can check if a unit is selected then check if the next mouse click is on the “movement sprite” then move the unit to the selected grid co-ordinate.