No no, I'm awesome.

posted in Digital Scrawl
Published May 22, 2006
Advertisement
So I'm wondering why Tuss Toss fps drops by about ten frames when there's around 100 or so particles on screen. I found it quite perplexing, so I decide to add some profiling code to find out the problem. Lo and behold I discover this wonderous line of code that I must have put in my infinite wisdom of a late night coding session:

// Stall for timing.System.Threading.Thread.Sleep(30);


Yep, way to test how long it took you to render the whole frame, dumbass. WTF you can't get 300fps in debug mode?!

Seriously though, I'm awesome.
0 likes 1 comments

Comments

acid2
Oh, don't worry, that's genious compared to me. I've done the exact same, cept with a sleep of 500. Top THAT :)
June 12, 2006 04:44 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement