Author Archives: Martin Mattsson

Summer Programming 2014 – Dev. Post 22

Y’know, at the middle of the week I thought that I had been too optimistic in how much I could do wiht all the glitches and the problems I had with the Level Manager, but it all worked out okay.

I completed the high-score system, now the player can save a single high-score in the game. I was thinking about adding a list, but I don’t really have the energy to do that, also it doesn’t feel all that important […]

/ Comments Off on Summer Programming 2014 – Dev. Post 22
Program: Programming

Summer Programming 2014 – Dev. Post 22

Y’know, at the middle of the week I thought that I had been too optimistic in how much I could do wiht all the glitches and the problems I had with the Level Manager, but it all worked out okay.

I completed the high-score system, now the player can save a single high-score in the game. I was thinking about adding a list, but I don’t really have the energy to do that, also it doesn’t feel all that important […]

/ Comments Off on Summer Programming 2014 – Dev. Post 22
Program: Programming

Summer Programming 2014 – Dev. Post 21

I don’t have access to my internet right now, so this one will be posted later.

I finished the Level Manager, it took longer than expected but it’s done. One of the main problems came right after it was done; apparently there was a glitch that made it so that there were empty hitboxes for some reason. I’m not entirely sure about what caused it but I patched it so that it no longer is an issue.

I also enabled a […]

/ Comments Off on Summer Programming 2014 – Dev. Post 21
Program: Programming

Summer Programming 2014 – Dev. Post 21

I don’t have access to my internet right now, so this one will be posted later.

I finished the Level Manager, it took longer than expected but it’s done. One of the main problems came right after it was done; apparently there was a glitch that made it so that there were empty hitboxes for some reason. I’m not entirely sure about what caused it but I patched it so that it no longer is an issue.

I also enabled a […]

/ Comments Off on Summer Programming 2014 – Dev. Post 21
Program: Programming

Summer Programming 2014 – Dev. Post 20

Didn’t get much done with the commenting, but got some work done regarding the Level Manager. Thing is, it’s not entierly done yet as there are still some problems to iron out. I sued the map class for the Manager but in the end I feel that this particular problem might be more suited for the Make a class that is just another class with a string attached and while I recently discovered how tu ose the map class efficently […]

/ Comments Off on Summer Programming 2014 – Dev. Post 20
Program: Programming

Summer Programming 2014 – Dev. Post 20

Didn’t get much done with the commenting, but got some work done regarding the Level Manager. Thing is, it’s not entierly done yet as there are still some problems to iron out. I sued the map class for the Manager but in the end I feel that this particular problem might be more suited for the Make a class that is just another class with a string attached and while I recently discovered how tu ose the map class efficently […]

/ Comments Off on Summer Programming 2014 – Dev. Post 20
Program: Programming

Summer Programming 2014 – Dev. Post 19

I spent most of the day writing comments for my code. By now I’m done with the Managers so I’m gonna move on to the actual in-game objects and the gameobjects next.
Other than that I’ve started working on the Level Manager. The idea is to load the data directly into the game via a .txt file that determines the time and type of enemy that should be spawned. It is very much in preproduction but should be done by tomorrow […]

/ Comments Off on Summer Programming 2014 – Dev. Post 19
Program: Programming

Summer Programming 2014 – Dev. Post 19

I spent most of the day writing comments for my code. By now I’m done with the Managers so I’m gonna move on to the actual in-game objects and the gameobjects next.
Other than that I’ve started working on the Level Manager. The idea is to load the data directly into the game via a .txt file that determines the time and type of enemy that should be spawned. It is very much in preproduction but should be done by tomorrow […]

/ Comments Off on Summer Programming 2014 – Dev. Post 19
Program: Programming

Summer Programmming 2014 – Dev. Post 18

Hey I’m back! Not only did the trip to London rob me of my working hours but as soon as I landed my portable wireless internet ran out of data so I was unable to post anything until today. Rest assured, if you look at the two posts before this one you’ll see that I indeed worked during those few days of seeming inactivity.

On a more direct topic, today is the day that I started to reschedule for the […]

/ Comments Off on Summer Programmming 2014 – Dev. Post 18
Program: Programming

Summer Programmming 2014 – Dev. Post 18

Hey I’m back! Not only did the trip to London rob me of my working hours but as soon as I landed my portable wireless internet ran out of data so I was unable to post anything until today. Rest assured, if you look at the two posts before this one you’ll see that I indeed worked during those few days of seeming inactivity.

On a more direct topic, today is the day that I started to reschedule for the […]

/ Comments Off on Summer Programmming 2014 – Dev. Post 18
Program: Programming

Summer Programming 2014 – Dev. Post 17

Written the: 21-07-2014

My internet is still down.

I finally figured out the problem with the sound. Since I was taking the sound buffer locally it was destroyed once I left the method, therefore my sounds effects became mute. Once I figured out the problem it took about five minutes to fix it. Didn’t get anything else done today, will be checking my schedule for some planning and possibly write some comments in the code if I have the time.

/ Comments Off on Summer Programming 2014 – Dev. Post 17
Program: Programming

Summer Programming 2014 – Dev. Post 17

Written the: 21-07-2014

My internet is still down.

I finally figured out the problem with the sound. Since I was taking the sound buffer locally it was destroyed once I left the method, therefore my sounds effects became mute. Once I figured out the problem it took about five minutes to fix it. Didn’t get anything else done today, will be checking my schedule for some planning and possibly write some comments in the code if I have the time.

/ Comments Off on Summer Programming 2014 – Dev. Post 17
Program: Programming

Summer Programming 2014 – Dev. Post 16

Written the: 20-07-2014

