Browsing '5SD022': Game Programming I

KreakOut #2 – Woo, ball!

I’m more of a picture-guy, but this blog-plugin doesn’t like me nor my posts (trust me, I own more than one computer which automatically makes me an expert).
Anyhow, today I worked on getting the ball in there. At the moment I’ve mostly done the same as with the PlayerObject, but for the ball. There’s a currently a lack of movement on the ball, but that should go quick to fix using the Pong-project. The collisions are going to be interesting […]

/ Comments Off on KreakOut #2 – Woo, ball!
Program: Programming

KreakOut #2 – Woo, ball!

I’m more of a picture-guy, but this blog-plugin doesn’t like me nor my posts (trust me, I own more than one computer which automatically makes me an expert).
Anyhow, today I worked on getting the ball in there. At the moment I’ve mostly done the same as with the PlayerObject, but for the ball. There’s a currently a lack of movement on the ball, but that should go quick to fix using the Pong-project. The collisions are going to be interesting […]

/ Comments Off on KreakOut #2 – Woo, ball!
Program: Programming

Programming Project, day 15

The menu’s are a bit more flexible now and the buttons are always centered on the screen.

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

Programming Project, day 15

The menu’s are a bit more flexible now and the buttons are always centered on the screen.

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

Not as effective work.

Today we worked separately, Martin added a way to increase the object speeds when completing levels and started work on a soundmanager(which is now put on ice since we decided that the HUD is more important). I worked on getting text into the game and looked up tutorials online to see how that worked, i found two that really helped me understand how to do it, however i failed to adjust the code from that into our code. I put the […]

/ Comments Off on Not as effective work.
Program: Programming

Not as effective work.

Today we worked separately, Martin added a way to increase the object speeds when completing levels and started work on a soundmanager(which is now put on ice since we decided that the HUD is more important). I worked on getting text into the game and looked up tutorials online to see how that worked, i found two that really helped me understand how to do it, however i failed to adjust the code from that into our code. I put the […]

/ Comments Off on Not as effective work.
Program: Programming

Yesterday, the day before 2014 I updated the ball collision function with the bricks.But since I proceeded from our already finished collision which uses x and y as the center I couldnt not get it to work since we draw from the upper corner. I have added some more functions in to the Utils class. Not much more has been done that day.
Oh, I also helped out Laban with some configurations. I can’t believe hes been stuck that long time […]

/ Comments Off on
Program: Programming

Yesterday, the day before 2014 I updated the ball collision function with the bricks.But since I proceeded from our already finished collision which uses x and y as the center I couldnt not get it to work since we draw from the upper corner. I have added some more functions in to the Utils class. Not much more has been done that day.
Oh, I also helped out Laban with some configurations. I can’t believe hes been stuck that long time […]

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

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

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

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

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