Progress!
|
Back to University again! After returning to the island a lot more progress has been made with my project and I now have a hope I might actually have it working in time. After asking for help I finally managed to sort out my issues with SDLKey refusing to work, so that the block could be moved around on the screen. Once this worked I wrote up some code to make the block stop and freeze when it reaches the bottom of the screen, and then made the program spawn a new block when one got frozen. Now that the game was able to spawn blocks, I added collision detection so that it would be unable to identify when blocks overlapped and stop it from occurring by sending the block back immediately, as well as freezing the blocks when their fall is stopped by either the bottom or another block. In the coming week, the most important parts that I need to get done is making the program spawn the blocks four at a time in the classic shapes, make it remove blocks and give score from it, and detect when Game Over has been reached. I still hold hope that I will find a way to get it done in time. We will see by the end of next week how well it went, so for now, good luck to me! /Stefan |