My internet just ran out so this one isn’t going to be posted in a while. On another topic, I finally got back from London (which was awesome) and I’m back in the programming works again (which is, again, awesome). Well, as much back as I can, I haven’t coded in about a week so I’m a little out of it but I’m still in the game for now.

Anyway, today’s work was centered on fixing a few […]

/ Comments Off on Summer Programming 2014 – Dev. Post 16
Program: Programming

Summer Programming 2014 – Dev. Post 16

Written the: 20-07-2014

My internet just ran out so this one isn’t going to be posted in a while. On another topic, I finally got back from London (which was awesome) and I’m back in the programming works again (which is, again, awesome). Well, as much back as I can, I haven’t coded in about a week so I’m a little out of it but I’m still in the game for now.

Anyway, today’s work was centered on fixing a few […]

/ Comments Off on Summer Programming 2014 – Dev. Post 16
Program: Programming

Summer Programming 2014 – Dev. Post 15

I didn’t get much done yesterday so I’m just gonna post for today. The main objective today was to create the Audio management. So far it actually works… for the music. The sound effects are for some reason absent and the SOund Buffer is always set to NULL for some reason. Other than that, it’s all fine. I’ve also done some minor adjustments to the State Manager.
This might be the last post I’m doing for a while, next week I’ll […]

/ Comments Off on Summer Programming 2014 – Dev. Post 15
Program: Programming

Summer Programming 2014 – Dev. Post 15

I didn’t get much done yesterday so I’m just gonna post for today. The main objective today was to create the Audio management. So far it actually works… for the music. The sound effects are for some reason absent and the SOund Buffer is always set to NULL for some reason. Other than that, it’s all fine. I’ve also done some minor adjustments to the State Manager.
This might be the last post I’m doing for a while, next week I’ll […]

/ Comments Off on Summer Programming 2014 – Dev. Post 15
Program: Programming

Summer Programming 2014 – Dev. Post 14

For the duraction of the project I’ve had some trouble with getting the sprites to be drawn the way I want them to. I’d load an image but all I got was a giant white rectangle, today I finally had the time to sit down and fix this and it turns out it’s all because of what I tried to do with the Sprite class.
To reiterate: I made a personal variant of the sf::Sprite class simply called Sprite, which then […]

/ Comments Off on Summer Programming 2014 – Dev. Post 14
Program: Programming

Summer Programming 2014 – Dev. Post 14

For the duraction of the project I’ve had some trouble with getting the sprites to be drawn the way I want them to. I’d load an image but all I got was a giant white rectangle, today I finally had the time to sit down and fix this and it turns out it’s all because of what I tried to do with the Sprite class.
To reiterate: I made a personal variant of the sf::Sprite class simply called Sprite, which then […]

/ Comments Off on Summer Programming 2014 – Dev. Post 14
Program: Programming

Summer Programming 2014 – Dev. Post 13

I don’t have access to an internet connection at the moment so this post is actually written offline and will probably be posted tomorrow night alongside that days post.

Today I’ve been configuring something I’d like to call the Score Manager (it used to be the Stat Manager but I changed the name since it wa sto similar to the State Manager) whose job is to keep track of all the in-game stats, like remaining lifes, score, hiscore and so […]

/ Comments Off on Summer Programming 2014 – Dev. Post 13
Program: Programming

Summer Programming 2014 – Dev. Post 13

I don’t have access to an internet connection at the moment so this post is actually written offline and will probably be posted tomorrow night alongside that days post.

Today I’ve been configuring something I’d like to call the Score Manager (it used to be the Stat Manager but I changed the name since it wa sto similar to the State Manager) whose job is to keep track of all the in-game stats, like remaining lifes, score, hiscore and so […]

/ Comments Off on Summer Programming 2014 – Dev. Post 13
Program: Programming

Summer Programming 2014 – Dev. Post 12

Alright, so it looks like I forgot to post for the past two days (again) but it’s not too bad since I didn’t actually get all that much work done on one of the days. Anyway, I better get back on track and start posting again before I start forgetting completely (again).

So, I’ve made quite some progress when it come sto the Enemy bullet and it’s pretty much done as it stands right now. The game currently has a […]

/ Comments Off on Summer Programming 2014 – Dev. Post 12
Program: Programming

Summer Programming 2014 – Dev. Post 12

Alright, so it looks like I forgot to post for the past two days (again) but it’s not too bad since I didn’t actually get all that much work done on one of the days. Anyway, I better get back on track and start posting again before I start forgetting completely (again).

So, I’ve made quite some progress when it come sto the Enemy bullet and it’s pretty much done as it stands right now. The game currently has a […]

/ Comments Off on Summer Programming 2014 – Dev. Post 12
Program: Programming

Summer Programming 2014 – Dev. Post 11

Today I completed the Font manager which allowed me to in turn complete the graphical aspects of the main menu state as well (to be fair, it’s not all that advanced graphics, but hey, it’s something) so far, I pretty much only have a Start Game button and three-to-four buttons that do absolutley nothing.

I also started working on the enemy bullet which should be working in theory but has yet to tested properly. I also had several things pointed […]

/ Comments Off on Summer Programming 2014 – Dev. Post 11
Program: Programming

Summer Programming 2014 – Dev. Post 11

Today I completed the Font manager which allowed me to in turn complete the graphical aspects of the main menu state as well (to be fair, it’s not all that advanced graphics, but hey, it’s something) so far, I pretty much only have a Start Game button and three-to-four buttons that do absolutley nothing.

I also started working on the enemy bullet which should be working in theory but has yet to tested properly. I also had several things pointed […]

/ Comments Off on Summer Programming 2014 – Dev. Post 11
Program: Programming