Luyren's Quick Tips

Luyren

  • *
  • Posts: 2176
I've started making some quick Stencyl tips videos, covering some recurrent questions I've seen here on the forums and on the discord server. Whether you've been using Stencyl for a while or just started, these might be useful! And hopefully I'll keep them all under 10 minutes, so it's a pretty short watch.

Watch the first tip here: Why you should use behaviors.

I've seen a lot of people using exclusively actor and scene events, when a lot of features they are making would be better suited as behaviors. This video will hopefully show you that creating behaviors instead are a better option in most cases, with more options and versatility.

« Last Edit: April 29, 2020, 03:12:37 pm by Luyren »
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

SkyPilot

  • Posts: 21
Thanks for this! I hope this series will help a beginner like me :P

Luyren

  • *
  • Posts: 2176
Thanks for this! I hope this series will help a beginner like me :P
Glad I can help!

Second tip is up: Know the basic events.
This will explain how to use the create, drawing and update event, and how to avoid common mistakes. If you're having troubles with the "do after," "do every" or the "while" blocks, this is for you.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Luyren

  • *
  • Posts: 2176
Third tip: learn to use custom events.

They are super useful, make your code more organized and are the basis for AI behaviors. Even if you've been using Stencyl for a while, you might be neglecting this useful feature, so give it a watch.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Luyren

  • *
  • Posts: 2176
Fourth Tip: Get and Set Attributes.
This will help you share values between behaviors. Since I've been going on and on about making behaviors, this will hel you to break down your code into different behaviors, attaching only the relevant ones to what your actors need. I also briefly explain the difference between actor values and attributes.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Luyren

  • *
  • Posts: 2176
Fifth Tip: Beware of Friction.
Here I explain what friction is, how it affects your games, and how to avoid problems with it. If your actors are getting stuck on tiles when you move towards them, this should help.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Luyren

  • *
  • Posts: 2176
Sixth @Stencyl tip: Know your Collisions!
I explain here the basics of collision, how to set them up, and a few tricks when working with multiple animations and setting their collision bounds. If you're having troubles with your actors moving weirdly when switching animations, this is the tip for you.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Luyren

  • *
  • Posts: 2176
Seventh Tip: Check for non-Collisions
This will show you how to check when actors are not colliding with something. Pretty straight to the point.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Luyren

  • *
  • Posts: 2176
New Tip: How to use manual timers
This will give you full control over timed actions in your games. No longer will the limitations of the do after and do every blocks hinder you!
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter