Category Archives: 5SD022

Game dev, Suit’em up – 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 … Continue reading

Posted in 5SD022 | Tagged , , | Leave a comment

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 … Continue reading

Posted in 5SD022 | Leave a comment

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).

Posted in 5SD022 | Leave a comment

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!):

Posted in 5SD022 | Leave a comment

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:

Posted in 5SD022 | Leave a comment

Programming Project, day 28

My box vs circle wasn’t working the way it should. I tested it with very slow moving objects and after much rewriting (and a looooot of thinking / discussing with classmates / googling) it works very well. And I added … Continue reading

Posted in 5SD022 | Leave a comment

Programming Project, day 27

I’ve gotten all collisions except pixel perfect to work. Circle vs Box was tricky, but it works now. I have an offset to the top left that i don’t want, but otherwise it works great! The collision objects now fly … Continue reading

Posted in 5SD022 | Leave a comment

Programming Project, day 26

I’ve gotten box vs box collision to work, and added objects that collide in the main menu screen. I’m having some problems moving them around, I guess I’m getting tired. I’ll break here for now and continue tomorrow.

Posted in 5SD022 | Leave a comment

Programming Project, day 25

The OptionsSoundState works now, no freezing. I made a vector loop and didn’t increment. Damn it, how many times will I miss that? =) I didn’t change the sliders, they are still mediocre. I’m planning on adding collisions (between objects … Continue reading

Posted in 5SD022 | Leave a comment

Programming Project, day 24

Finally added music playlists to the AudioManager, so the manager is complete now. With the playlist handling, it is possible to create almost any amount of playlists with almost any number of songs in each one. I also improved the AudioManager … Continue reading

Posted in 5SD022 | Leave a comment