check if computer or mobile

Game Editor comments and discussion.

check if computer or mobile

Postby Fojam » Sun May 20, 2012 11:00 pm

is there a function that can check whether your game is being played on a computer or on an iphone/ipod?
CLICK TO GIVE ME POINTS

My Latest Projects:
Super Smash Bros: viewtopic.php?f=6&t=12307 PLEASE help by making sprites!
User avatar
Fojam
 
Posts: 513
Joined: Thu Mar 19, 2009 10:02 pm
Location: under your bed!!!
Score: 69 Give a positive score

Re: check if computer or mobile

Postby skydereign » Sun May 20, 2012 11:25 pm

You can use the getHardwareID function to determine if the device is a mobile device.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: check if computer or mobile

Postby Fojam » Sun May 20, 2012 11:58 pm

i thought that only worked for pocket pc?
CLICK TO GIVE ME POINTS

My Latest Projects:
Super Smash Bros: viewtopic.php?f=6&t=12307 PLEASE help by making sprites!
User avatar
Fojam
 
Posts: 513
Joined: Thu Mar 19, 2009 10:02 pm
Location: under your bed!!!
Score: 69 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest