Monthly Archives: January 2014

Frogger Dev. Post 25

Today we focused on syncing our projects and writing the report. I still have a lot to go on the report but I believe that I can be done before the hand-in.

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

Frogger Dev. Post 25

Today we focused on syncing our projects and writing the report. I still have a lot to go on the report but I believe that I can be done before the hand-in.

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

Spelprogrammering – Assignment – 18

Spent most of the night writing my report. Although it’s almost four or five pages long already, I’m still not certain it’s written in the way Tommi had intended.
I’m not sure if I should fiddle with the code any more, as I’ve pretty much come to a full stop when it comes to my current abilities. I might as well just spend more time perfecting the report, and making sure that it’s in tip-top shape.

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

Spelprogrammering – Assignment – 18

Spent most of the night writing my report. Although it’s almost four or five pages long already, I’m still not certain it’s written in the way Tommi had intended.
I’m not sure if I should fiddle with the code any more, as I’ve pretty much come to a full stop when it comes to my current abilities. I might as well just spend more time perfecting the report, and making sure that it’s in tip-top shape.

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

TD – DONE!

Just sent in the game!
I think I have averaged about 10 hours each day this week. That is what happens when you get a late start and make most of the work the last 1.5 weeks. We counted the points we are going after, and if everything is accepted, we will score 105 points. Pass (G) are 65 points and Pass with Distinction (VG) are 90 points, if I remember correctly. So I’m really satisfied with the game. Even if […]

/ Comments Off on TD – DONE!
Program: Programming

TD – DONE!

Just sent in the game!
I think I have averaged about 10 hours each day this week. That is what happens when you get a late start and make most of the work the last 1.5 weeks. We counted the points we are going after, and if everything is accepted, we will score 105 points. Pass (G) are 65 points and Pass with Distinction (VG) are 90 points, if I remember correctly. So I’m really satisfied with the game. Even if […]

/ Comments Off on TD – DONE!
Program: Programming

Programming Project (The End)

Today I have been working with TTF and font. I created a font “How To Play”. When you hold your mouse pointer over it, a text will pop-up. The pop-up text describes how to play the game/ description of the game.  When you move away the mouse pointer from “How To Play” the pop-up text will disappear.
Andreé managed to get the highscore system to work. Where you can  type in your name  which then appear in a highscore list.

 
We have now […]

/ Comments Off on Programming Project (The End)
Program: Programming

Programming Project (The End)

Today I have been working with TTF and font. I created a font “How To Play”. When you hold your mouse pointer over it, a text will pop-up. The pop-up text describes how to play the game/ description of the game.  When you move away the mouse pointer from “How To Play” the pop-up text will disappear.
Andreé managed to get the highscore system to work. Where you can  type in your name  which then appear in a highscore list.

 
We have now […]

/ Comments Off on Programming Project (The End)
Program: Programming

Programming Project (The End)

Today I have been working with TTF and font. I created a font “How To Play”. When you hold your mouse pointer over it, a text will pop-up. The pop-up text describes how to play the game/ description of the game.  When you move away the mouse pointer from “How To Play” the pop-up text will disappear.
Andreé managed to get the highscore system to work. Where you can  type in your name  which then appear in a highscore list.

 
We have now […]

/ Comments Off on Programming Project (The End)
Program: Programming

Programming Project (The End)

Today I have been working with TTF and font. I created a font “How To Play”. When you hold your mouse pointer over it, a text will pop-up. The pop-up text describes how to play the game/ description of the game.  When you move away the mouse pointer from “How To Play” the pop-up text will disappear.
Andreé managed to get the highscore system to work. Where you can  type in your name  which then appear in a highscore list.

 
We have now […]

/ Comments Off on Programming Project (The End)
Program: Programming

KreakOut #10 – mm…text…

SDL_TTF now works and the player’s score and the high score is displayed when the game is over. Memory leaks has been checked for and the only ones we had came from the text-rendering which we got fixed after some tinkering (still don’t know exactly why we got it to work the way we did, but it works now).
Final blog-post, final picture. Now time to write that report, because reasons.

EDIT: Those two blocks that have been in the same position […]

/ Comments Off on KreakOut #10 – mm…text…
Program: Programming

KreakOut #10 – mm…text…

SDL_TTF now works and the player’s score and the high score is displayed when the game is over. Memory leaks has been checked for and the only ones we had came from the text-rendering which we got fixed after some tinkering (still don’t know exactly why we got it to work the way we did, but it works now).
Final blog-post, final picture. Now time to write that report, because reasons.

EDIT: Those two blocks that have been in the same position […]

/ Comments Off on KreakOut #10 – mm…text…
Program: Programming

Day 23, Last Day!

Today I checked for memory leaks and I found six of them!!!! well actually it was more like two.
In one place I created a textobject and a sprite was created a few lines before that as well at the same time but not used or deleted.And the animated sprites caused a leak when i deleted them because i deleted the sprite from the parent class and not the animated sprite in the actual object. I had already made the function […]

