Browsing 'Programming': Posts from Game Design and Programming

Looking for internship during the summer 2016

I haven’t done any post in a very long time, I should write something about what I have done the last few months but this is not the time for it.
I am still in university and this summer is going to be my last before I get my candidate exam in game design! I am looking for an internship or job for this summer, I have started looking around but I thought I could write about it too. If you […]

/ Comments Off on Looking for internship during the summer 2016
Program: Programming

Looking for internship during the summer 2016

I haven’t done any post in a very long time, I should write something about what I have done the last few months but this is not the time for it.
I am still in university and this summer is going to be my last before I get my candidate exam in game design! I am looking for an internship or job for this summer, I have started looking around but I thought I could write about it too. If you […]

/ Comments Off on Looking for internship during the summer 2016
Program: Programming

Update Post (no relevant info for coursework)

A quick update to denote the switch of courses relevant to this blog. The former project is finshed (and lacks the full gamut of updates due to time constraints), and may be returned to in the future. However, as a new project has just started, the focus of this blog has now changed to that of a Space Shooter clone with the preliminary name Planet Suburbia, as part of a course in game development introduction. The first blogpost  in this […]

/ Comments Off on Update Post (no relevant info for coursework)
Program: Programming

Update Post (no relevant info for coursework)

A quick update to denote the switch of courses relevant to this blog. The former project is finshed (and lacks the full gamut of updates due to time constraints), and may be returned to in the future. However, as a new project has just started, the focus of this blog has now changed to that of a Space Shooter clone with the preliminary name Planet Suburbia, as part of a course in game development introduction. The first blogpost  in this […]

/ Comments Off on Update Post (no relevant info for coursework)
Program: Programming

Linked List

Linked List
Linked List  är en dynamisk datastruktur som används inom programmering. Att den är dynamisk innebär att den enkelt kan öka och minska i storlek efter behov, till skillnad från till exempel en array, som har en fix storlek. I en länkad lista kan även element läggas till och tas bort i mitten. I detta fall så skapas en lista med noder som har en pekare till nästa nod. Alltså, första noden vet vilken andra noden är, […]

/ Comments Off on Linked List
Program: Programming

Linked List

Linked List
Linked List  är en dynamisk datastruktur som används inom programmering. Att den är dynamisk innebär att den enkelt kan öka och minska i storlek efter behov, till skillnad från till exempel en array, som har en fix storlek. I en länkad lista kan även element läggas till och tas bort i mitten. I detta fall så skapas en lista med noder som har en pekare till nästa nod. Alltså, första noden vet vilken andra noden är, […]

/ Comments Off on Linked List
Program: Programming

BOMBERMAN CLONE, GameStates and Mainloop

Hello dear readers, today I will talk about how the gamestates work and is integrated into the game. This will probably be one of the last posts about bomberman as we are soon finishing our course. However If you still want me to write about anything special just leave a message and I see what I can do.  I will also probably make a final post where I upload the finished game so everyone can download and try it out. […]

/ Comments Off on BOMBERMAN CLONE, GameStates and Mainloop
Program: Programming

BOMBERMAN CLONE, GameStates and Mainloop

Hello dear readers, today I will talk about how the gamestates work and is integrated into the game. This will probably be one of the last posts about bomberman as we are soon finishing our course. However If you still want me to write about anything special just leave a message and I see what I can do.  I will also probably make a final post where I upload the finished game so everyone can download and try it out. […]

/ Comments Off on BOMBERMAN CLONE, GameStates and Mainloop
Program: Programming

#5 Trying to fix collision to blocks

So I´ve recently started to put in blocks in a hardcoding way, the only way I new how to do it. I had to do one coding the same 6 times in a row to get everything the way I wanted it to be. The only thing was that I did not collide with the block the way I wanted, the collision sideways started in center so I basically could walk half way into the block. But from above it […]

/ Comments Off on #5 Trying to fix collision to blocks
Program: Programming

#5 Trying to fix collision to blocks

So I´ve recently started to put in blocks in a hardcoding way, the only way I new how to do it. I had to do one coding the same 6 times in a row to get everything the way I wanted it to be. The only thing was that I did not collide with the block the way I wanted, the collision sideways started in center so I basically could walk half way into the block. But from above it […]

/ Comments Off on #5 Trying to fix collision to blocks
Program: Programming

Bomberman Clone, Music manager

Hello dear readers! Today I will talk about the music manager as some people have had problems with it; the music manager in itself is very simple, so let’s get right into it!
First the music manager itself is built-up of 3 classes, first the AudioManager itself, then one called SoundEffect that is used for sound effects, like explosion sounds. Then last we have Music wish simple control the music class. The AudioManager main task is to first set up sdl_mixer and also […]

/ Comments Off on Bomberman Clone, Music manager
Program: Programming

Bomberman Clone, Music manager

Hello dear readers! Today I will talk about the music manager as some people have had problems with it; the music manager in itself is very simple, so let’s get right into it!
First the music manager itself is built-up of 3 classes, first the AudioManager itself, then one called SoundEffect that is used for sound effects, like explosion sounds. Then last we have Music wish simple control the music class. The AudioManager main task is to first set up sdl_mixer and also […]

