Monthly Archives: January 2015

Might as well make a post

I have been doing no programming worth mentioning since the last blog post as there isn’t that much to be done until we actually have something on the screen.
Instead i have been writing on my report during the days, it started slow but today i got started properly and wrote a couple of thousand words, mostly about the code i made. I hope it won’t be any mayor changes to it before the hand in so that any rewriting in […]

/ Comments Off on Might as well make a post
Program: Programming

Might as well make a post

I have been doing no programming worth mentioning since the last blog post as there isn’t that much to be done until we actually have something on the screen.
Instead i have been writing on my report during the days, it started slow but today i got started properly and wrote a couple of thousand words, mostly about the code i made. I hope it won’t be any mayor changes to it before the hand in so that any rewriting in […]

/ Comments Off on Might as well make a post
Program: Programming

The eight week of programming.

This is the week we started with our project for real. We got a sort of late start since both of us fell in sick at the beginning of this week. But now we’re working full time on our game.
I’ve so far added a few different classes such as Bomb, Bomberman, Wall, BrickWall and Fire. Meanwhile Emil has been working on a EntityManager.
There’s nothing special to be said about my code It’s pretty standard. I’m using our Fire class as […]

/ Comments Off on The eight week of programming.
Program: Programming

The eight week of programming.

This is the week we started with our project for real. We got a sort of late start since both of us fell in sick at the beginning of this week. But now we’re working full time on our game.
I’ve so far added a few different classes such as Bomb, Bomberman, Wall, BrickWall and Fire. Meanwhile Emil has been working on a EntityManager.
There’s nothing special to be said about my code It’s pretty standard. I’m using our Fire class as […]

/ Comments Off on The eight week of programming.
Program: Programming

The seventh week of programming.

Emil and I decided that we wouldn’t work on the project until we came back to Gotland from our ”Christmas break” so we didn’t work at all this or the coming week.

/ Comments Off on The seventh week of programming.
Program: Programming

The seventh week of programming.

Emil and I decided that we wouldn’t work on the project until we came back to Gotland from our ”Christmas break” so we didn’t work at all this or the coming week.

/ Comments Off on The seventh week of programming.
Program: Programming

The sixth week of programming.

Emil Elthammar and I started to work on a replica of the classic game Bomberman. We’re using the same engine that we created during our Arkanoid project. This week I didn’t really code anything at all in our project

/ Comments Off on The sixth week of programming.
Program: Programming

The sixth week of programming.

Emil Elthammar and I started to work on a replica of the classic game Bomberman. We’re using the same engine that we created during our Arkanoid project. This week I didn’t really code anything at all in our project

/ Comments Off on The sixth week of programming.
Program: Programming

The fifth week of programming.

I’ve been really bad at updating my blog so I will try to remember what we did certain weeks.
If I remember correctly this is the week we finished our Arkanoid project. We added the images to the game with an extension named SDL_IMAGE. With this extension we could and images of different file endings and convert them to the same image type in our program.

/ Comments Off on The fifth week of programming.
Program: Programming

The fifth week of programming.

I’ve been really bad at updating my blog so I will try to remember what we did certain weeks.
If I remember correctly this is the week we finished our Arkanoid project. We added the images to the game with an extension named SDL_IMAGE. With this extension we could and images of different file endings and convert them to the same image type in our program.

/ Comments Off on The fifth week of programming.
Program: Programming

The second week of programming.

This week we learned about pointers in C++. By adding a ‘*’ at the end of the data type you create a pointer. They are used to point on a memory address instead of a value.
If you add a ‘&’ at the front of the variable name you access the variables memory address and if you add a ‘*’ in front of the variable you will access the value of the pointer.

/ Comments Off on The second week of programming.
Program: Programming

The second week of programming.

This week we learned about pointers in C++. By adding a ‘*’ at the end of the data type you create a pointer. They are used to point on a memory address instead of a value.
If you add a ‘&’ at the front of the variable name you access the variables memory address and if you add a ‘*’ in front of the variable you will access the value of the pointer.

/ Comments Off on The second week of programming.
Program: Programming

Dev Diary

Closing in on the hand-in date for our final assignment in Game Programming I!

12/1 17:30 – 21:30
To do:

comment camera
sound effect on hit
gui
remove colliders when exiting rooms (we’re currently only removing the POINTER to the colliders, not the colliders themselves, resulting in a memory leak!)
get keys to work

Discussed how to get keys to work, and how to prevent global entities from displaying when entering new rooms. Decided to remove global entities, eg an enemy, when entering new rooms using an iterator […]

