SYSTEM: is on platform...

  • Hello,

    I need some clarification for "is on platform" event:

    I use CocoonJS to make iOS and Android versions of my game.

    I want to devide my events with SYSTEM "is on platform".

    I see there iOS and android to chose from but i also see "CocoonJS" and that confuses me...

    Do i need to use that or can i split my events with iOS and Android platform?

    Do i need to use double conditions, both cocoonjs+ios as one platform and cocoon+android as other???

    Thanx!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You can use the CocoonJS to do stuff you would only do on platform that CocoonJS supports. E.g. if you also ship your game to platforms that CocoonJS does not support and you dont want specific stuff to happen on those platforms.

    See it as a hieraki. If you choose CocoonJS both your actions will be called on both IOS and Andriod. If you choose one specific like IOS it will only happen on that platform.

    So CocoonJS is just 1 step up the abstraction ladder.

  • thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)