

The shapes of the block types are different to help represent this to the user as a behavior-shaping constraint. For example, a space that requires a Boolean value will not accept a block that represents a numeric value. To avoid syntax errors during compilation, not all blocks will snap together.

These blocks will snap in place together and nest within each other, permitting the creation of advanced logic from basic components. Rather, available actions are dragged and dropped from a palette of "code blocks". 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.Īs 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. Alternatively, Design Mode is a GUI that allows users to create modular game logic for actors and scenes using a visual programming language.
STENCYL KITS CODE
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. When creating a new behavior, the option is presented to create it either in Code Mode or Design Mode. 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.

STENCYL KITS FULL
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.
STENCYL KITS ANDROID
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.
