

I really really really want to love Stencyl. The Educator's Kit has a setup guide, two weeks of lessons, student activities, and a final project.
#Stencyl when updating full
In addition to the support website and core program itself, Stencyl comes with an image editor, a database of free user-created resources, and an online reference encyclopedia. The Stencyl website is very comprehensive and full of tutorials, game ideas, help forums, and a live chat area. Plus, there's a live testing feature, so kids can see how their creations work in real time. With annual paid versions of Stencyl, games can be played (and optionally sold) on many additional platforms, including iOS and Android. To overcome any early frustration, students and teachers should dedicate a few hours to the helpful online tutorials.įinished games can be exported as stand-alone Flash files or can be uploaded to Stencyl itself. Tech-savvy users will find the interface intuitive and will dive right in, but the less experienced may initially be daunted. Building blocks of code makes the game very similar to MIT's Scratch, but with much more functionality.
#Stencyl when updating code
By snapping blocks of code together, students and teachers can create games (and curricula) that can be published on a variety of platforms. Stick in the multi-line code block (under Flow > Advanced) to use this.Stencyl is a game creation program that's focused on codeless, cross-platform game making. Stick in the multi-line code block (under Flow > Advanced) to use this. Custom CodeĪrbitrary code that lives outside of regular events. Global Custom BlockĪ customizable form of ‘when happens’ that allows new blocks to be created but isn’t tied to an actor or scene. Custom BlockĪ customizable form of ‘when happens’ that allows new blocks to be created. Similar to a function call but without parameters. Happens when a Behavior uses the “trigger event” block (such as ‘onClick’ for button click). EqualityĪttribute becomes equal/not equal to attribute. Collisions Between: Group & GroupĪ member of group collides with another member of group. Collisions Between: Type & TypeĪn actor of type collides with another actor of type.

Any actor collides with: Member of GroupĪn actor collides with another actor of group. Any actor collides with: Actor of TypeĪn actor collides with another actor of type. Any actor collides with: Specific ActorĪn actor collides with another actor. Happens when this actor collides with another actor. This actor collides with: Something Else (Actor Type Behavior only) Enters or Leaves a Region: Member of Group Enters or Leaves a Region: Actor of TypeĪctor of type enters/leaves a region. Enters or Leaves a Region: Specific ActorĪctors enters/leaves a Region. Member of group enters/leaves the screen/scene. Enters or Leaves the Scene or Screen: Member of Group Enters or Leaves the Scene or Screen: Actor of TypeĪctor of type enters/leaves the screen/scene. Enters or Leaves the Scene or Screen: Specific ActorĪctor enters/leaves the Screen/Scene. Created or Dies: Actor of TypeĪctor of Type is created/killed. Read our article on Pausing.Īctor is Created/Killed. Mouse enters/exits/presses/releases/drags on a region. Mouse enters/exits/presses/releases/drags on an actor. The difference between this and "When Updating" is that this code happens at a different time in the "game loop." As such, it is best to only perform drawing operations inside When Drawing. Happens once when the Behavior is initialized. Stencyl includes a large number of events that developers can take advantage of. The event and response are related by cause and effect. In this case, hitting the spacebar is the event, and firing the laser is the response.

Returning to our vertical shoot ‘em up example, recall that when the player presses the spacebar, the player’s ship fires a laser. In short, they’re things that happen in your game that can trigger some kind of action, or response. As a recap from before, Events are the building blocks of Behaviors.
