Browsing 'Game Design': Posts from either of the Game Design programs

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

Programming Project, day 14

Now there are three different options states within the main menu options state. One for sound, one for graphics and one serves as a menu to the other two. I plan on adding controls as a forth state later on.
In the graphics state there are three options for the window resolution. The code is flexible enough to handle almost any resolution now. The tile size gets bigger if there is space for it within the window resolution. Currently, the only […]

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

Programming Project, day 14

Now there are three different options states within the main menu options state. One for sound, one for graphics and one serves as a menu to the other two. I plan on adding controls as a forth state later on.
In the graphics state there are three options for the window resolution. The code is flexible enough to handle almost any resolution now. The tile size gets bigger if there is space for it within the window resolution. Currently, the only […]

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

Spelprogrammering I – Assignment – 6

I’ve caught a nasty cold. And as we all know, when a man has a cold, we’re on the brink of death.
I’m currently working on collision for our Arkanoid game, although the logic doesn’t quite make any sense to me in my feverish state of mind.

/ Comments Off on Spelprogrammering I – Assignment – 6
Program: Programming

Spelprogrammering I – Assignment – 6

I’ve caught a nasty cold. And as we all know, when a man has a cold, we’re on the brink of death.
I’m currently working on collision for our Arkanoid game, although the logic doesn’t quite make any sense to me in my feverish state of mind.

/ Comments Off on Spelprogrammering I – Assignment – 6
Program: Programming