Input Manager & sprite

Today we managed to do alot of stuff. We have created a very flexible class, Entity all game objects will instance of or inherit. We added keyboard and mouse input to every state.

Tomorrow I continue on our project plan and make blocks fall and stack on the bottom of the screen.
I also think we should resize the player object.
Laban is currrently working on SFX which I have no clue about how to do. I think we’ll do a skype meeting about that tomorrow.

I also need to come up with some sort of fix with some keys doesn’t register, like KEY_UP, KEY_DOWN etc.

I really wonder how I am going to do the block collision/stacking since the blocks can be like this.

I think of making a Block class that has a std::vector of Sprites and staticly defined type of shapes wich will just be a pre defined amount of blocks with predefined coordinates withing that block.
And then I can spawn a block on any cordinate as long it sticks to x % 32 = 0 since I want some sort of grid.

About Anthon Fredriksson

2013 Programming