Stencyl's Scene Designer
|Original author(s)||Stencyl, LLC|
|Developer(s)||Jonathan B. Chung|
|Initial release||May 31, 2011|
|Stable release||v2.2 / June 22, 2012|
|Written in||Before v3.0:Java, ActionScript 3, Objective-C, and C++.
Version 3.0 and later: Haxe
|Available in||27+ languages|
|Type||Video game creation software|
|License||Proprietary commercial software|
Stencyl is a game creation platform that allows users to create 2D video games for computers, mobile devices, and the web. The software is available for free, with select publishing options available for purchase. The software was originally called "StencylWorks" while in development and for the initial release, but was later shortened to just "Stencyl".
Games created in Stencyl can be exported to the web via Adobe Flash Player and HTML5, to personal computers as executable games, as well as onto various mobile devices as iOS and Android applications. Physics and collisions are managed by Box2D, which can be selectively or completely disabled to decrease any potential performance impact for games that don't require full physics simulation. Projects in Stencyl utilize the Haxe programming language (v2.09) and NME game framework (v3.4.2) to allow a flexible, write once, run anywhere style of game creation.
- The Behavior Editor is used to create and edit code and game logic in modular pieces known as behaviors and events.
- The Tileset Editor is used to import and edit tilesets, including their collision shapes, appearance, and animations.
- The Actor Editor is used to create and edit game entities (Actors) and their settings, including behaviors, physics, and animations.
- The Scene Designer is used to create and edit levels and game states (Scenes) by utilizing actors, tilesets, and behaviors.
Additional tools permit the user to import images for use as foregrounds and backgrounds in scenes, import and edit fonts, import sounds and music files (MP3 and OGG are supported, depending on the export target), and alter game settings such as player controls and game resolution. A library of common behaviors is included with Stencyl to reduce the need to recreate common game behaviors, and several game "kits" provide functional starting points for common 2D game genres.
When creating a new behavior, the option is presented to create it either in Code Mode or Design Mode. Utilizing Code Mode for a behavior permits the user to program logic in traditional textual form and optionally open the code in an external editor. Alternatively, Design Mode is a GUI that allows users to create modular game logic for actors and scenes using a visual programming language. The concept of Design Mode as a form of end-user development originated with MIT's Scratch computer language learning environment, and was used with permission for Stencyl.
As it is a visual programming language, Design Mode users are not required to learn or type out a particular programming language, nor must they concern themselves with syntax. Rather, available actions are dragged and dropped from a palette of "code blocks". These blocks will snap in place together and nest within each other, permitting the creation of advanced logic from basic components. To avoid syntax errors during compilation, not all blocks will snap together. For example, a space that requires a Boolean value will not accept a block that represents a numeric value. The shapes of the block types are different to help represent this to the user as a behavior-shaping constraint. The number block could be used in conjunction with a comparison block - such as "(Number) equals (Number)" - to evaluate as a True/False statement for the needed Boolean.
Cloud Storage 
StencylForge is an integrated online storage and sharing service for Stencyl games and game assets. It can be utilized to back up projects and access projects from other computers when logged into Stencyl. User-uploaded content is private by default, but it can also be made public to share with other users. In addition to user-uploaded content, officially sanctioned content such as example games, game kits, behaviors, and art or sound assets are also available and prominently featured on StencylForge.
Beginning with Stencyl 3.0 the entire program was made easily and fully translatable by the conversion of default, hard coded English text into database references. To make the translation process easier, a crowd-sourced translation effort was launched simultaneously. Users can view individual phrases and words; as well as submitting their own translations and voting on other users' submissions. As a result, over 26 languages are fully or partially available. As of May 2013, four (Traditional Chinese, Slovak, German, and Italian) are fully translated, with eight others nearly complete.
Users with a subscription to an export option that includes iOS gain access to StencylBuilder, which is a cloud-based solution for compiling iOS applications on a Windows or Linux computer. Compiling these projects typically would require a Mac computer to complete but by submitting the project to StencylBuilder it can be compiled remotely.
Integrated with Stencyl is Pencyl, an image editor derived from JHLabs Image Editor. Its use in Stencyl is usually secondary, as images are typically imported directly from the computer after being created separately. Stencyl can alternatively be set up to utilize external image editors, such as Photoshop and GIMP, to modify images already loaded into a project.
Stencyl also supports user-created extensions to add functions to the software. For example, an extension could add new blocks for Design Mode use, such as a third-party API.
See also 
- Glockling, Max (16 January 2013). "Right Click flash menu". Retrieved 18 January 2013.
- "Stencyl - Upgrade to iStencyl Pro". stencyl.com. Retrieved 16 February 2012.
- Andrew, Keith. "Jonathan Chung on the potential of new cross platform 'no coding' 2D game tool iStencyl". PocketGamer. Retrieved 19 January 2012.
- Anthony Pecorella. "Q&A with Jon, creator of Stencyl". Retrieved 19 January 2012.
- "Create amazing iOS games with iStencyl". stencyl.com. Retrieved 16 February 2012.
- Official website
- Stencyl's Crunchbase profile
- BBC Click: Build your own games with Stencyl
- Stencyl forums on Kongregate.com
- Stencyl games on Newgrounds.com
- Wired.co.uk - How StencylWorks can turn anyone into a games developer
- Indiegames.com - Stencyl lets you make iOS and Flash games the easy way
- Vimeo.com - StencylWorks - Make Flash Games In A Flash