by Jon (Updated on 2015-10-17)
Stencyl supports the creation of native, standalone apps for Windows, Mac and Linux. These apps feature hardware accelerated graphics and consequently, better performance than their web or mobile counterparts.
Note: Publishing desktop games is a paid feature. Purchase a license to access this functionality.
You can either install Visual Studio on your own, or if you attempt to run a Windows app from Stencyl, we’ll download the Visual Studio installer for you and then ask you to run it. We'll assume the latter.
After opening up a game in Stencyl, select Run > Windows from the main menu.
Stencyl will download the Visual Studio installer to your system. After that finishes, run the installer.
To test your game, select Run > Windows from the main menu.
This step may take a while. You may find it useful to turn on the Log Viewer (View > Log Viewer) prior to running to see what's going on and catch any unforeseen errors.
To publish your game, select Publish > Desktop > Windows from the main menu. This will export your game as a ZIP containing an EXE and the resources associated with the game.
Note: We don't support exporting the game to a single, bundled EXE. We tried to wrap them in the past using free solutions, but they were (wrongly) flagged by AV software, so we discontinued that experiment. If you must wrap an EXE, you can use a thid party utility such as Molebox to do this.
If you don't have Xcode, install it from the Mac App Store.
Launch Xcode, go to its Preferences, flip to the Downloads Tab and install Command Line Tools.

To test your game, select Run > Mac from the main menu.
This step may take a while. You may find it useful to turn on the Log Viewer (View > Log Viewer) prior to running to see what's going on and catch any unforeseen errors.
When publishing for Mac, you have two options. You can publish for the Mac App Store (.PKG) or export the game as an App Bundle (.APP) for providing on a personal website.
Note: We’re not Linux experts, so if you run into issues or have edits to propose, please submit a pull request on Github. For additional tips, visit our Installing on Linux article.
Run sudo apt-get install ia32-libs-multiarch gcc-multilib g++-multilib to fetch those build tools if you are unsure.
On Ubuntu 12.04 or better? Run sudo apt-get install gcc-multilib g++-multilib instead.
To test your game, select Run > Linux from the main menu.
This step may take a while. You may find it useful to turn on the Log Viewer (View > Log Viewer) prior to running to see what's going on and catch any unforeseen errors.
To publish your game, select Publish > Desktop > Linux from the main menu.
No. You’ll need to use a friend’s Mac or figure out other ways to do this. The same goes for any “cross” platform combination. You can only publish to the platform of your host computer.
Yes. We have an article on that.
You can, but we don't directly export to a Windows Store ready format. You'll need to wrap the app up on your own.
Reboot after installing Visual Studio.