/ Comments Off on Dev Diary
Program: Programming

Dev Diary

Closing in on the hand-in date for our final assignment in Game Programming I!

12/1 17:30 – 21:30
To do:

comment camera
sound effect on hit
gui
remove colliders when exiting rooms (we’re currently only removing the POINTER to the colliders, not the colliders themselves, resulting in a memory leak!)
get keys to work

Discussed how to get keys to work, and how to prevent global entities from displaying when entering new rooms. Decided to remove global entities, eg an enemy, when entering new rooms using an iterator […]

/ Comments Off on Dev Diary
Program: Programming

Lighting of character

Its been a little break with the blog posts over Christmas and new year but now i’m back and I will try to write at least one post per week.
I had an assignment over the Christmas break to create light and forms in my character. It was a big challenge for me personally because I have never lighted a character or painted this seriously.
But given it is my first time ever doing something like this I am very pleased with […]

/ Comments Off on Lighting of character
Program: Graphics

Lighting of character

Its been a little break with the blog posts over Christmas and new year but now i’m back and I will try to write at least one post per week.
I had an assignment over the Christmas break to create light and forms in my character. It was a big challenge for me personally because I have never lighted a character or painted this seriously.
But given it is my first time ever doing something like this I am very pleased with […]

/ Comments Off on Lighting of character
Program: Graphics

Space Invaders – Key input

The Arcanoid code we use as the structure for the space invaders clone used mouse input to control the paddle. We wanted to use keyboard input instead so this had to be changed. This task should actually be rather simple, but I had problems to make it work. I spent a lot of time looking at the Arcanoid to figure out where the changes should be made and how to make them.
The problem lied in how I had written SDL_KEYDOWN […]

/ Comments Off on Space Invaders – Key input
Program: Programming

Space Invaders – Key input

The Arcanoid code we use as the structure for the space invaders clone used mouse input to control the paddle. We wanted to use keyboard input instead so this had to be changed. This task should actually be rather simple, but I had problems to make it work. I spent a lot of time looking at the Arcanoid to figure out where the changes should be made and how to make them.
The problem lied in how I had written SDL_KEYDOWN […]

/ Comments Off on Space Invaders – Key input
Program: Programming

Space Invaders – Key input

The Arcanoid code we use as the structure for the space invaders clone used mouse input to control the paddle. We wanted to use keyboard input instead so this had to be changed. This task should actually be rather simple, but I had problems to make it work. I spent a lot of time looking at the Arcanoid to figure out where the changes should be made and how to make them.
The problem lied in how I had written SDL_KEYDOWN […]

/ Comments Off on Space Invaders – Key input
Program: Programming

Space Invaders – Key input

The Arcanoid code we use as the structure for the space invaders clone used mouse input to control the paddle. We wanted to use keyboard input instead so this had to be changed. This task should actually be rather simple, but I had problems to make it work. I spent a lot of time looking at the Arcanoid to figure out where the changes should be made and how to make them.
The problem lied in how I had written SDL_KEYDOWN […]

/ Comments Off on Space Invaders – Key input
Program: Programming

Game programming – the ninth week, work on the third assignment

This week I continued my work on the particle effects. We have three distinct effects in our game now: explosions, smoke and bubbles.
Next week will be focused on wrapping up the game project as well as presenting it.

/ Comments Off on Game programming – the ninth week, work on the third assignment
Program: Programming

Game programming – the ninth week, work on the third assignment

This week I continued my work on the particle effects. We have three distinct effects in our game now: explosions, smoke and bubbles.
Next week will be focused on wrapping up the game project as well as presenting it.

/ Comments Off on Game programming – the ninth week, work on the third assignment
Program: Programming

Game programming I – Week 7 – 10


During the Christmas, most progress was stalled and I instead tried to learn more programming through videos.
When I got back after the Christmas, we made minor progress with our pellets, but little more.
These weeks have been largely uneventful.
Filed under: 5SD022, Game programming I – 5SD022, University Tagged: Game programming, Pac-man

/ Comments Off on Game programming I – Week 7 – 10
Program: Programming

Game programming I – Week 7 – 10


During the Christmas, most progress was stalled and I instead tried to learn more programming through videos.
When I got back after the Christmas, we made minor progress with our pellets, but little more.
These weeks have been largely uneventful.
Filed under: 5SD022, Game programming I – 5SD022, University Tagged: Game programming, Pac-man

/ Comments Off on Game programming I – Week 7 – 10
Program: Programming