/ Comments Off on Bomberman Clone, Music manager
Program: Programming

#4 Skipping the animation for now

So I was going to make animation for left, right and jump which went terrible! So I decided on skipping that for now and make a menu which went pretty good in my opinion.
The next thing was to change image.bmp to image.png where the picture can be transparent. I looked it up and followed all the steps but would not work for some reason. I´ve tried twice now and the picture are not appearing on the screen. So I have […]

/ Comments Off on #4 Skipping the animation for now
Program: Programming

#4 Skipping the animation for now

So I was going to make animation for left, right and jump which went terrible! So I decided on skipping that for now and make a menu which went pretty good in my opinion.
The next thing was to change image.bmp to image.png where the picture can be transparent. I looked it up and followed all the steps but would not work for some reason. I´ve tried twice now and the picture are not appearing on the screen. So I have […]

/ Comments Off on #4 Skipping the animation for now
Program: Programming

Change of Project and Pace

The holidays have impacted workload more than was expected, partially for personal reasons beyond the norm, but also because of two issues that cropped up that completely altered the scope of the project. It can be described as a failure when going by the goals set for our project, but even in failure there is much to learn, and so that shall be the focus of this blogpost.
The first issue I ran into was a mistake that almost all programmers […]

/ Comments Off on Change of Project and Pace
Program: Programming

Change of Project and Pace

The holidays have impacted workload more than was expected, partially for personal reasons beyond the norm, but also because of two issues that cropped up that completely altered the scope of the project. It can be described as a failure when going by the goals set for our project, but even in failure there is much to learn, and so that shall be the focus of this blogpost.
The first issue I ran into was a mistake that almost all programmers […]

/ Comments Off on Change of Project and Pace
Program: Programming

GameDev Xmas Challenge – Summary

Finally done with the holiday fatigue (sort of) and ready to do the summary post of my December #OneHourGameDev project!
(TL; DR: Made a digital version of ultimate tic tac toe in 24 hours. A few cool features but not publically available due to problems. It was fun. Timelapse at the bottom.)
So what was this project about? I was alerted by a friend to a post of a link to a blog post on the nerd-time.com blog by Cala. It […]

/ Comments Off on GameDev Xmas Challenge – Summary
Program: Programming

GameDev Xmas Challenge – Summary

Finally done with the holiday fatigue (sort of) and ready to do the summary post of my December #OneHourGameDev project!
(TL; DR: Made a digital version of ultimate tic tac toe in 24 hours. A few cool features but not publically available due to problems. It was fun. Timelapse at the bottom.)
So what was this project about? I was alerted by a friend to a post of a link to a blog post on the nerd-time.com blog by Cala. It […]

/ Comments Off on GameDev Xmas Challenge – Summary
Program: Programming

#3 A small relief, but still heartbreaking..

So i´ve decided on finnishing my jump function which went slow but in the end I made it and it works really good!
My next assignment was to make Mario change direction animation left and right. Also when jumping. Everything just crashed inside my head and cannot go any further today.

/ Comments Off on #3 A small relief, but still heartbreaking..
Program: Programming

#3 A small relief, but still heartbreaking..

So i´ve decided on finnishing my jump function which went slow but in the end I made it and it works really good!
My next assignment was to make Mario change direction animation left and right. Also when jumping. Everything just crashed inside my head and cannot go any further today.

/ Comments Off on #3 A small relief, but still heartbreaking..
Program: Programming

Bomberman Clone, Input Manager

Hello dear readers! Today I will talk about my input manager, I will go into how I decided to make the things in there, how it works and why I decided to make it the way I mad it.
Input Manager
The input manager is the one handling all of the input keys, it stores them if they are pressed or not and also stores the mouse location on the screen. I wanted a simple way to store the key if they were […]

/ Comments Off on Bomberman Clone, Input Manager
Program: Programming

Bomberman Clone, Input Manager

Hello dear readers! Today I will talk about my input manager, I will go into how I decided to make the things in there, how it works and why I decided to make it the way I mad it.
Input Manager
The input manager is the one handling all of the input keys, it stores them if they are pressed or not and also stores the mouse location on the screen. I wanted a simple way to store the key if they were […]

/ Comments Off on Bomberman Clone, Input Manager
Program: Programming

Bomberman Clone, 2D Camera

Hello dear readers! Today I will talk about my 2D camera class, why I created it, why I don’t really use it and why I chose to keep it. The 2D camera class was first created as a solution for having bigger maps than would fit on the screen (I had plans to make big challenge levels that you could play alone against AI “zombies”, similar to the first original bomberman).
It would allow the camera to move around the map and […]

/ Comments Off on Bomberman Clone, 2D Camera
Program: Programming

Bomberman Clone, 2D Camera

Hello dear readers! Today I will talk about my 2D camera class, why I created it, why I don’t really use it and why I chose to keep it. The 2D camera class was first created as a solution for having bigger maps than would fit on the screen (I had plans to make big challenge levels that you could play alone against AI “zombies”, similar to the first original bomberman).
It would allow the camera to move around the map and […]

/ Comments Off on Bomberman Clone, 2D Camera
Program: Programming