267,105

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

pykolas
I have problem. My enemyes are not dying with contact with my players.
0 13 years, 8 months ago
Abigayl
CptOlimar: Check the written updates at the top. I try to keep those rather up-to-date. Also, check on Kongregate for the 2.x tutorial set... I still don't understand why Stencyl hasn't uploaded them here...

Link: http://www.kongregate.com/games/Abi gayl/stencyl-2-0-tutorial-1-basics

0 13 years, 9 months ago
CptOlimar
Excellent guide, though just slightly outdated due to new Stencyl versions, but extremely helpful nonetheless.
0 13 years, 9 months ago
Abigayl
Bobby, those are now called "When Updated" or "Updating", they are in Add Event -> Basics. I'm trying to get ahold of Stencyl to get authorization to keep these pages up to date. If you want the more current set, it's on Kongregate: http://www.kongregate.com/games/Abi gayl/stencyl-2-0-tutorial-1-basics
0 13 years, 11 months ago
bobby6478
Hello, while using stencyl, I cannot find the "always" block in the flow chart while creating behaviors for my player. This seems crucial because I have all the "if" and "otherwise if" blocks filled out correctly and when I test my game, the character doesn't move. Someone please correct me or tell me someone who can.

0 13 years, 11 months ago
pacefullworld
I understand my mistake. when i give the collision to player group iam not saved the game it is my mistake .
Once again thank you Abigayi for your use full tutorial

0 13 years, 11 months ago
pacefullworld
Hello Abigayl aim new to stencil works .
I fallow the tutorial one i got the same out put but i have one problem regarding when the enemy hit the main object the game is not restart.
please tell me what is my mistake.
Thank you.

0 13 years, 11 months ago
Abigayl
For iOS, you have to use touch controls, which are similar to mouse controls. You can use the pre-created joystick feature to get movement though.

Beyond that, there isn't much I know about iOS since I only made one iOS game (a commission).

0 13 years, 11 months ago
dvfe
What I mean, is to make a Game with Stencyl to run on iPhone/iPad. The procedure must be different, since iOS doesn't have arrows, so the move of the actor differs. I can't find how to do it... I think the tutorial you sent me is for web games. Is there anything else I can read to start developing? Thank you for your response :)
0 13 years, 11 months ago
Abigayl
DVFE: I don't have an iOS tutorial, but if you mean a tutorial for Stencyl 2.0, it's here: http://www.kongregate.com/games/Abi gayl/stencyl-2-0-tutorial-1-basics< br />
Peter: Glad to help :)

0 13 years, 11 months ago

Sign In to Comment