Publishing a Desktop Game
by Jon (Updated on 2014-01-29)
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. Windows Vista can be problematic.
- Visual Studio 2010 or 2012. The free "express" 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 Mountain Lion (10.8) or better.
- Xcode 5 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 or better is recommended but not required.
- All standard build tools such as gcc/g++ should be installed.
On Ubuntu 12 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: Nope. You’ll need to use a service like MacInCloud to do this or use a friend’s Mac. 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: Yep. 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 installed Visual Studio, but Stencyl claims I didn’t.
A: Did you reboot after installing it?