Username or E-mail
Password (Forgot?)
New? Sign Up
Join or Sign In
Forums Stencylpedia Stencyl TV Translations Go Pro - Plans & Pricing Download Stencyl


Switch to Book Layout

1: Getting Started

  • Getting Started
  • Crash Course
  • Crash Course 2
  • StencylForge

2: Building Logic

  • What is a Behavior?
  • Creating a Behavior
  • Attributes
  • Game Attributes
  • Attribute Types
  • Events
  • Our Behaviors

3: Actors

  • What are Actors?
  • Animations
  • Motion & Forces
  • Physics
  • Controls
  • Collisions & Groups
  • Killing vs. Recycling
  • Tweening
  • Effects
  • Chapter 3 Challenge

4: Scenes

  • Scene Basics
  • The Camera
  • Tilesets
  • Regions
  • Drawing Text & HUDs
  • Changing Scenes
  • Music, Sounds & Channels
  • Backgrounds
  • Customizing Actors
  • Chapter 4 Challenge

5: Game Mechanics

  • Saving
  • Pausing
  • 3rd Party Services
  • Web Requests

6: Advanced Topics

  • Get/Set Attributes
  • Custom Events
  • Blending Modes
  • Lists
  • Custom Blocks
  • Continuous Collisions

7: Testing & Tuning

  • Testing Games
  • Optimizing Performance 1
  • Optimizing Performance 2

8: The Last 10%

  • Flash Publishing
  • Standalone Apps
  • iOS App Store
  • Chrome Store
  • Making Money

M1: Mobile - Intro

  • Getting Started
  • Testing on your Device
  • Flash -> iOS Guide

M2: Mobile - Basics

  • Atlases
  • Drawing Text
  • Retina Display
  • Accelerometer
  • Joystick
  • Universal Games

M3: Mobile - Services

  • iAds
  • Game Center
  • In-App Purchases

M4: Mobile - Publishing

  • Debugging
  • Publishing to the App Store
  • Optimizing Performance
  • Promoting your Game

A: Troubleshooting

  • Showstoppers
  • General FAQ
  • iOS FAQ
  • The 90% Memory Warning
  • Recovering Broken Games
  • Can't Export to SWF
  • Reloading Documents
  • Generating Logs
  • Flash Security Settings
  • How to Report Bugs

B: How-To Guides

  • Importing Assets
  • Scene Designer
  • Code Mode
  • Font Editor
  • Pencyl (Image Editor)
  • Tile Editor (Shapes)
  • Game Cleaner

C: Reference

  • Glossary
  • Block Reference
  • Useful Shortcuts
  • Stencyl API

D: Resources

  • Stencyl TV
  • Abigayl's Guides
  • Giving Critiques
  • Creating Extensions
  • Translating Stencyl
  • Credits

3.0 Drafts (In Progress)

  • What's New in Stencyl 3.0?
  • Setup (Android)
  • Setup (Desktop)
  • Setup (iOS) - Concepts
  • Setup (iOS) - Mac
  • Setup (iOS) - Windows
  • Testing iOS on Windows
  • iOS Troubleshooter

  • Mobile App Scaling
  • Full Screen Mode
  • Simple Physics
  • Backgrounding an App

  • iOS App Store
  • Mac App Store
  • Windows Store
  • Google Play
  • HTML5

  • Android Ads
  • Android Purchases (WIP)
  • 4" Form Factor (iPhone 5)
  • Mobile Input
  • Mobile Features

  • Extending the Engine
  • iOS / Android Extensions
  • Developing the Official Extensions
  • Developing the Engine

  • iAds (Revised)
  • Game Center (Revised)
  • iOS Purchases (Revised)
  • Atlases (Revised)
  • Drawing Text (Revised)
  • Joystick (Revised)
  • Accelerometer (Revised)
  • Sounds (Revised, WIP)
  • Debugging (Revised, WIP)
  • iOS Performance (Revised)
Level: Beginner

Publishing a Standalone Game

Contents

  • Introduction
  • Walkthrough
  • Gotchas
  • The Future

 

Introduction

Starting in Stencyl 2.0, standalone games can be exported, if you're a Stencyl Pro subscriber. Meaning...

  • EXE's for Windows
  • APP bundles for Mac

These standalone games are based on the Flash versions of your games (Adobe AIR) and run either in windowed or full screen mode.

 

Walkthrough

Exporting a standalone games takes just a step more beyond the Flash publisher.

1) Click Publish in the toolbar.

2) Click Standalone App

