Monthly Archives: December 2013

Finally hit effective work

Lot of good work done today too. We removed the screen warping since that was annoying on logs when the player would be put on the other side of the screen where there was no log and it wasn’t in the original game. I fixed the turtles not re-emerging from the water once they had dived down and also made it possible to make have only certain turtles dive while others stayed up all the time. Martin fixed the player […]

/ Comments Off on Finally hit effective work
Program: Programming

Finally hit effective work

Lot of good work done today too. We removed the screen warping since that was annoying on logs when the player would be put on the other side of the screen where there was no log and it wasn’t in the original game. I fixed the turtles not re-emerging from the water once they had dived down and also made it possible to make have only certain turtles dive while others stayed up all the time. Martin fixed the player […]

/ Comments Off on Finally hit effective work
Program: Programming

So, I’ve been really busy the last few days but now I’m back. Today I’ve been trying to get the sound to work, I close now. I also started to work on square collision. I’m planning on finishing the Sound and collision tomorrow.
Filed under: Uncategorized

/ Comments Off on
Program: Programming

So, I’ve been really busy the last few days but now I’m back. Today I’ve been trying to get the sound to work, I close now. I also started to work on square collision. I’m planning on finishing the Sound and collision tomorrow.
Filed under: Uncategorized

/ Comments Off on
Program: Programming

Frogger dev. Post 10

Herman got working on the menu today while I cleaned up some of the code and improved the gamestate. Later on, I took over the Menu while herman started with the HUD. We also set all of the objects correctly and applied the victory conditions, you can now win/lose the game, it looks the same though.
Today, there’s a little less than a week left of the project, I hope we make it in time…

/ Comments Off on Frogger dev. Post 10
Program: Programming

Frogger dev. Post 10

Herman got working on the menu today while I cleaned up some of the code and improved the gamestate. Later on, I took over the Menu while herman started with the HUD. We also set all of the objects correctly and applied the victory conditions, you can now win/lose the game, it looks the same though.
Today, there’s a little less than a week left of the project, I hope we make it in time…

/ Comments Off on Frogger dev. Post 10
Program: Programming

AI

I havn’t been writing for a couple of days because I haven’t had time to. I have done some programming though. My teammate and I had a meeting yesterday and we decided on a few things. He is working on the config-file which is good because that is at this time way over my head. I am a maths freak.
I am working on the AI. We want to have the Three states: Idle, the enemy is just hanging around, Attacking, […]

/ Comments Off on AI
Program: Programming

AI

I havn’t been writing for a couple of days because I haven’t had time to. I have done some programming though. My teammate and I had a meeting yesterday and we decided on a few things. He is working on the config-file which is good because that is at this time way over my head. I am a maths freak.
I am working on the AI. We want to have the Three states: Idle, the enemy is just hanging around, Attacking, […]

/ Comments Off on AI
Program: Programming

Day 8, Collision is making my head explode

I have added a PlayerObject class so I can finally move around my bar/pad (felt really good) but as soon as I implemented collision with the Playerobject it all went crazy. 
I have been debugging for hours to track down the little bugger and I have narrowed it down but I still can’t seem to find the problem. 
For some reason my playerobject get an offset of 6 pixels(collision box of player compared to player position)  and runs off up on the […]

/ Comments Off on Day 8, Collision is making my head explode
Program: Programming

Day 8, Collision is making my head explode

I have added a PlayerObject class so I can finally move around my bar/pad (felt really good) but as soon as I implemented collision with the Playerobject it all went crazy. 
I have been debugging for hours to track down the little bugger and I have narrowed it down but I still can’t seem to find the problem. 
For some reason my playerobject get an offset of 6 pixels(collision box of player compared to player position)  and runs off up on the […]

/ Comments Off on Day 8, Collision is making my head explode
Program: Programming

Much work today.

I’m having a hard time recalling all the work we did today, let’s see. We added a menu object class which will either hold a menu background with text on it or several text objects, we couldn’t agree on a solution. Doing so was more strictly programming compared to imputing sprite values and coordinate like i did yesterday, but i think i got it properly done and understood. I also adjusted the logs, the player’s screen warping and added a […]

/ Comments Off on Much work today.
Program: Programming

Much work today.

I’m having a hard time recalling all the work we did today, let’s see. We added a menu object class which will either hold a menu background with text on it or several text objects, we couldn’t agree on a solution. Doing so was more strictly programming compared to imputing sprite values and coordinate like i did yesterday, but i think i got it properly done and understood. I also adjusted the logs, the player’s screen warping and added a […]

/ Comments Off on Much work today.
Program: Programming

