What platform do I run on

Talk about making games.

What platform do I run on

Postby akr » Mon Oct 04, 2010 1:45 pm

I am not sure who asked me that but you can find out if u run on iphone or other devices:

if(strcmp(getHardwareID(),"iPhone OS")==0) then you are running on IPhone.

On windows plattforms it will return a serial number string as intended.

andreas
Co-Developer of GE engine

If u are interrested in new features of apple or android ge engines check the engine support website game-editor.net regulary.
akr
 
Posts: 453
Joined: Thu Feb 25, 2010 7:56 pm
Location: Germany, Ulm
Score: 40 Give a positive score

Re: What platform do I run on

Postby skydereign » Mon Oct 04, 2010 7:12 pm

I know I asked that, so thanks. That will help, but can it only tell on mobile devices? I guess it really doesn't matter if I can assume that if it returns null, then it is a computer... right?
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest