Daily Archives: January 14, 2014

No post today

I didn’t manage to make a post today due to a minor family emergency.
I’ll expand more on what i did today tomorrow but i did fix the issue i was having.

/ Comments Off on No post today
Program: Programming

No post today

I didn’t manage to make a post today due to a minor family emergency.
I’ll expand more on what i did today tomorrow but i did fix the issue i was having.

/ Comments Off on No post today
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-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

Frogger Dev. Post 21

Started remaking the Soundmanager so that it can use a playlist-like function. Upon loading the music it plays the intro theme and then jumps straight to a random song that has been loaded. It’s all done by reading from a text file and then creating a Music clip based on that. While I have used code for reading text from a file before I was never really sure about how it was working, but with this part I’ve pretty much […]

/ Comments Off on Frogger Dev. Post 21
Program: Programming

Frogger Dev. Post 21

Started remaking the Soundmanager so that it can use a playlist-like function. Upon loading the music it plays the intro theme and then jumps straight to a random song that has been loaded. It’s all done by reading from a text file and then creating a Music clip based on that. While I have used code for reading text from a file before I was never really sure about how it was working, but with this part I’ve pretty much […]

/ Comments Off on Frogger Dev. Post 21
Program: Programming

Managing Managers

Most of the work these few days have been about going through every GameObjectManager and CollisionManager so they work with the rest of the program flawlessly. It was hard considering I’ve never really written any code before this, I mean coming from nothing and creating a c++ frogger game you really feel the creative pain. The problem I am having is learning pointers and moving them around + shaping my lingua by asking the correct questions to my amazing and […]

/ Comments Off on Managing Managers
Program: Programming

Managing Managers

Most of the work these few days have been about going through every GameObjectManager and CollisionManager so they work with the rest of the program flawlessly. It was hard considering I’ve never really written any code before this, I mean coming from nothing and creating a c++ frogger game you really feel the creative pain. The problem I am having is learning pointers and moving them around + shaping my lingua by asking the correct questions to my amazing and […]

/ Comments Off on Managing Managers
Program: Programming

Managing Managers

Most of the work these few days have been about going through every GameObjectManager and CollisionManager so they work with the rest of the program flawlessly. It was hard considering I’ve never really written any code before this, I mean coming from nothing and creating a c++ frogger game you really feel the creative pain. The problem I am having is learning pointers and moving them around + shaping my lingua by asking the correct questions to my amazing and […]

/ Comments Off on Managing Managers
Program: Programming

Managing Managers

Most of the work these few days have been about going through every GameObjectManager and CollisionManager so they work with the rest of the program flawlessly. It was hard considering I’ve never really written any code before this, I mean coming from nothing and creating a c++ frogger game you really feel the creative pain. The problem I am having is learning pointers and moving them around + shaping my lingua by asking the correct questions to my amazing and […]

/ Comments Off on Managing Managers
Program: Programming

Spelprogrammering – Assignment – 14

Re-worked the collision of the DY/DX of the paddle. It’s still a bit buggy, but it’s more stable (and fancier) than the old version. So there’s currently two different collision checks, one for the Bricks-> Ball, and one for the Player->Ball. 
I’ve also started the groundwork for a StateManager with some help from another student. The object here is to create a Menu that goes MenuState->GameState->WinState/LooseState(With an Option to restart the game or go back to menu).
But first, I’m implementing an […]

/ Comments Off on Spelprogrammering – Assignment – 14
Program: Programming

Spelprogrammering – Assignment – 14

Re-worked the collision of the DY/DX of the paddle. It’s still a bit buggy, but it’s more stable (and fancier) than the old version. So there’s currently two different collision checks, one for the Bricks-> Ball, and one for the Player->Ball. 
I’ve also started the groundwork for a StateManager with some help from another student. The object here is to create a Menu that goes MenuState->GameState->WinState/LooseState(With an Option to restart the game or go back to menu).
But first, I’m implementing an […]

/ Comments Off on Spelprogrammering – Assignment – 14
Program: Programming

Audio is up! Post #6

The mission of today was to make the audio work, and it does! To begin the day we focused on some smaller details and made the ball move with the x-axis of the paddle the player control when the ball is idle (i.e. when it spawns). Before the ball would just reset it’s position but keep it’s direction, meaning if you lost once you would probably instantly lose twice again for a game over because the ball just resets and […]

/ Comments Off on Audio is up! Post #6
Program: Programming

Audio is up! Post #6

