52,611

Views

Beginner

Level

41

Comments

Abigayl's Interactive Tutorials (Part 3)

by Joe (Updated on 2012-07-21)


Tutorial 3 - Advanced Controls, Spawning

 

CHANGES TO CURRENT STENCYL VERSION:

  • Game Center is now Dashboard
  • Controls are now found in the Settings button at the top
  • Now need to use "Add an Event" at the top left to make the headings
  • The behavior receiver is now an event (Add Event -> Advanced -> Custom Event)

 

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!

41 Comments

bergapappa
Another question :-)
I still get a little lag. I it possible that the simulator is slower then the web browser I use to see your game in the tutorial?

0 14 years, 4 months ago
bergapappa
Well, seems to be this key.
Because of what camicami said I tried to change this key before. Tried SPACE and now last "<". But if I removed it and left the Control Key as the only one, it worked. Seems strange with this effect when I'm not pressing the key. Do you know why it has this effect even when one is not pressing it?
TNX for your time

Regards

Bergapappa

0 14 years, 4 months ago
Abigayl
Hmm... the only thing I can think of is that it's possible that slash is a key letter for your computer to bring up the debug panel and thus it is now doing double-duty (seems like each keyboard has its own ways to bring up the debug overlay). Overall though, I'm at a loss for what is going on :(
0 14 years, 4 months ago
bergapappa
Wrong spacing in the link :-(
Should be: http://www.bergapappa.com/p/next-pr oject.html

0 14 years, 4 months ago
bergapappa
Hi again

The problem seems to be in the movement behavior, just as camicami suggested, but I cannot see it.
Visit this adress for a dump.
http://www.bergapappa.com/p/next-pr oject.html

0 14 years, 4 months ago
Abigayl
Berga, try disabling behaviors one by one to see if you can find the cause. Then, send me a screenshot (upload and send me the link) of the one that delays your game, and I will look into it for you.
0 14 years, 4 months ago
bergapappa
Hi Abigayl
Still thrilled about your tuts, very good stuff for me as a beginner.
In this third one I hade what seems to be the same problem camicami had with lagging. Can't understand how the choice of button would make the lagging. I've tried different buttons and still have the same problem. And the lagging is not just when I move my player, it starts from the beginning. Please give me your best tip where I should look for this misstake I've made.

TNX again!

0 14 years, 4 months ago
Abigayl
Casper, the Messaging does still exist, now just called "Behaviors" instead. If you go into that palette, all of the names have changed, but they still work the same way.

Like others, I feel that the renaming was a large blow to the user-friendliness of Stencyl, and if it wasn't for SW2 coming out around the corner, I would be raising a major ruckus about changing it back.

0 14 years, 4 months ago
Casper35th
I cant complete this tutorial because "Messaging" Isn't an option anymore
0 14 years, 4 months ago
Abigayl
Moraboy, I had been trying to figure out a more elegant coding to deal with screen edges, but still hadn't found a solution by tutorial 5, so I show the two ways there (in tutorial 5). Actually, I show one and have the other on Forge.
0 14 years, 5 months ago

Sign In to Comment