Android or iPhone?

Get help using Construct 2

Post » Fri Apr 05, 2013 8:01 pm

Hi All,

I'm thinking of using CocoonJS to export my games to both Android and iPhone.

Once it has been packaged by Coccon; Is there a way to tell (at runtime) whether the app is being run on an Android or an iPhone.

I ask as I need a way to indicate which market place URL I should direct the app to (for rating game).

Thanks for any help you can offer.
B
8
S
2
G
1
Posts: 63
Reputation: 880

Post » Sat Apr 06, 2013 2:10 am

I believe you can use some of the expressions from the browser object to help you out with that.

Here's the manual page:
https://www.scirra.com/manual/110/browser

I think the one's that you would be most interested are near the bottom, where you can get the name of the browser and the platform that its running on.
B
21
S
7
G
5
Posts: 89
Reputation: 5,967

Post » Sat Apr 06, 2013 9:26 am

Thanks for the reply @rabidsheep, I'll check out the link.
B
8
S
2
G
1
Posts: 63
Reputation: 880

Post » Thu Apr 11, 2013 10:51 am

There are so many market available where you can put your app for good rating. As per the Android concern i like to recommend a Google Play Store is the best place where you get the good rating of your game and iPhone concern i like to recommend an iTunes is the best place where you can get the good rating of your iPhone game.
B
2
Posts: 1
Reputation: 252

Post » Thu Apr 11, 2013 11:01 am

james, I think he is asking how to tell whether his app is running on Android or iPhone...
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Thu Apr 11, 2013 11:07 pm

Have you heard of the dropbox method to test your game via your android phone? Theres a cocoonjs app for android devices so using that and dropbox you can test out the games on the phones mobile browsers
B
18
S
4
G
3
Posts: 436
Reputation: 4,801


Return to How do I....?

Who is online

Users browsing this forum: Callan S, farfetchd83 and 13 guests