/ Comments Off on Day 23, Last Day!
Program: Programming

Day 23, Last Day!

Today I checked for memory leaks and I found six of them!!!! well actually it was more like two.
In one place I created a textobject and a sprite was created a few lines before that as well at the same time but not used or deleted.And the animated sprites caused a leak when i deleted them because i deleted the sprite from the parent class and not the animated sprite in the actual object. I had already made the function […]

/ Comments Off on Day 23, Last Day!
Program: Programming

Long time ago!

It’s been a long time since last time I posted. Today we fixed the screen getting a picture, and now I am looking att fixing collision between diffrent tiles in the game.

/ Comments Off on Long time ago!
Program: Programming

Long time ago!

It’s been a long time since last time I posted. Today we fixed the screen getting a picture, and now I am looking att fixing collision between diffrent tiles in the game.

/ Comments Off on Long time ago!
Program: Programming

Final Assignment – Construction

One half of the last assignment for our 2D graphics course was to construct a character from an allready drawn loose sketch. I decided to put what I’ve learned about line-weight finally to practise. Using “Kyle T Websters Ultimate Inking Thick n’ Thin” brush which can be bought here:https://gumroad.com/kyletwebster I could really emphasize where thicker lines should be.
To the left is the loose sketch and to the right is what I came up with

Working with thicker lines […]

/ Comments Off on Final Assignment – Construction
Program: Graphics

Final Assignment – Construction

One half of the last assignment for our 2D graphics course was to construct a character from an allready drawn loose sketch. I decided to put what I’ve learned about line-weight finally to practise. Using “Kyle T Websters Ultimate Inking Thick n’ Thin” brush which can be bought here:https://gumroad.com/kyletwebster I could really emphasize where thicker lines should be.
To the left is the loose sketch and to the right is what I came up with

Working with thicker lines […]

/ Comments Off on Final Assignment – Construction
Program: Graphics

Programming Project Part 9

This is the second to last day before deadline so today and tomorrow will be dedicated to fishing for as many points as possible, with a simple animation and a dev-room for collision-testing.
Today I added a timer to get an actual win-condition and not just a score to improve and I also adjusted some things to make the game a hell of a lot harder (faster missiles, smaller explosion and a limit to two explosions out at the same time) […]

/ Comments Off on Programming Project Part 9
Program: Programming

Programming Project Part 9

This is the second to last day before deadline so today and tomorrow will be dedicated to fishing for as many points as possible, with a simple animation and a dev-room for collision-testing.
Today I added a timer to get an actual win-condition and not just a score to improve and I also adjusted some things to make the game a hell of a lot harder (faster missiles, smaller explosion and a limit to two explosions out at the same time) […]

/ Comments Off on Programming Project Part 9
Program: Programming

Game Programming I – Assingment day 24

Worked more on the overlap function today.
box vs box and circle vs circle collisions now work better.
Added an enemy class called FoeLarge.
The FoeLarge is spawned at the middle of the x-line of coordinates no matter what resolution you set the game to.
The new enemy takes damage from bullets but not from the player.
The player collides with the large enemy but takes no damage.
Added victory and defeat conditions.
Helped a little with the options state.
 

/ Comments Off on Game Programming I – Assingment day 24
Program: Programming

Game Programming I – Assingment day 24

Worked more on the overlap function today.
box vs box and circle vs circle collisions now work better.
Added an enemy class called FoeLarge.
The FoeLarge is spawned at the middle of the x-line of coordinates no matter what resolution you set the game to.
The new enemy takes damage from bullets but not from the player.
The player collides with the large enemy but takes no damage.
Added victory and defeat conditions.
Helped a little with the options state.
 

/ Comments Off on Game Programming I – Assingment day 24
Program: Programming

Programming Project, day 29 – part 4 – Game complete and no memory leaks

I ran the Visual Leak Detector for Visual C++ 2008/2010/2012, and “No memory leaks detected.”. I thought for sure that I had forgotten some pointers somewhere.
I also put all #includes in a certain order in every .cpp file.
The game is done now, there is always improvements that can be made but I’m feeling pretty done now.
My final project score should be at least 110 points (that’s about top score), I may get extra points somewhere. I’ve got every single thing […]

/ Comments Off on Programming Project, day 29 – part 4 – Game complete and no memory leaks
Program: Programming

Programming Project, day 29 – part 4 – Game complete and no memory leaks

I ran the Visual Leak Detector for Visual C++ 2008/2010/2012, and “No memory leaks detected.”. I thought for sure that I had forgotten some pointers somewhere.
I also put all #includes in a certain order in every .cpp file.
The game is done now, there is always improvements that can be made but I’m feeling pretty done now.
My final project score should be at least 110 points (that’s about top score), I may get extra points somewhere. I’ve got every single thing […]

/ Comments Off on Programming Project, day 29 – part 4 – Game complete and no memory leaks
Program: Programming