|
2011-03-02
, 17:30
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#2
|
The Following User Says Thank You to Addison For This Useful Post: | ||
|
2011-03-02
, 18:16
|
Posts: 324 |
Thanked: 371 times |
Joined on Dec 2009
@ Vancouver, BC
|
#3
|
try: from osso import Context, DeviceState use_osso = True except: use_osso = False init() if use_osso: osso_c = Context("Flobby", "0.0.1", False) device = DeviceState(osso_c)
if use_osso: device.display_state_on()
The Following User Says Thank You to Slocan For This Useful Post: | ||
|
2011-03-02
, 21:44
|
Posts: 145 |
Thanked: 304 times |
Joined on Jan 2010
@ Milton Keynes, UK
|
#4
|
The Following User Says Thank You to jamiefuller For This Useful Post: | ||
|
2011-03-03
, 17:43
|
Posts: 324 |
Thanked: 371 times |
Joined on Dec 2009
@ Vancouver, BC
|
#5
|
My current app uses the accellerometer which is great but after 30 seconds the screen starts to dim, and then the screen saver kicks in...is there anyway to disable this while the game is playing?
Cheers
Jamie