Publishing a Windows/Mac/Linux Game
by Jon (Updated on 2014-12-14)
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.
- Windows XP / Windows 7 or better. We do NOT support Windows Vista.
- We recommend Visual Studio 2013 for best results. The free editions are fine.
1) After opening up a game in Stencyl, select Run > Windows from the main menu.
2) Stencyl will download the Visual Studio installer to your system. After that finishes, run the installer.
3) Once you install Visual Studio, you’ll need to reboot your computer for Stencyl to recognize it.
To test your game, select Run > Windows from the main menu.
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.
- A Mac with Mavericks (OS X 10.9) or better.
- Xcode 6.x or better.
- Registration in the Mac Developer Program (if publishing to the Mac App Store)
1) If you don't have Xcode, install it from the Mac App Store.
2) 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.
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.
If you are publishing to the Mac App Store, view our dedicated article on that process.
If you are publishing an App Bundle, you can do so by selecting Publish > Desktop > Mac from the main menu.
Requirements and Setup
- Ubuntu 11.x or better is recommended but not required.
- All standard build tools such as gcc/g++ should be installed.
On Ubuntu 12.x or better? Run sudo apt-get install gcc-multilib g++-multilib instead.
To test your game, select Run > Linux from the main menu.
To publish your game, select Publish > Desktop > Linux from the main menu.
Q: Can I publish a Mac app from a Windows computer?
A: 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.
Q: Can I publish to the Mac App Store?
A: Yes. We have an article on that.
Q: How about the Windows Store?
A: 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.
Q: I just installed Visual Studio, but Stencyl claims I didn’t.
A: Reboot after installing Visual Studio.