GameProgramming – week4

We have already gotten to week four as we go forth with more SDL.

Starting the week with explaining recursion.
Recursion is when a function calls it self so it will continue until it says stop or infinite. We used it to calculate a factorial value. Also explained how you can sort arrays ans about std::fstream with differs a bit from what we have used up until now to print text to a console window, used std::cout until now.

The rest of the week we started building the foundation for the classic game arkanoid.
Arkanoid where you control a little platform and have to keep a ball from going past you. Instead you should make the ball bounce up at blocks to destroy them, when all blocks are gone you win or gets to a new level. This game can contain a lot of upgrades but I do not know if we are going to program any in the game, if not then we might take it upon ourselves to do it on our spare time.

Some examples of different arkanoid:

arkanoid2arkanoid arkanoid-doh-it-again-03

So it was for this we were continuing with SDL, using it to build our game. This week we built the foundation, basically classes and methods that you can use in every game.

In this this course we are going to make a game as a big assignment, it is a project that we will be working on from now on. The idea is to copy a classic arcade game writing your own code.

To thursday we had to hand in what game we are going to make and who is in the group as well as a start on a design document, containing what the game is going to contain. So was not sure what to make but since we had a list of games in our assignment document I had something to refer to, knowing what type of games they had in mind that were the right kind of difficulty level. So decided to make Super Mario Bros (2) ,probably the second, and depending on how much the game has to be a copy of the original I am thinking of playing as different characters and have different enemies from the Mario universe.

The files describing our project/big assignment:
SD022-AssignmentPartOne

SD022-AssignmentPartTwo

About Isak Ekedahl

2014  Programming