Skip to content

10. Merging game and controller

Psycho edited this page Oct 22, 2017 · 3 revisions

Since a while now, the plugin offers the possibility to create your controllers directly in Construct3 by simply checking a property. That allows you to create a rich and interactive controller experience directly within your favorite editor.

Once you have your controller created, well, things might be unclear when it comes to putting the game and the controller together, as bth your projects share the same filenames. Don't worry, the solution is right here!

A game from nothing to a zipped package

  • Create a game on Construct3

  • Export it as HTML wherever you want on your computer

  • Create a controller on Construct3 exactly the same way you'd do a game. Don't forget to tick "Is controller" in the plugin properties!

  • Export the controller project as html wherever you want on your computer, just... not the same folder as the game you exported just before!

  • Create a directory on your computer, name it the name of your game

  • Download AirConsole Merger and run it

  • acmerger

  • Select your screen directory. This is the directory where you just exported your game on the first step of this guide

  • Select your controller directory. This is the directory where you just exported your controller on the third step of this guide

  • Select the final destination directory. This is the directory you created on the fifth step of this guide

  • Choose whether to delete the unused index files. Construct2/3 create index.html files that must be renamed to screen.html and controller.html for AirConsole. Choose this option if you want to delete the original files

  • Choose whether to zip the project. The resulting zip file can be uploaded directly to your AirConsole dev console

  • Click on Merge!

  • Your merged project is done and ready to be tested in the destination directory!

Clone this wiki locally