Browsing 'Programming': Posts from Game Design and Programming
Programming assignment 2014-01-18
Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]
Programming assignment 2014-01-18
Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]
Programming assignment 2014-01-(16-18)
Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]
Programming assignment 2014-01-(16-18)
Been working around the clock but now I’ve finally got the menus working as intended, they all use the same window! This was achieved by making a pointer from engine’s drawmanager to every state so that they all received the same window.
UPDATE: I’ve added the a background color to every menu. And added it to the most updated collision version of the game. There is a lot of work to be done to make engine’s draw manager work everywhere. Almost […]
Day 22
Ok so…I thought I was finished with programming for this project but nope, Thanks to my classmate Tomas that spotted that my collision for box vs circle was wrongly made I went through the code and found also that circle vs circle was wrong.I fixed circle vs circle fairly easy and I have the solution for box vs circle in my grasp but I just can’t get the offset to work on the ball after the collision has occured and […]
Day 22
Ok so…I thought I was finished with programming for this project but nope, Thanks to my classmate Tomas that spotted that my collision for box vs circle was wrongly made I went through the code and found also that circle vs circle was wrong.I fixed circle vs circle fairly easy and I have the solution for box vs circle in my grasp but I just can’t get the offset to work on the ball after the collision has occured and […]
Programming Project
Today I have been working on SDL_Mix Volume and balancing the game. We can now set a volume value between 0-100% on both soundeffects and music. It enables us to set different volume levels for music and sound effects. We can do this by reading the value from a text file. Example, you can put music in the value of 50% while the sound effects have a value of 30%. Today I have been working on SDL_Mix Volume and balancing the game. We can now set a volume value between 0-100% on both soundeffects and music. It enables us to set different volume levels for music and sound effects. We can do this by reading the value from a text file. Example, you can put music in the value of 50% while the sound effects have a value of 30%.
To balance the game was not so easy but is quite good now.
Programming Project
To balance the game was not so easy but is quite good now.
Programming Project
Today I have been working on SDL_Mix Volume and balancing the game. We can now set a volume value between 0-100% on both soundeffects and music. It enables us to set different volume levels for music and sound effects. We can do this by reading the value from a text file. Example, you can put music in the value of 50% while the sound effects have a value of 30%. Today I have been working on SDL_Mix Volume and balancing the game. We can now set a volume value between 0-100% on both soundeffects and music. It enables us to set different volume levels for music and sound effects. We can do this by reading the value from a text file. Example, you can put music in the value of 50% while the sound effects have a value of 30%.
To balance the game was not so easy but is quite good now.
Programming Project
To balance the game was not so easy but is quite good now.
Frogger Dev. Post 24
We’re finally getting done. Today I just made a few small adjustments, added some minor functions and cleaned up the code. That work is going to continue tomorrow but not until after we’ve synchronised our work one last time. Once we’ve done that we’ll have to write the report and prepeare to hand it in.
On one hand I am glad to be done with this project as that means that I can move on to doing other things. I’ve most […]
Frogger Dev. Post 24
We’re finally getting done. Today I just made a few small adjustments, added some minor functions and cleaned up the code. That work is going to continue tomorrow but not until after we’ve synchronised our work one last time. Once we’ve done that we’ll have to write the report and prepeare to hand it in.
On one hand I am glad to be done with this project as that means that I can move on to doing other things. I’ve most […]
Unexpected help
Today was a…productive day, more that i would have thought when rolling out of bet at 10AM.
Me and Martin met up in the Game room where we both worked on the last things we wanted to put in the game. I worked on getting the sprites in the game and as it turned out the sprites were drawing but at the top left corner due to me making the collider of the Particle’s Gameobject a nullpointer when declaring it. Once […]
Unexpected help
Today was a…productive day, more that i would have thought when rolling out of bet at 10AM.
Me and Martin met up in the Game room where we both worked on the last things we wanted to put in the game. I worked on getting the sprites in the game and as it turned out the sprites were drawing but at the top left corner due to me making the collider of the Particle’s Gameobject a nullpointer when declaring it. Once […]
Scroll
I have implemented scrolling in my highscore state. So when the rows of highscore is bigger than the actual window, you can scroll down/up.
And I have also cleaned up my code ALOT.Tomorrow I will fix highscore ordering.
Scroll
I have implemented scrolling in my highscore state. So when the rows of highscore is bigger than the actual window, you can scroll down/up.
And I have also cleaned up my code ALOT.Tomorrow I will fix highscore ordering.
Progress of the day
Kept working on the Sound Manager, in order to the the Buttons to work accordingly. at the moment there are some issues with it, nothing to mayor though.
When pressing the Stop, then Play it will jump to the next song rather than restarting the one it stopped on. Should be quite easy to fix.
Blog posts are getting smaller, Not much left to create. and deadline approaches, Tomorrow ill have to start writing on the report due this Sunday as […]
Progress of the day
Kept working on the Sound Manager, in order to the the Buttons to work accordingly. at the moment there are some issues with it, nothing to mayor though.
When pressing the Stop, then Play it will jump to the next song rather than restarting the one it stopped on. Should be quite easy to fix.
Blog posts are getting smaller, Not much left to create. and deadline approaches, Tomorrow ill have to start writing on the report due this Sunday as […]
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 a few songs to the song lists. Maps seem to order themselves when using insert().
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 a few songs to the song lists. Maps seem to order themselves when using insert().
Programming Project Part 8
Today I changed the collisionmanager to add some more types of collision while refining the already existing ones, even though the types of collision I added are not used in the actual gameplay there will be a dev-room that has random stuff flying around and colliding just so i get the points for adding functional box vs box and circle vs circle-collision. I also added Score and HighScore that so far only checks if you’ve beaten the previous ones and […]
Programming Project Part 8
Today I changed the collisionmanager to add some more types of collision while refining the already existing ones, even though the types of collision I added are not used in the actual gameplay there will be a dev-room that has random stuff flying around and colliding just so i get the points for adding functional box vs box and circle vs circle-collision. I also added Score and HighScore that so far only checks if you’ve beaten the previous ones and […]
Spelprogrammering – Assignment – 17
Tic-tac-tic-tac. Time’s running out.
I’ve been hunkered down and working all day. I’ve realized that I’m pressed on time, so I’ve given up on some features in favor of others. For example I created the most basic GUI of all time in the bottom left corner that changes colour based on the amount of lives you have. I also added a “GAME OVER” screen, that shows up for three seconds until the game restarts itself.
Inadvertently, it’s causing memory leaks, which origin […]
Spelprogrammering – Assignment – 17
Tic-tac-tic-tac. Time’s running out.
I’ve been hunkered down and working all day. I’ve realized that I’m pressed on time, so I’ve given up on some features in favor of others. For example I created the most basic GUI of all time in the bottom left corner that changes colour based on the amount of lives you have. I also added a “GAME OVER” screen, that shows up for three seconds until the game restarts itself.
Inadvertently, it’s causing memory leaks, which origin […]