Browsing '5SD022': Game Programming I

Pogramming Project

Only a few days left before submission and we have some important parts left to work on.
Today i have been working on game music. we l have two different music clip. One for start state and one for the game state. We have also fixed so the music will replaying when it ends.
we will continue to work with Win-condition,Lose-condition, money system),Tower price, highscore system, and (pause game) .
 

/ Comments Off on Pogramming Project
Program: Programming

Pogramming Project

Only a few days left before submission and we have some important parts left to work on.
Today i have been working on game music. we l have two different music clip. One for start state and one for the game state. We have also fixed so the music will replaying when it ends.
we will continue to work with Win-condition,Lose-condition, money system),Tower price, highscore system, and (pause game) .
 

/ Comments Off on Pogramming Project
Program: Programming

Programming Project, day 25

The OptionsSoundState works now, no freezing. I made a vector loop and didn’t increment. Damn it, how many times will I miss that? =) I didn’t change the sliders, they are still mediocre.
I’m planning on adding collisions (between objects in the background) in the main menu for extra points. Without it I have 90 points right now, perhaps 95 if I have no memory leaks.
I changed the particle effects so that they look a little more “3D”.
I also added a […]

/ Comments Off on Programming Project, day 25
Program: Programming

Programming Project, day 25

The OptionsSoundState works now, no freezing. I made a vector loop and didn’t increment. Damn it, how many times will I miss that? =) I didn’t change the sliders, they are still mediocre.
I’m planning on adding collisions (between objects in the background) in the main menu for extra points. Without it I have 90 points right now, perhaps 95 if I have no memory leaks.
I changed the particle effects so that they look a little more “3D”.
I also added a […]

/ Comments Off on Programming Project, day 25
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

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

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

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

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

Select name state

Today I created a state called Intro where youcan create a name(for Highscore).
You simply press those letters you want and then you can start the menu screen.
This is a pre beginning to highscore which will save the name, score and possible time into a file.

/ Comments Off on Select name state
Program: Programming

Select name state

Today I created a state called Intro where youcan create a name(for Highscore).
You simply press those letters you want and then you can start the menu screen.
This is a pre beginning to highscore which will save the name, score and possible time into a file.

/ Comments Off on Select name state
Program: Programming

Frogger…. One Step Closer….


Getting closer everyday to recreating Frogger. Today i struggled with an InputManager, until i got it explained how it should be used. Then it turned out very useful, but the time i spend staring into the code… Makes me feel a little bit stupid afterwards.
Besides getting the Input to work properly, there was also changes to the music, as it now supports a playlist, and with a Next Song functions. Also added a ConfigurationFile, that handles at this moment […]

/ Comments Off on Frogger…. One Step Closer….
Program: Programming

Frogger…. One Step Closer….


Getting closer everyday to recreating Frogger. Today i struggled with an InputManager, until i got it explained how it should be used. Then it turned out very useful, but the time i spend staring into the code… Makes me feel a little bit stupid afterwards.
Besides getting the Input to work properly, there was also changes to the music, as it now supports a playlist, and with a Next Song functions. Also added a ConfigurationFile, that handles at this moment […]

/ Comments Off on Frogger…. One Step Closer….
Program: Programming

Programming Project, day 24

Finally added music playlists to the AudioManager, so the manager is complete now. With the playlist handling, it is possible to create almost any amount of playlists with almost any number of songs in each one. I also improved the AudioManager in it’s entirety. It now holds all sounds and musics in two std::map’s along with a string (name). To play a sound/change music playlist, just a function call with a string argument to the audiomanager is needed.
Although, doing this I […]

/ Comments Off on Programming Project, day 24
Program: Programming

Programming Project, day 24

Finally added music playlists to the AudioManager, so the manager is complete now. With the playlist handling, it is possible to create almost any amount of playlists with almost any number of songs in each one. I also improved the AudioManager in it’s entirety. It now holds all sounds and musics in two std::map’s along with a string (name). To play a sound/change music playlist, just a function call with a string argument to the audiomanager is needed.
Although, doing this I […]

/ Comments Off on Programming Project, day 24
Program: Programming