As of late 2021, we are in the process of updating Stencylpedia and fixing up outdated & broken content. Thanks for your patience!

260,742

Views

Beginner

Level

152

Comments

Abigayl's Interactive Tutorials (Part 1)

by Joe (Updated on 2012-07-21)


Tutorial 1 - The Basics

 

CHANGES TO CURRENT STENCYL VERSION:

  • Game Center is now Dashboard
  • No longer need to make Actor Behaviors; can use "Events" tab instead
  • Now need to use "Add an Event" at the top left to make the headings
  • If using events, do not need to "Attach to Actor" (still needed with Behaviors though)
  • Collisions Groups are now in the Settings button at the top of the page
  • Collisions between Actors are now handled by collision events (use "Member of Group" and change the group to "Actors")

 

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

Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

152 Comments

awakening
Great Tutorial
-1 10 years, 5 months ago
Devlah
Hey question: In the part of the tutorial regarding collision for enemies with the player; The "Kill self after leaving screen" function is attached to the "When created" function. But isn't that condition only checked upon creation of the actor? Wouldn't such a condition check work better inside "always"?
0 10 years, 5 months ago
zam622
My test button wasn't working.
-1 10 years, 7 months ago
wbunker
i don't find the "always" block;
how do you get it?

5 10 years, 7 months ago
matthew1
These tutorials are very good, I learned a lot from them. I would like to see more tutorials like those done by Abigayl. Keep in mind that for many people this may be the first programing experience so it will be better to see tutorials that go through every single command Stencyl offers. I supplemented these tutorials with others seen on YouTube.
0 10 years, 10 months ago
Goodbuddy
@MC they should be somewhere in settings
0 10 years, 11 months ago
MCMinusK
At the last part, there is no "group for colliding shape".
2 10 years, 11 months ago
Goodbuddy
How do i do the end colliding shapes part
0 11 years, 1 day ago
Goodbuddy
When i click test game after i place my player nothing SHows WHy?
-1 11 years, 1 day ago
Dragunity02
Great Tutorial, helped a lot. MADE MY FIRST GAME.
0 11 years, 1 month ago

Sign In to Comment