How do I check how the game was exported?

Get help using Construct 2

Post » Fri Oct 17, 2014 9:53 pm

For example

if [ on android cross walk ] -> call some function
if [ on html5 export ] -> call different function
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
13
S
4
Posts: 303
Reputation: 1,705

Post » Sat Oct 18, 2014 7:04 am

System -> is on mobile device
B
83
S
39
G
15
Posts: 985
Reputation: 16,743

Post » Sat Oct 18, 2014 4:09 pm

Does that flag get set for mobile browsers?

Does that flag get set in node?

That's not going to help me verify at runtime which export option was used to generate it.

Are there any javascript variables I can check against?
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
13
S
4
Posts: 303
Reputation: 1,705


Return to How do I....?

Who is online

Users browsing this forum: newday198913 and 11 guests