Daily Archives: January 18, 2014
Past 2 weeks
Ok, so I’ve been slacking off with the typing, and didn’t work for a week after new year. So here’s a summary.
I mentioned that SDL_Timer took a lot of CPU last time, and it was partially true, but not the sole reason. I had forgot to add SDL_delay(), causing the application to use any available CPU power, updating an arbitrary amount of times a second. after adding a delay of 10ms, it worked smoothly (albeit still use more CPU than […]
Past 2 weeks
Ok, so I’ve been slacking off with the typing, and didn’t work for a week after new year. So here’s a summary.
I mentioned that SDL_Timer took a lot of CPU last time, and it was partially true, but not the sole reason. I had forgot to add SDL_delay(), causing the application to use any available CPU power, updating an arbitrary amount of times a second. after adding a delay of 10ms, it worked smoothly (albeit still use more CPU than […]
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 […]