The mission of today was to make the audio work, and it does! To begin the day we focused on some smaller details and made the ball move with the x-axis of the paddle the player control when the ball is idle (i.e. when it spawns). Before the ball would just reset it’s position but keep it’s direction, meaning if you lost once you would probably instantly lose twice again for a game over because the ball just resets and […]

/ Comments Off on Audio is up! Post #6
Program: Programming

Audio is up! Post #6

The mission of today was to make the audio work, and it does! To begin the day we focused on some smaller details and made the ball move with the x-axis of the paddle the player control when the ball is idle (i.e. when it spawns). Before the ball would just reset it’s position but keep it’s direction, meaning if you lost once you would probably instantly lose twice again for a game over because the ball just resets and […]

/ Comments Off on Audio is up! Post #6
Program: Programming

Audio is up! Post #6

The mission of today was to make the audio work, and it does! To begin the day we focused on some smaller details and made the ball move with the x-axis of the paddle the player control when the ball is idle (i.e. when it spawns). Before the ball would just reset it’s position but keep it’s direction, meaning if you lost once you would probably instantly lose twice again for a game over because the ball just resets and […]

/ Comments Off on Audio is up! Post #6
Program: Programming

Linking errors, .dll and collision makes for a groundbreaking day

Welcome everyone to another day of hard work and everything that comes with that.
Today, the thirteenth of January, I got some help from one of our student councillors with my previous problem, which to anyone out there with a similar problem is the missing of the SDL.dll file from your debug directory. As well as multiple includes of “SDL.h”, which causes the library and the main to go nuts. So pragma comment SDL2.lib and SDL2main.lib as well as including SDL.h […]

/ Comments Off on Linking errors, .dll and collision makes for a groundbreaking day
Program: Programming

Linking errors, .dll and collision makes for a groundbreaking day

Welcome everyone to another day of hard work and everything that comes with that.
Today, the thirteenth of January, I got some help from one of our student councillors with my previous problem, which to anyone out there with a similar problem is the missing of the SDL.dll file from your debug directory. As well as multiple includes of “SDL.h”, which causes the library and the main to go nuts. So pragma comment SDL2.lib and SDL2main.lib as well as including SDL.h […]

/ Comments Off on Linking errors, .dll and collision makes for a groundbreaking day
Program: Programming

Finite State Machines

Hi again
It is time for bloging again. I have neglected the bloging for some time. I have many times prioritized actual studies instead of bloging.
It is only a few days left and I am not sure if we will make the first deadline and have everything to pass the course.
Here is a little recap of my last update and what’s been going on since then:
I was doing the AI and had just discovered a way to get one object to […]

/ Comments Off on Finite State Machines
Program: Programming

Finite State Machines

Hi again
It is time for bloging again. I have neglected the bloging for some time. I have many times prioritized actual studies instead of bloging.
It is only a few days left and I am not sure if we will make the first deadline and have everything to pass the course.
Here is a little recap of my last update and what’s been going on since then:
I was doing the AI and had just discovered a way to get one object to […]

/ Comments Off on Finite State Machines
Program: Programming

Programming Project part 6

The game now spawns a random missile and draws it out all the way down, instead of just having one small object moving down. The problem now is that the vector that contains the old positions gets completely crushed by the amount of positions saved; after the second missile restarts and tries to clear the vector there are more than 500 objects inside the vector, the deletionloop only removes a bit more than half of them for some reason and […]

/ Comments Off on Programming Project part 6
Program: Programming

Programming Project part 6

The game now spawns a random missile and draws it out all the way down, instead of just having one small object moving down. The problem now is that the vector that contains the old positions gets completely crushed by the amount of positions saved; after the second missile restarts and tries to clear the vector there are more than 500 objects inside the vector, the deletionloop only removes a bit more than half of them for some reason and […]

/ Comments Off on Programming Project part 6
Program: Programming

Have done more files

This R-kanoid game project is coming to an end and I’ve done 8 more files, and those are 4 header (.h(pp)) files and 4 source files (.cpp). In detail it was the AnimatedSprite, Collide, PauseState and WinState files. It is hard to understand them but I managed to do them still all thanks to my much better colleague Georgios who’s done an awesome job with both making about 90 % more than me and also explaining things to me so that […]

/ Comments Off on Have done more files
Program: Programming

Have done more files

This R-kanoid game project is coming to an end and I’ve done 8 more files, and those are 4 header (.h(pp)) files and 4 source files (.cpp). In detail it was the AnimatedSprite, Collide, PauseState and WinState files. It is hard to understand them but I managed to do them still all thanks to my much better colleague Georgios who’s done an awesome job with both making about 90 % more than me and also explaining things to me so that […]

/ Comments Off on Have done more files
Program: Programming