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:


/ Comments Off on Programming Project, day 29 – part 1
Program: Programming

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:


/ Comments Off on Programming Project, day 29 – part 1
Program: Programming

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 […]

/ Comments Off on Past 2 weeks
Program: Programming

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 […]

/ Comments Off on Past 2 weeks
Program: 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 […]

/ Comments Off on Programming assignment 2014-01-18
Program: 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 […]

/ Comments Off on Programming assignment 2014-01-18
Program: Programming

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 […]

/ Comments Off on Programming assignment 2014-01-(16-18)
Program: Programming

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 […]

/ Comments Off on Programming assignment 2014-01-(16-18)
Program: Programming

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 […]

/ Comments Off on Day 22
Program: Programming

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 […]

/ Comments Off on Day 22
Program: Programming

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%.
To balance the game was not so easy but is quite good now.
 

January 18, 2014 / Comments Off on Programming Project
Program: Programming

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%.
To balance the game was not so easy but is quite good now.
 

January 18, 2014 / Comments Off on Programming Project
Program: Programming

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%.
To balance the game was not so easy but is quite good now.
 

January 18, 2014 / Comments Off on Programming Project
Program: Programming

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%.
To balance the game was not so easy but is quite good now.
 

January 18, 2014 / Comments Off on Programming Project
Program: Programming

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 […]

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

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 […]

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

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 […]

/ Comments Off on Unexpected help
Program: Programming

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 […]

/ Comments Off on Unexpected help
Program: Programming

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.

/ Comments Off on Scroll
Program: Programming

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.

/ Comments Off on Scroll
Program: Programming

Cowboys And Citys

Welcome to year 2014!! How does it feel? not so much futuristic and different from year 2013 eh? well, I have had an amazing Christmas break, have visiting all my old friends, eating a lot of tasty food, went skiing in Åre over new year. Overall I had the best time of my life for a long time! wow, much joy, such fun, many great time!
Stop blogging stuff about your life and get back on track, dammit!
[…]

/ Comments Off on Cowboys And Citys
Program: Graphics

Cowboys And Citys

Welcome to year 2014!! How does it feel? not so much futuristic and different from year 2013 eh? well, I have had an amazing Christmas break, have visiting all my old friends, eating a lot of tasty food, went skiing in Åre over new year. Overall I had the best time of my life for a long time! wow, much joy, such fun, many great time!
Stop blogging stuff about your life and get back on track, dammit!
[…]

/ Comments Off on Cowboys And Citys
Program: Graphics

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 […]

/ Comments Off on Progress of the day
Program: Programming

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 […]

/ Comments Off on Progress of the day
Program: Programming