Author Archives: Simon Johansson

Programming assignment 2014-01-14

Today I worked on the music of the game. It started out good but I eventually realized that our stop function doesn’t work. So That one I have to get back to.
The bigger problem of the day were when I was going to add my animation (which worked) to the version my partner worked on. The problem is that he has added some arguments to make the collision work and it doesn’t play nice with the animation I did yesterday, […]

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

Programming assignment 2014-01-14

Today I worked on the music of the game. It started out good but I eventually realized that our stop function doesn’t work. So That one I have to get back to.
The bigger problem of the day were when I was going to add my animation (which worked) to the version my partner worked on. The problem is that he has added some arguments to make the collision work and it doesn’t play nice with the animation I did yesterday, […]

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

Programming assignment 2014-01-13

Today I fixed the issue with animation, there was a line of code that drew a sprite on top of my animation; So the animation worked all along! :D…At least I think so. 
 Moving on I started to work on the issues where we couldn’t stop and pause the music, the music handler we have right now can only handle one music clip playing so I decided to get the functions to work with the first music clip. When the user […]

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

Programming assignment 2014-01-13

Today I fixed the issue with animation, there was a line of code that drew a sprite on top of my animation; So the animation worked all along! :D…At least I think so. 
 Moving on I started to work on the issues where we couldn’t stop and pause the music, the music handler we have right now can only handle one music clip playing so I decided to get the functions to work with the first music clip. When the user […]

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

Programming assignment 2014-01-12

Quick update, been adding a way to get animations into the game. I used most of the animation methods that we used in the platform game. But then I got the problem where the old system was built on using a sprite sheet, so then I had to create a sprite sheet instead of tumbling in the dark for a solution for multiple-file-animation.
But not everything went smooth; I have a ”error”, well not a real error but I want the […]

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

Programming assignment 2014-01-12

Quick update, been adding a way to get animations into the game. I used most of the animation methods that we used in the platform game. But then I got the problem where the old system was built on using a sprite sheet, so then I had to create a sprite sheet instead of tumbling in the dark for a solution for multiple-file-animation.
But not everything went smooth; I have a ”error”, well not a real error but I want the […]

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

Programming assignment 2014-01-11

Today I’ve been reading up on different methods saving collision data while my co-worker worked on the collision manager, there seem to be one million different ways to do it but we have decided to try to make a way to check collision but also check what’s colliding because we want different things to happen to different types of collisions. 
Other than that I started to work on animation, which I have to modify to get it to work, in previous […]

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

Programming assignment 2014-01-11

Today I’ve been reading up on different methods saving collision data while my co-worker worked on the collision manager, there seem to be one million different ways to do it but we have decided to try to make a way to check collision but also check what’s colliding because we want different things to happen to different types of collisions. 
Other than that I started to work on animation, which I have to modify to get it to work, in previous […]

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

Programming assignment 2014-01-09

We’ve gotten gamestate to work by moving all the processes done in engine regarding the game running into the gamestate. It was almost like writing another engine but just for running the game. I don’t know if I’ve mentioned it but we had a sound bug where the bullet sound played a lot of times per button press, this was fixed by adding a keyboard update after the event checker. 
Now back to the states, we got a menu working, but […]

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

Programming assignment 2014-01-09

We’ve gotten gamestate to work by moving all the processes done in engine regarding the game running into the gamestate. It was almost like writing another engine but just for running the game. I don’t know if I’ve mentioned it but we had a sound bug where the bullet sound played a lot of times per button press, this was fixed by adding a keyboard update after the event checker. 
Now back to the states, we got a menu working, but […]

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

Programming assignment 2014-01-08

Today we started to add classes, we got them implemented as such we can decide in the console between different states. The obstacle we’re facing now is how we’re supposed to connect the game’s engine methods to the different states. Creating a menu shouldn’t be that hard, just creating a window and draw stuff on there (I am well aware that there is more than just ”adding stuff” to get it working). But all together we’ve made some progress today. […]

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

Programming assignment 2014-01-08

Today we started to add classes, we got them implemented as such we can decide in the console between different states. The obstacle we’re facing now is how we’re supposed to connect the game’s engine methods to the different states. Creating a menu shouldn’t be that hard, just creating a window and draw stuff on there (I am well aware that there is more than just ”adding stuff” to get it working). But all together we’ve made some progress today. […]

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

Programming assignment: First day of school, again! 2014-01-07

Did a little progress on bullet but we had to ask for a bit of help because we didn’t know how we would get the player to spawn the bullet(the player isn’t really supposed to spawn the bullet but we want the user to believe that) other than that I lowered the sound of the gun sound and also changed it to a laser blaster sound so it would be more spacy-wacy.