3) Fill in the fields. Pay attention to the comments for the App ID and Icon fields.

4) Pick where you want the app to save out to. Be patient after this - it can sometimes take a while to generate the app.

That's it!

Note: If it's your first time, Stencyl will pull down the Adobe AIR SDK.

 

Gotchas

You can only export to your native platform

Meaning...

  • Windows only exports to Windows.
  • Mac only exports to Mac.

Windows can easily be circumvented by using another computer or a virtual machine. For Mac, consider using MacInCloud, a remote Mac desktop service. The fine folks there have even preloaded Stencyl on their systems.

 

Mac App Store Takes Extra Work

The main gotcha is that exported Mac Apps are not immediately submittable to the Mac App Store, without further work on your part (signing the app yourself).

This will not be the case in Stencyl 3.0, where apps will be submittable to the store with no special steps beyond having a Mac Developer account and certificate.

 

No Linux Export

Adobe AIR is no longer supported for Linux since Adobe dropped support for it a while back. 

 

What if your game does not export?

This occasionally happens, usually on a Mac. The quick and no-brainer solution is to redownload the Adobe AIR SDK and replace the Stencyl-provided one. This has fixed 100% of said cases so far.

1) Download the SDK from - http://www.adobe.com/devnet/air/air-sdk-download.html

2) Replace the contents of [STENCYL_DIRECTORY]/plaf/air-mac/ with the contents of the SDK.

(If on Windows, the folder is [STENCYL_DIRECTORY]/plaf/air-win/ instead)

 

The Future

In Stencyl 3, we will be introducing native, C++ versions of your games for all platforms. These apps will perform significantly faster than the web and mobile variants of the games and will utilize hardware acceleration.

Mac Apps will be submittable to the Mac App Store, which is a major draw and potential revenue stream for developers.



Last Updated: 2013-04-10 by Jon

9774 have read this article
Disclaimer: The Stencyl Team does not actively monitor comments on articles. If you're seeking help for your game, please ask a question on the forums. Thanks!
10 Comments
Jon
I've clarified that point to say that those paths are relative to your Stencyl install directory. It's simply a copy -> paste of the entire folder.
0 3 months, 3 days ago
jackymac36
I have the same issue an an macbook air ?
Any suggestions ?

0 4 months, 1 week ago
igaapp
I am getting an issue exporting to a Standalone App (.app) from using Stencyl Works on the Mac Pro. I'm getting a permission error when exporting to the Root Directory. I've also tried exporting to another folder using the chmod 777 command and restarting the computer. It did not resolve the problem. I attached an image to better explain my situation. Any help would be greatly appreciated.
0 5 months, 1 week ago
rogerrenno
I have a same problem :"Error
"Could not export, this may be beacuse of file permisions
the following page may help" Anyone, please Help me...!!!!

2 7 months, 2 days ago
remygames
Why does the PC standalone export make more than one file for the executable? Shouldn't they all be compiled into a single AIR app? Ont he mac, I get just one file.
0 10 months, 1 week ago
supergarfield
It says "Error
"Could not export, this may be beacuse of file permisions
the following page may help" or somthin, help? Ive tried running as administraiter and everything but it dosent help.

1 10 months, 1 week ago
marcwilhelm
I think that the level of support and evaluation you get making Flash games for free is incredibly fair. I can tell you that just today I exported my game as a .app and .exe and .swf and the games perform identically.
0 1 year, 2 weeks ago
VirusChris
Wait... so I can't make or publish a standalone game unless I got Stencyl Pro? Not feeling it, I mean I want to make my own length standalone/desktop game but to pay for it just to do so. I mean there shouldn't be any problems with that with making a desktop game even with Splash Screens or not.

Can you clarify for me, please?

-1 1 year, 3 weeks ago
Jon
For 2.5, when we do a technology switch, we'll look into an evaluation mode with a constant watermark, so the functionality itself can be demoed at will. I don't think a one-time EXE does justice for someone wanting to test that something works.
0 1 year, 1 month ago
rleyfield
Can't you let people make atleast 1 app/exe without subscribing to pro?
0 1 year, 1 month ago



Commenting Guidelines

Sign In to Comment

Make Games

  • What is Stencyl?
  • Roadmap
  • Pricing

Play

  • Arcade
  • Showcase

Community

  • Forums
  • Chat
  • Translations

Help

  • Stencylpedia
  • Stencyl TV

About Us

  • Blog
  • Contact Us
  • Press
  • Privacy
Follow Stencyl on Twitter



© 2013 Stencyl, LLC.