Browsing '5SD022': Game Programming I
Game dev – Game structure, Github, SFML and early version of the game.
We have sat down, us programmers, and discussed how we want the game built with engine, managers and states. We use a program for flowcharts called Dia. It seems to have some bugs though so maybe we will change it out. This is an early version of the flowchart I just mentioned. A work in progress:
We worked on it, got feedback and here below is the final version as it looks now. Things might change:
I added delta time […]
Game dev – Game structure, Github, SFML and early version of the game.
We have sat down, us programmers, and discussed how we want the game built with engine, managers and states. We use a program for flowcharts called Dia. It seems to have some bugs though so maybe we will change it out. This is an early version of the flowchart I just mentioned. A work in progress:
We worked on it, got feedback and here below is the final version as it looks now. Things might change:
I added delta time […]
Finished the R-kanoid game project
Now everything is completed, from the game to the report! But the journey hasn’t ended here, I’ve still a lot more to learn but this gave me a good insight of how it’s like to work with just another person and finish creating a game. I’m still nervous as if I’m actually going to pass this course or not, but I’ve done my best even though it could be better and I’ve tried my all but still… Now everything is completed, from the game to the report! But the journey hasn’t ended here, I’ve still a lot more to learn but this gave me a good insight of how it’s like to work with just another person and finish creating a game. I’m still nervous as if I’m actually going to pass this course or not, but I’ve done my best even though it could be better and I’ve tried my all but still…
Finished the R-kanoid game project
Game Programming I – Assignment day 25
Finished work on the code today and handed in the project.
The final work mostly consisted of making sure all cleanup functions did what they were supposed so that everything that needs to be deleted really is.
This should take care of memory leaks.
Also started writing the report.
Will finish it later today an upload it as well.
Game Programming I – Assignment day 25
Finished work on the code today and handed in the project.
The final work mostly consisted of making sure all cleanup functions did what they were supposed so that everything that needs to be deleted really is.
This should take care of memory leaks.
Also started writing the report.
Will finish it later today an upload it as well.
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.
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.
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 […]
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 […]
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 […]
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 […]
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.
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.
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 […]
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 […]
Programming Project, day 29 – part 3
There is now an option in the graphics options state to turn off the “menu objects effect” (the objects flying around colliding when in certain menu’s).
Programming Project, day 29 – part 3
There is now an option in the graphics options state to turn off the “menu objects effect” (the objects flying around colliding when in certain menu’s).
Programming Project, day 29 – part 2
Added a desert level and custom particle effects for it.
Now it’s time to check the circle vs circle collision again to see if it isn’t box vs box.
There is also an alien level (thanks to Ludde!):
Programming Project, day 29 – part 2
Added a desert level and custom particle effects for it.
Now it’s time to check the circle vs circle collision again to see if it isn’t box vs box.
There is also an alien level (thanks to Ludde!):
This is the end! Post #8
We wrapped up the last of our game last night. With Fabian’s fabulous dedication and with some guidance from Jerry we got TTF to work, and we now have everything we want in the game. Time to write the individual report today-tomorrow and then that’s the end of Game programming 1. Rushing into game programming 2 and game development next week.
This is the end! Post #8
We wrapped up the last of our game last night. With Fabian’s fabulous dedication and with some guidance from Jerry we got TTF to work, and we now have everything we want in the game. Time to write the individual report today-tomorrow and then that’s the end of Game programming 1. Rushing into game programming 2 and game development next week.
Programming Project, day 29 – part 1
I tidied up the code and removed some things that Isn’t needed.
I added map-change support (only sprite change) and added some types of sprites. A graphic student, Ludwig Lindstål, made many of the map-types.
This is the result:
Programming Project, day 29 – part 1
I tidied up the code and removed some things that Isn’t needed.
I added map-change support (only sprite change) and added some types of sprites. A graphic student, Ludwig Lindstål, made many of the map-types.
This is the result: