Configurations?

0 favourites
  • 3 posts
  • Er, how do correctly use this and what's it for?

    I kinda need it so I don't make one project for each platform.

    For instance, I want to use the "Touch" object, but only when developing for mobile. If I want to deploy via Node Webkit, I don't want to use it.

    Can this be done?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Configuration I think is a carry over. At C2 first inception C2 was going to support multi export to various languages nativly(JS, C++, Java, ObjC...). However that was dropped real fast. So Configuration doesn't do anything and probably won't in the years to come.

    As for Touch. Since Mouse also simulates Touch input and Touch will react to Mouse input. I suggest use Touch for all Left Click based actions. You only need Mouse when you need the active mouse location for say "is mouse over", or other mouse buttons as in Right click, scroll wheel so on.

    I took over a project once that used Mouse only, but was some day going to be a mobile game. Slowly over a week I modified all the Input to Touch. Except that I left key elements where I need the Mouse X/Y when I wanted an object to follow or highlight the button. Worked fine. When I ran the game on mobile device. The game still ran fine. Except I didn't of course have any mouse features.

  • Thanks.

    My current game has no mouse input but will have to insert tons of events if I port it to mobile =

    Oh well, at least it's good to know for the next game, I'll prepare this stuff beforehand.

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