67,944

Views

Beginner

Level

16

Comments

Pre-Shipped Behaviors

by captaincomic (Updated on 2016-05-03)


What are Pre-Shipped Behaviors?

Stencyl includes several dozen of the most common and useful behaviors. Why? Because it's no fun reinventing the wheel or foraging around on StencylForge when you could get the "real" thing out of the box.

To find them, just begin attaching a behavior to an Actor or Scene like you'd normally do.

Then, pick something from the FROM YOUR LIBRARY section.

What's currently available?

Disclaimer: Names may slightly differ in practice. Some behaviors may have shifted around over time.

Controls

  • 2/4/8 Way Motion
  • Asteroids Motion
  • Follow the Mouse
  • Face the Mouse
  • Simple Jump & Run Controller
  • Fire Weapon w/Bullet Limiter
  • Shoot Around the Block
  • Drag and Drop

Motion

  • Circular Motion
  • Wave Motion
  • Back and Forth
  • Wander
  • Bounce off Wall
  • Follow Target
  • Follow Path
  • Face Direction of Motion
  • Don't Exit Screen
  • Wrap Around Screen
  • Starting / Random Starting Velocity

GUI

  • Three State Button
  • Effect on Mouse Over
  • Die on Click

Utilities

  • Game Debugger
  • Draw Terrain
  • Video Player
  • Social Media Helper
  • Donate
  • Hide Mouse Cursor

Can I suggest some behaviors?

Sure! Create a topic in the issue tracker (as a suggestion) stating the behaviors you want Stencyl to have pre-installed.

Print Article Edit Article How to Edit an Article
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!

16 Comments

jexadox
can i add behaviors and stuff to my library? how would i do that?

0 3 hours, 49 minutes ago
Psygamns
It would be useful to have working with camera behaviour
0 1 week, 3 days ago
Crovaxus17
What about the Health Manager behavior? I have been using it for NPC/enemy health tracking in my game, but it is pretty buggy. For one thing the "Persistent Health" feature crashes my game whenever it is on, so I have had to work around that. I ask because it is not on the list above and I wonder if it is no longer supported?
1 2 months, 3 weeks ago
Jon
Nothing has been removed. If you are having trouble finding this, please make a post on the forums, and someone will help you out. Thanks!
0 10 months, 3 weeks ago
HAEMHuK
but its not true........ why you deleted all usefull "Pre-Shipped Behaviors" ??
1 1 year, 5 months ago
mlaurie08
Hey new to stencyl,
Can you use stencyl's pre made behaviors in a game that is intended on being published?

3 2 years, 6 months ago
uenKerwin
uenKerwin
the library or the kits are found when you are creating a behavior for actors...you can also find and import them from your stencyl folders c:programs/stencyl/behaviors/contro ls ^^

-1 3 years, 11 months ago
uenKerwin
the library or the kits are found when you a behavior for actors...you can also find and import them from your stencyl folders c:programs/stencyl/behaviors/contro ls ^^
1 3 years, 11 months ago
Lingesh7
how do i access the library? pls i need an ans fast coz im doin a skool project
-2 3 years, 11 months ago
Heritage
Can I disable the drag and drop behavior once an actor is inside a region? I want the actor to stay there trapped until the scene ends.
0 4 years, 1 month ago

Sign In to Comment