267,104
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 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
dvfe
God bless you! You couldn't have done it easier. I have a question - or a request- though. Could you show a tutorial on how to make the same game running on iOS? I create my actors but it doesn't allow me to follow the same steps you did in the coding. I need to learn how to make a simple game and I can't find a decent tutorial.
0
God bless you! You couldn't have done it easier. I have a question - or a request- though. Could you show a tutorial on how to make the same game running on iOS? I create my actors but it doesn't allow me to follow the same steps you did in the coding. I need to learn how to make a simple game and I can't find a decent tutorial.
0
petercoupe
Excellent tutorials. I have been working with GameSalad and thought that transferring to Stencyl would be a lot more difficult, but your tutorials are certainly helping me to pick up a lot of information quickly!
0
Excellent tutorials. I have been working with GameSalad and thought that transferring to Stencyl would be a lot more difficult, but your tutorials are certainly helping me to pick up a lot of information quickly!
0
Abigayl
@Suburbsniper: In the collision palette are options for testing what side of the actor was hit. I go over it partially in my Stencyl 2.0 Tutorial 1: http://www.kongregate.com/games/Abi gayl/stencyl-2-0-tutorial-1-basics
0
@Suburbsniper: In the collision palette are options for testing what side of the actor was hit. I go over it partially in my Stencyl 2.0 Tutorial 1: http://www.kongregate.com/games/Abi gayl/stencyl-2-0-tutorial-1-basics
0
suburbsniper
hey plz can u solve my problem, im trying to make it so that my character has to slide in one direction till it collides with a block before it will register the next user input, any ideas on how to do this?
1
hey plz can u solve my problem, im trying to make it so that my character has to slide in one direction till it collides with a block before it will register the next user input, any ideas on how to do this?
1
Abigayl
TNB, the vast majority of those questions can be answered by just looking at Tutorial 4 and adjusting it to your needs. As for the moving on to the next level, add a game number attribute that increases by 1 each time an enemy dies (resets to 0 at the start of the level), and then check in "always" to see if that attribute = 15. When it does, switch to the next scene.
0
TNB, the vast majority of those questions can be answered by just looking at Tutorial 4 and adjusting it to your needs. As for the moving on to the next level, add a game number attribute that increases by 1 each time an enemy dies (resets to 0 at the start of the level), and then check in "always" to see if that attribute = 15. When it does, switch to the next scene.
0
TNB1
Dear Abigayl How do I make it so that the character turns with the mouse. Also how do i make it that atfer 15 enemies have spawned and you kill them all you go to next level. Also how do i make the enemies shoot. Also how do i make the player have 5 chances to be hit then die??
Please answer these questions becvause i am a newbie in stencyl. Also number the answers as you go down. THANK YOU
YOU ARE THE AWESOMEST TUTORIAL MAKER AND AWESOMEST STENCYL DUDET
THANX!!!!!!!!
0
Dear Abigayl How do I make it so that the character turns with the mouse. Also how do i make it that atfer 15 enemies have spawned and you kill them all you go to next level. Also how do i make the enemies shoot. Also how do i make the player have 5 chances to be hit then die??
Please answer these questions becvause i am a newbie in stencyl. Also number the answers as you go down. THANK YOU
YOU ARE THE AWESOMEST TUTORIAL MAKER AND AWESOMEST STENCYL DUDET
THANX!!!!!!!!
0
Abigayl
In the collision coding, there are a set of codes you can use to determine which part of the actor was hit. For example, in the player coding, if the bottom was hit, kill the other actor, otherwise, kill self.
0
In the collision coding, there are a set of codes you can use to determine which part of the actor was hit. For example, in the player coding, if the bottom was hit, kill the other actor, otherwise, kill self.
0
TNB1
Another ? How do I make it so when you touch the enemy the player die but when you stomp on the enemy the enemie die. Please answer!
0
Another ? How do I make it so when you touch the enemy the player die but when you stomp on the enemy the enemie die. Please answer!
0
Abigayl
SC, yes that is the old version (1.x). The three main changes to 2.0 are lack of categories (ignore them), needing to add the events manually, and the group for collision coding is now a collision event with member of group.
0
SC, yes that is the old version (1.x). The three main changes to 2.0 are lack of categories (ignore them), needing to add the events manually, and the group for collision coding is now a collision event with member of group.
0
scjohnson243
So I'm stuck much more in the beginning - Trying to attach the behavior to the player actor....
I guess you were using an older version of Stencyl? I dont know where to tag the "Event" under behavior - I have to select if the event is for basics, input, time, actor, etc, etc... Not sure where to attach it to.
0
So I'm stuck much more in the beginning - Trying to attach the behavior to the player actor....
I guess you were using an older version of Stencyl? I dont know where to tag the "Event" under behavior - I have to select if the event is for basics, input, time, actor, etc, etc... Not sure where to attach it to.
0