Cross-Plattform

The code has been optimised to compile on both Windows and OS X now (previously only optimised for OS X), the code should be compatible with Linux’s gcc compiler as well.
We still need to make a working soundmanager. SpriteManagers have been moved to to the states instead (since we don’t need the other sprites loaded into the memory while in another state), to work with that, the IMG_INIT() and IMG_QUIT has been moved to the Load() function instead. (IMG_INIT only […]

/ Comments Off on Cross-Plattform
Program: Programming

Cross-Plattform

The code has been optimised to compile on both Windows and OS X now (previously only optimised for OS X), the code should be compatible with Linux’s gcc compiler as well.
We still need to make a working soundmanager. SpriteManagers have been moved to to the states instead (since we don’t need the other sprites loaded into the memory while in another state), to work with that, the IMG_INIT() and IMG_QUIT has been moved to the Load() function instead. (IMG_INIT only […]

/ Comments Off on Cross-Plattform
Program: Programming

Game Programming I – Assignment day 10

Fixed the problem with the sound classes.
Turns out I forgot to – #pragma comment – the SDL and SDL_mixer libraries so it could not find the Mix-functions my classes called upon.
The sound works now with the exception of the stop function.
Very frustrating looking all over the place for a solution only to discover that you only forgot that one little thing….

/ Comments Off on Game Programming I – Assignment day 10
Program: Programming

Game Programming I – Assignment day 10

Fixed the problem with the sound classes.
Turns out I forgot to – #pragma comment – the SDL and SDL_mixer libraries so it could not find the Mix-functions my classes called upon.
The sound works now with the exception of the stop function.
Very frustrating looking all over the place for a solution only to discover that you only forgot that one little thing….

/ Comments Off on Game Programming I – Assignment day 10
Program: Programming

Frogger Dev. Post 09

For a while we’ve had the problem of the sprites of objects being smaller than their surroundings, we just fixed that by changin the size of the sprite sheet. The graphics are a little bit of a mix-and-match from different versions of Frogger but we’re not trying to win the best graphics ever awards we’re trying to make a functional game. Herman took care of most of the work concerning the sprite sheet while I tweaked the Player logic and […]

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

Frogger Dev. Post 09

For a while we’ve had the problem of the sprites of objects being smaller than their surroundings, we just fixed that by changin the size of the sprite sheet. The graphics are a little bit of a mix-and-match from different versions of Frogger but we’re not trying to win the best graphics ever awards we’re trying to make a functional game. Herman took care of most of the work concerning the sprite sheet while I tweaked the Player logic and […]

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

Github & config

Today I looked upp on GitHub and I created a repository with my work uploaded.I will try to push every evening so that everyone can see the final code. I’ll hope Laban contacts me soon because much of the code is already done.
I have get the bricks to load from file and they are drawed in the game state. I have to add collisions to them so the ball can bounce of it(and remove it).
I also had a small discussion […]

/ Comments Off on Github & config
Program: Programming

Github & config

Today I looked upp on GitHub and I created a repository with my work uploaded.I will try to push every evening so that everyone can see the final code. I’ll hope Laban contacts me soon because much of the code is already done.
I have get the bricks to load from file and they are drawed in the game state. I have to add collisions to them so the ball can bounce of it(and remove it).
I also had a small discussion […]

/ Comments Off on Github & config
Program: Programming

KreakOut – Day One

I just started by modifying the platformer-project that we already had (which will eventually be some kind of morph between that and the Pong game), so we will eventually have something we can build from.
 

/ Comments Off on KreakOut – Day One
Program: Programming

KreakOut – Day One

I just started by modifying the platformer-project that we already had (which will eventually be some kind of morph between that and the Pong game), so we will eventually have something we can build from.
 

/ Comments Off on KreakOut – Day One
Program: Programming

Graphical work

Today i have been adjusting the game’s spritesheet and the values put into each of the objects. Martin made a new method for creating gameobjects which made it easier for me to add values. He also made the collision system work properly and added a way to count the player’s lives. As of now the game shuts down when the player runs out of lives. I’m gonna be honest, i really think Martin is pulling most of the weight of […]

/ Comments Off on Graphical work
Program: Programming

Graphical work

Today i have been adjusting the game’s spritesheet and the values put into each of the objects. Martin made a new method for creating gameobjects which made it easier for me to add values. He also made the collision system work properly and added a way to count the player’s lives. As of now the game shuts down when the player runs out of lives. I’m gonna be honest, i really think Martin is pulling most of the weight of […]

/ Comments Off on Graphical work
Program: Programming