Author Archives: Simon Johansson

Haunted Light 2014-02-27 Recording monster sounds

This week I have been working in the next step from have done the sound manager to actually record the sound. I have been using the site freesound.org to get royalty free music and sounds to mix them into something new. But the most work hours has been put down into finding sounds in real life that could work in the game. The Monster’s sounds are pretty easy to find because they are made by my voice, which later on […]

/ Comments Off on Haunted Light 2014-02-27 Recording monster sounds
Program: Programming

Haunted Light 2014-02-27 Recording monster sounds

This week I have been working in the next step from have done the sound manager to actually record the sound. I have been using the site freesound.org to get royalty free music and sounds to mix them into something new. But the most work hours has been put down into finding sounds in real life that could work in the game. The Monster’s sounds are pretty easy to find because they are made by my voice, which later on […]

/ Comments Off on Haunted Light 2014-02-27 Recording monster sounds
Program: Programming

Haunted Light 2014-02-20 SoundManager

This week I have been working on the sound manager for our game, I started of trying to translate the sound manager we had been using in SDL. I almost immediately changed my mind about the translation because of a quick google search.
SFML Handles sounds and music a bit differently than SDL. Instead of loading in entire files and then playing them, SFML handles sounds and music almost as it handles sprites. This however makes the program take an extra step […]

/ Comments Off on Haunted Light 2014-02-20 SoundManager
Program: Programming

Haunted Light 2014-02-20 SoundManager

This week I have been working on the sound manager for our game, I started of trying to translate the sound manager we had been using in SDL. I almost immediately changed my mind about the translation because of a quick google search.
SFML Handles sounds and music a bit differently than SDL. Instead of loading in entire files and then playing them, SFML handles sounds and music almost as it handles sprites. This however makes the program take an extra step […]

/ Comments Off on Haunted Light 2014-02-20 SoundManager
Program: Programming

Haunted Light 2014-02-12 STATES

As the first official blog post of the project I am now to describe an artifact that is complete an put into the game. I am going to describe the different states of our game engine. But first of all why do we need states to being with, why not just write the code on the blank code sheet you have in front of you?
Well you can of course do that, but in the long run the program with states […]

/ Comments Off on Haunted Light 2014-02-12 STATES
Program: Programming

Haunted Light 2014-02-12 STATES

As the first official blog post of the project I am now to describe an artifact that is complete an put into the game. I am going to describe the different states of our game engine. But first of all why do we need states to being with, why not just write the code on the blank code sheet you have in front of you?
Well you can of course do that, but in the long run the program with states […]

/ Comments Off on Haunted Light 2014-02-12 STATES
Program: Programming

Project Haunted Light 2013-02-02

Today I finally got the States working,I had goofed up the code because I had accidentally removed the while loop in main that keeps the game running, instead of just shutting it down after it has run one time. And after that I was going to start with the input for the game but it seems like we already have one up and running in the prototype.
So my task for the following  week is to get a functional drawmanager and […]

/ Comments Off on Project Haunted Light 2013-02-02
Program: Programming

Project Haunted Light 2013-02-02

Today I finally got the States working,I had goofed up the code because I had accidentally removed the while loop in main that keeps the game running, instead of just shutting it down after it has run one time. And after that I was going to start with the input for the game but it seems like we already have one up and running in the prototype.
So my task for the following  week is to get a functional drawmanager and […]

/ Comments Off on Project Haunted Light 2013-02-02
Program: Programming

Project Bloody Badgers (AKA Haunted light) 2014-01-29

Today we had two meetings, one with our programming master and another one which we as a group arranged with one of our tutors within design. Well the programming meeting was short and it was a matter of meeting our master, so I’ll skip to the important meeting with the tutor. We began pitching our idea and our visions for the game as well as some general thoughts about game design. 
The first thing that were discussed was whether we should […]

/ Comments Off on Project Bloody Badgers (AKA Haunted light) 2014-01-29
Program: Programming

Project Bloody Badgers (AKA Haunted light) 2014-01-29

Today we had two meetings, one with our programming master and another one which we as a group arranged with one of our tutors within design. Well the programming meeting was short and it was a matter of meeting our master, so I’ll skip to the important meeting with the tutor. We began pitching our idea and our visions for the game as well as some general thoughts about game design. 
The first thing that were discussed was whether we should […]

/ Comments Off on Project Bloody Badgers (AKA Haunted light) 2014-01-29
Program: Programming

Project Bloody Badgers (AKA Haunted Light) 2014-01-28

