Daily Archives: February 23, 2016
Player
What
This week I have been working with making a player class. The player class is so that an object of the player type can be made. It should include a vector2 of its position, a sprite to draw the player on screen and a rectangle to check collision with other objects. The class should include functions that return these variables. There should also be an update function that updates the players position. In the update funtion I will take keyboard […]
Player
What
This week I have been working with making a player class. The player class is so that an object of the player type can be made. It should include a vector2 of its position, a sprite to draw the player on screen and a rectangle to check collision with other objects. The class should include functions that return these variables. There should also be an update function that updates the players position. In the update funtion I will take keyboard […]