Game Development Community

GetVideoAccelerationLevel (code inside)

by amaranthia · in Torque Game Builder · 07/09/2008 (2:46 pm) · 3 replies

Hi everyone, I wanted to post the first of two functions that Bryce wrote so that we can determine what level of video acceleration a user has. We've found that in a lot of cases, a user may have hardware acceleration turned on, but only to 0, 1, 2, or 3. This function will help you determine what level your player is using.

Get code here:
www.garagegames.com/blogs/31491/15042

In the next post, I'll post SetVideoAccelerationLevel, which will let you change the acceleration level for your users.

#1
10/16/2008 (11:52 am)
Very nice!

Now the stupid question: in which way will this help me as developer? wich is the purpose to use this and apply to my games?

Thanks!
#2
10/16/2008 (1:45 pm)
Check these threads (not all are directly related to this function):
www.garagegames.com/mg/forums/result.thread.php?qt=77081
www.garagegames.com/mg/forums/result.thread.php?qt=76723

I don't see the SetVideoAccelerationLevel code, but maybe I haven't searched enough
#3
10/23/2008 (7:18 pm)
Hi there, you can use this to alert players with no/low video acceleration that they won't be able to play your game or that the game will run very slowly.

This is important if a user has no video acceleration or acceleration is 3 or below. There is a high probability that your game will simply crash on systems with no/limited video acceleration. You can use this to warn your users and to give them tips to optimize their system.