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 Article20 Comments
how to make a behaviour for enemy to move it left to right and vice versa.the game is like mario
1
I'm trying to make a chess-like game where the player has to tap to select a piece, and then if the player taps on a legal square, the piece will slide to that square, but I'm having trouble figuring out how to do this.
How do I make it so that only the selected piece will move to the desired square? And how do i set which squares are legal for each piece?
Thanks for helping!
0
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
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!
1
Hey new to stencyl,
Can you use stencyl's pre made behaviors in a game that is intended on being published?
4