/ Comments Off on Programming assignment: First day of school, again! 2014-01-07
Program: Programming

Programming assignment: First day of school, again! 2014-01-07

Did a little progress on bullet but we had to ask for a bit of help because we didn’t know how we would get the player to spawn the bullet(the player isn’t really supposed to spawn the bullet but we want the user to believe that) other than that I lowered the sound of the gun sound and also changed it to a laser blaster sound so it would be more spacy-wacy.

/ Comments Off on Programming assignment: First day of school, again! 2014-01-07
Program: Programming

Help?! 2014-01-04

So I haven’t made much progress the past couple of days because everytime I try to do something I get errors and when the errors are fixed, new ones pop up instead. Been trying to get the game to read spwan points from a file but that didn’t work, have also tried to make a player controller enemy..that didn’t work and I’ve been looking for ways to spawn random objects on the screen like in asteroids but I can’t find […]

/ Comments Off on Help?! 2014-01-04
Program: Programming

Help?! 2014-01-04

So I haven’t made much progress the past couple of days because everytime I try to do something I get errors and when the errors are fixed, new ones pop up instead. Been trying to get the game to read spwan points from a file but that didn’t work, have also tried to make a player controller enemy..that didn’t work and I’ve been looking for ways to spawn random objects on the screen like in asteroids but I can’t find […]

/ Comments Off on Help?! 2014-01-04
Program: Programming

Programming assignment 2013-12-27

Begun on the enemies today and thought that if I create one player controlled enemy at the start I can check all collisions quickly instead of chasing after a randomly moved object like we did in pong. The similarities to player are many at the moment. Been also looking at how we could implement a background but when I google for it I always end up with solutions that are written in a single file and we have headers and […]

/ Comments Off on Programming assignment 2013-12-27
Program: Programming

Programming assignment 2013-12-27

Begun on the enemies today and thought that if I create one player controlled enemy at the start I can check all collisions quickly instead of chasing after a randomly moved object like we did in pong. The similarities to player are many at the moment. Been also looking at how we could implement a background but when I google for it I always end up with solutions that are written in a single file and we have headers and […]

/ Comments Off on Programming assignment 2013-12-27
Program: Programming

Programming assignment 2013-12-27

Been working a bit more on collision and added level.h and level.cpp. However I’m getting an error code telling me that the float Z in collision cant handle right expression. Need to dig a bit deeper to fin out what’s the problem. But for the moment that’s my only error code…hehe… I think.  

/ Comments Off on Programming assignment 2013-12-27
Program: Programming

Programming assignment 2013-12-27

Been working a bit more on collision and added level.h and level.cpp. However I’m getting an error code telling me that the float Z in collision cant handle right expression. Need to dig a bit deeper to fin out what’s the problem. But for the moment that’s my only error code…hehe… I think.  

/ Comments Off on Programming assignment 2013-12-27
Program: Programming

Programming assignment 2013-12-22

Been doing the input and the collider part but my partner rewrote the input because we didn’t have the same writing method for names. It’s important to make the code read-able but I find it hard to adapt to another person’s style of writing. I’ve been coding on and off for four years now and it’s hard to change my habits but I’m really trying to make it work. For the moment it’s a bit of a speed bump but […]

/ Comments Off on Programming assignment 2013-12-22
Program: Programming

Programming assignment 2013-12-22

Been doing the input and the collider part but my partner rewrote the input because we didn’t have the same writing method for names. It’s important to make the code read-able but I find it hard to adapt to another person’s style of writing. I’ve been coding on and off for four years now and it’s hard to change my habits but I’m really trying to make it work. For the moment it’s a bit of a speed bump but […]

/ Comments Off on Programming assignment 2013-12-22
Program: Programming

Programming assignment 2013-12-20

Started to write the whole input segment to make our space ship move but I’m getting a memory access violation so have to dig a bit deeper to find out why. But we have started to talk about what buttons we want to use. We think that we are going to use the arrows + some button for firing our weapon, space maybe? Overall it’s been a productive day so I’m happy ^_^

/ Comments Off on Programming assignment 2013-12-20
Program: Programming

Programming assignment 2013-12-20

Started to write the whole input segment to make our space ship move but I’m getting a memory access violation so have to dig a bit deeper to find out why. But we have started to talk about what buttons we want to use. We think that we are going to use the arrows + some button for firing our weapon, space maybe? Overall it’s been a productive day so I’m happy ^_^

/ Comments Off on Programming assignment 2013-12-20
Program: Programming