Username or E-mail
Password (Forgot?)
New? Sign Up
Join or Sign In
Forums Stencylpedia Stencyl TV Chat 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
Level: Beginner

Abigayl's Interactive Tutorials (Part 1)

Tutorial 1 - The Basics

 

Liked this one? See them all!

Part 1: The Basics

Part 2: Attributes, Saving/Loading, Kongregate API

Part 3: Advanced Controls, Spawning

Part 4: Mouse-based Shooting, Collisions and HP

Part 5: Music, Screen Boundaries, Backgrounds, Power-ups and More

Part 6: Virtually Lagless Actors



Last Updated: 2012-04-05 by Jon

20491 have read this article
81 Comments
nonsense021
Hi! I tried looping it but it still gets cut at a certain point. Anyway, It works fine now. I've solved it by converting the audio file to a different sample rate. ;D
0 3 days, 13 hours ago
Abigayl
Did you make sure to LOOP the sound instead of just PLAY it?
0 4 days, 6 hours ago
nonsense021
Hi! First of all, I'd like to thank Abi for this awesome video guide. It really helps newbies like me. But I've encountered a problem just recently. I tried placing background music at one scene. It runs fine when I test it but when I published it to .swf, the music suddenly stops at one point. What could be the cause of it?
0 6 days, 7 hours ago
Abigayl
Vinay, your question is confusing... why does hitting a bullet kill all of your actors? Perhaps it would be easier if you came to my livestream to ask in person: livestream.com/poweredbyflowers
0 1 week, 4 days ago
vinayakpandey
Thnx Abigayl but this time I am a facing another problem. How to kill all the enemies when a bullet hits an enemy using using for each actor of type block. I am unable to do so in stencyl 2.0 and waiting for your help.
0 1 week, 5 days ago
jintrigger
This was one of the best tutorials for anything....I skimmed through it since Im too tired at the moment to do those things myself, but for a tried individual who just skimmed the tutorial, I learned a lot!
0 1 week, 6 days ago
Abigayl
Vinay: That is covered in tutorial 5.

CrimsonThunder: Recycled actors have issues of their own. In 1.4, I tested them and found them to be MORE laggy... I have heard that 2.0 does a better job with them, but for me personally, I am not going to use them given all of the quirks I ran into... had to basically scrap a game once because they screwed it up so badly.

0 2 weeks, 2 days ago
CrimsonThunder
Would it make more sense for the enemies to be recycled? I read up a bit that they are a lot easier on the lag.
0 2 weeks, 2 days ago
vinayakpandey
how to avoid the player leaving the screen? I have followed your tutorial but the problem is that the player is able to leave the screen. please solve this problem
0 2 weeks, 4 days ago
Abigayl
Blorph, it's now under "Add Event" (on the left side of the screen), under "Collisions". You may need to change things around slightly so it works for you, but the idea is the same.
0 2 weeks, 4 days ago
123NextLast



Commenting Guidelines

Sign In to Comment

Make Games

  • Stencyl
  • Stencyl for iOS
  • Roadmap
  • Pricing

Play

  • Arcade
  • Showcase
  • iOS Games
  • Success Stories

Community

  • Forums
  • Chat
  • Invite a Friend
  • Newsletter

Support

  • Stencylpedia
  • Stencyl TV

About Us

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



© 2012 Stencyl, LLC.