267,098
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
Prodigio
OOO Problem solved, i had the timer on always and not on when created. Now it works.
But still i dont understand why it didtn work on always.
0
OOO Problem solved, i had the timer on always and not on when created. Now it works.
But still i dont understand why it didtn work on always.
0
Prodigio
Hi^^, i get something really wear.
I did everything like in the tutorial, but on my example it spwan lots of enemys, even if i put the timer to every 2 seconds.
0
Hi^^, i get something really wear.
I did everything like in the tutorial, but on my example it spwan lots of enemys, even if i put the timer to every 2 seconds.
0
Abigayl
Berga, I made these tutorials using the original StencylWorks, so things like the choosing categories for behaviors no longer exist. If it wasn't for my plans to make a new tutorial set when SW2 comes out, I would update the scenes to match what you see.
0
Berga, I made these tutorials using the original StencylWorks, so things like the choosing categories for behaviors no longer exist. If it wasn't for my plans to make a new tutorial set when SW2 comes out, I would update the scenes to match what you see.
0
bergapappa
Great tut Abigayl
Hope you make more of them.
Only thing I was wondering about is that some screens in the gamecenter did not look the same on my machine. Think it was when you made a new behavior, you had a field for category. This is not the case on my PC. Maybe different versions?
I'm testing 1.4
Regards
Bergapappa
0
Great tut Abigayl
Hope you make more of them.
Only thing I was wondering about is that some screens in the gamecenter did not look the same on my machine. Think it was when you made a new behavior, you had a field for category. This is not the case on my PC. Maybe different versions?
I'm testing 1.4
Regards
Bergapappa
0
Abigayl
Glad to help Rados :)
Stalin, go to the Game Center and check your Collision Groups. Make sure that your enemies do not hit each other but DO hit the player (so if your enemies are "actors" and your player is "players", then when you click on the "actors" group, the "actors" button should be blue but the "players" button should be green).
0
Glad to help Rados :)
Stalin, go to the Game Center and check your Collision Groups. Make sure that your enemies do not hit each other but DO hit the player (so if your enemies are "actors" and your player is "players", then when you click on the "actors" group, the "actors" button should be blue but the "players" button should be green).
0
Stylin Stalin
Hey I have some questions.
1. All of my sprites seem to rotate, based on where they're going.
2. My character isn't registering that it's colliding with the enemy, and it isn't reloading the room.
Otherwise, it's a great beginner tutorial!
0
Hey I have some questions.
1. All of my sprites seem to rotate, based on where they're going.
2. My character isn't registering that it's colliding with the enemy, and it isn't reloading the room.
Otherwise, it's a great beginner tutorial!
0
jonathan3087
I loved it. Mine works just like yours. I great starting point. I would love to see more tutorials.
0
I loved it. Mine works just like yours. I great starting point. I would love to see more tutorials.
0
Abigayl
Chandra, the off-screen issue is one that I address in Tutorial 5. I had been searching for better solutions, but could not find any, hence the delay to the fifth one. If you want the quick fix, I have a behavior on StencylForge called "8 way motion with screen edge detection" that will do the trick.
1
Chandra, the off-screen issue is one that I address in Tutorial 5. I had been searching for better solutions, but could not find any, hence the delay to the fifth one. If you want the quick fix, I have a behavior on StencylForge called "8 way motion with screen edge detection" that will do the trick.
1





