Create One Project for Multiple Platforms?

Get help using Construct 2

Post » Mon Jul 22, 2013 10:31 pm

I want to be able to reuse as much code between different native app versions... but there has to be differences too (GameCenter for iOS for example or IAP protocols)... How do you structure a project so it can target multiple devices without having a project per device?
B
22
S
4
G
1
Posts: 100
Reputation: 2,150

Post » Tue Jul 23, 2013 8:54 am

Hi @klkitchens,

The browser object has a 'Platform' expression which returns the platform your app is running on (see here).

And thehen's cool Windows Phone plugin, has an event to test if your app is on a Windows Phone.

Those should help to get you started.
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Tue Jul 23, 2013 12:56 pm

Excellent, thanks!
B
22
S
4
G
1
Posts: 100
Reputation: 2,150


Return to How do I....?

Who is online

Users browsing this forum: makkancs, Soulmachine and 11 guests