Jump to content

  • Log In with Google      Sign In   
  • Create Account


too_many_stars

Member Since 29 May 2013
Offline Last Active Apr 17 2014 11:57 AM
-----

#5129215 measuring efficiency in a game

Posted by too_many_stars on 05 February 2014 - 10:29 PM

Thanks for the advice guys, I will check out this profiler. It's incredible how much there is to learn in game programing.

 

Mike




#5129172 measuring efficiency in a game

Posted by too_many_stars on 05 February 2014 - 05:11 PM

Hello everyone,

 

I have a general question I have been thinking about for some time. My gaming experience so far has involved 2D side scrollers. Every now and then I read up on statements such as "trig ratio functions are resource expensive" and "SDL rotozoom should not be used as it's too costly."

 

I am sure that these statements are true, but how does a newbie game developer measure or keep track of how resource intensive a game is? Obviously when the application slows down I know too many resource are being used, but are there are programs, strategies or advice that someone can tell me about which will point me in the right direction in measuring program efficiency?

 

Thanks,

 

Mike




#5113414 Help with wait function in fps game please

Posted by too_many_stars on 30 November 2013 - 10:32 PM

Thanks for the input guys, I will do some work with it in a while, as I am trying to create a random dungeon generator right now.

 

The reason I limit the fps is because all noob tutorials do it that way, to keep things as simple as possible. Alghough I have seen plenty of examples using delta time it has not occured to me to apply it in a simply dungeon crawl.




#5066592 box collision detection help needed

Posted by too_many_stars on 31 May 2013 - 09:26 PM

Thanks BeerNuts,

 

I have heard of these libraries but thought it would be important to learn everthing from the bottom up (collision is the worst). I have also read that professional game studios and developers don't bother make their own code for physics etc, they just use 3rd party libraries. Do you think it's worth the time to and frustration to struggle with the collision and physics or should I not bother wasting time and just switch to the library you recommended?

 

Mike




#5066353 box collision detection help needed

Posted by too_many_stars on 31 May 2013 - 02:53 AM

Thanks for the help guys, Jdean300 has managed to solve my problem. I do understand your code now BeerNuts, and will try to rewrite it your way and see if I can get the same result as Jdean300 (which is working correctly).

 

Thanks again guys, you've been great help!

 

Mike




#5066139 box collision detection help needed

Posted by too_many_stars on 30 May 2013 - 08:22 AM

Thanks JDean300. I won't be back home until very late tonight and then I will definetly try out your change. Of course, I will let you know what happened. Thanks a lot for the help.

 

Is there some generally accepted, well written box collision code that 2D gamers use for different sides hitting? I would think something like that gets used all the time.

 

Thanks,

 

Mike




#5066066 box collision detection help needed

Posted by too_many_stars on 30 May 2013 - 01:22 AM

Thanks for the aid Jdean300, but it's still not working. The ball keeps bouncing back in the same direction.

 

This collision detection is a nightmare.




PARTNERS