Today we got a small rant about our blog posts being too thin, so I’ll try to fill my next posts with more stuff. Today we also had our first scrum meeting about week sprint, we got some feedback about making our tasks more specific and that we should also try to estimate the work time for the different tasks. 
I started to set up the states because of previous experiences it’s better to implement them in an early stage than […]

/ Comments Off on Project Bloody Badgers (AKA Haunted Light) 2014-01-28
Program: Programming

Project Bloody Badgers (AKA Haunted Light) 2014-01-28

Today we got a small rant about our blog posts being too thin, so I’ll try to fill my next posts with more stuff. Today we also had our first scrum meeting about week sprint, we got some feedback about making our tasks more specific and that we should also try to estimate the work time for the different tasks. 
I started to set up the states because of previous experiences it’s better to implement them in an early stage than […]

/ Comments Off on Project Bloody Badgers (AKA Haunted Light) 2014-01-28
Program: Programming

Project: Bloody badgers 2014-01-24

Today we have made progress in filling our scrum document and we have also met our scrum master Therése. There seem to be a problem with the overlay for the lighting mechanic because it wont place in the desired place, it seems to be a SFML problem and not a written fault. The progress is good and and everyone seems to be working fine. I’m gonna try to get my head into SFML asap.
And we’re also thinking of going with […]

/ Comments Off on Project: Bloody badgers 2014-01-24
Program: Programming

Project: Bloody badgers 2014-01-24

Today we have made progress in filling our scrum document and we have also met our scrum master Therése. There seem to be a problem with the overlay for the lighting mechanic because it wont place in the desired place, it seems to be a SFML problem and not a written fault. The progress is good and and everyone seems to be working fine. I’m gonna try to get my head into SFML asap.
And we’re also thinking of going with […]

/ Comments Off on Project: Bloody badgers 2014-01-24
Program: Programming

Programming assignment 2014-01-19

The final day is upon us. 
We have gone through every single ”new” and made sure that there is a delete for it and I also med an menu in the console because we didn’t manage a graphical one (insert sad smiley) so when we change state the console will be cleared using a system command. So that the player never gets confused which text is relevant.
And now I’m making the finishing touches on my report.

/ Comments Off on Programming assignment 2014-01-19
Program: Programming

Programming assignment 2014-01-19

The final day is upon us. 
We have gone through every single ”new” and made sure that there is a delete for it and I also med an menu in the console because we didn’t manage a graphical one (insert sad smiley) so when we change state the console will be cleared using a system command. So that the player never gets confused which text is relevant.
And now I’m making the finishing touches on my report.

/ Comments Off on Programming assignment 2014-01-19
Program: Programming

Programming assignment 2014-01-18

Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]

/ Comments Off on Programming assignment 2014-01-18
Program: Programming

Programming assignment 2014-01-18

Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]

/ Comments Off on Programming assignment 2014-01-18
Program: Programming

Programming assignment 2014-01-(16-18)

Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]

/ Comments Off on Programming assignment 2014-01-(16-18)
Program: Programming

Programming assignment 2014-01-(16-18)

Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]

/ Comments Off on Programming assignment 2014-01-(16-18)
Program: Programming

Programming assignment 2014-01-16

Today I’ve been working on the menus, I can change the resolution of every window. This was achieved by reading from files, using the ofstream and ifstream. and later on applying the values of the file to variables in the program. I had one problem were the program wouldn’t let me decide the resolution unless i red in the players position as well(even though there were no player in the options state). But I’m running out of time so if […]

/ Comments Off on Programming assignment 2014-01-16
Program: Programming

Programming assignment 2014-01-16

Today I’ve been working on the menus, I can change the resolution of every window. This was achieved by reading from files, using the ofstream and ifstream. and later on applying the values of the file to variables in the program. I had one problem were the program wouldn’t let me decide the resolution unless i red in the players position as well(even though there were no player in the options state). But I’m running out of time so if […]

/ Comments Off on Programming assignment 2014-01-16
Program: Programming

Programming assignment 2014-01-15

Today I implemented animations and sound control to the new updated, as I said yesterday there were some problems to make it work. But thanks to my teacher I got it working. I had to use something called casting to cast the animation to the sprite the player had initially. 
For the music part; I added The option to lower the volume to a third of it’s previous volume. Don’t really know why I cant lower it more than once but […]

/ Comments Off on Programming assignment 2014-01-15
Program: Programming

Programming assignment 2014-01-15

Today I implemented animations and sound control to the new updated, as I said yesterday there were some problems to make it work. But thanks to my teacher I got it working. I had to use something called casting to cast the animation to the sprite the player had initially. 
For the music part; I added The option to lower the volume to a third of it’s previous volume. Don’t really know why I cant lower it more than once but […]

/ Comments Off on Programming assignment 2014-01-15
Program: Programming