52,612

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

walter2012
Abigayl, really I feel stupid, but when you say "go to (Add an Event -> Advanced -> Custom Even) to generate the block 'when this hears (blank window)'..."

I could not resolve this issue, and I can not find how to add the blank window. Please help me! I have the latest version of Stencyl. ;)

0 13 years, 10 months ago
Abigayl
@Furious: If you can fit that in two lines, go ahead. I have to choose what to write or not. Not everything fits.
0 13 years, 11 months ago
FuriousRage
"On most keyboards, the forward slash is directly next to the right shift key"

I would rather seen it written as "On most US keyboards, the forward slash is directly next to the right shift key"

0 13 years, 11 months ago
Abigayl
Add an Event -> Advanced -> Custom Event
0 14 years, 5 days ago
jstrohm
Abigayl - Your tutorials are quite helpful! I notice in this one you send us to Behavior - State to get a 'when this hears'. Apparently this is no longer available in the latest version. How do you make similar behavior methods in the new version?
0 14 years, 5 days ago
Abigayl
FYI, I rarely check any tutorial beyond part 1 (even part 1 is daily at best), so the best way to reach me with a question is via PM in the forum or in my livestream: livestream.com/poweredbyflowers
0 14 years, 1 month ago
AlexVsCoding
Hey Abigayl,

Absolutely sterling set of tutorials, very much enjoyed the interactivity of them rather than following a video or written tutorial. I look forward to seeing more!

Thanks!

Alex

0 14 years, 2 months ago
Abigayl
If you are reusing old actors, Stencyl does a poor job of scaling collision boundaries to match the new graphics, which could be your issue. Another thing that might be causing an issue is if your screen size is different than the one I used in the tutorial (640x480). If you used a smaller screen, you will need to adjust the values accordingly.
0 14 years, 3 months ago
Astrobollo
First of all, thank you very much for all your work, Abigayl. This tutorials are easy to learn and follow. But of course, as every beginner with StencylWorks I have some problems.
First, my "Current Score" and "High Score" don't appear at the screen. And second, my enemy spawn spots don't work except for the first one (located at 10,10), the other 3 are nowhere to be found. I've checked again and again de 2nd and 3rd tutorials to notice any mistake I might done in the code but all of it seems fine.
Strangely, I had a problem with the title scene, always in white and the button never appeared. I deleted the actor of the button, maked a new one and attached the correspondent behavior to it and it worked!
I don't know if I have to do something like this to correct mi problem. What you think about it?

0 14 years, 3 months ago
Abigayl
Berga, I am still new to the issues with holding down ctrl... I would suggest posting to the bug report forums at this point...
There can certainly be differences between simulators and online. For example, simulators do not depend on your internet speed whereas online does. One thing to keep in mind when making games is that lags can vary between computers (for example, I try to keep my games at 60 fps on my computer since I built it this past summer so rather powerful compared to what others are likely using).

0 14 years, 4 months ago

Sign In to Comment