by Jon (Updated on 2015-10-12)
- The Two Methods
- Importing Animations
- Importing Tilesets
- Importing Backgrounds
- Importing Sounds
- Importing Behaviors
Importing resources is a key part of the Stencyl workflow. This article talks about the various ways of pulling in graphics, sounds and other resources into your game.
The Two Methods
In general, you can import resources through one of the following methods.
- Picking a file from the file system
- Drag and Drop from the file explorer
The remainder of this article links to articles that talk specifically about how you import each resource type.
Animations are visual states for Actors.
Read our article on Animations to learn how to import them.
Tilesets are collections of Tiles, the building blocks for scenes/levels.
Read our article on Tilesets & Tiles to learn how to import them.
Backgrounds are large images that usually scroll alongside a scene, either entirely behind or in front of a scene.
Read our article on Backgrounds to learn how to import them.
Sounds represent clips of sound effects or entire music tracks.
Read our article on Sounds to learn how to import them.
Besides creating new behaviors on your own, Behaviors can come in from two sources.
- Local File System
- From our pre-shipped collection
To import Behaviors from your computer, click Import... in the top toolbar and pick out the Behavior. Behaviors are PNG files embedded with metadata.
To import a pre-shipped behaviors, read this article.Print Article Edit Article How to Edit an Article
Hello i need quickly your help. I make a game, and save from pen drive and hotmail drive. I open the stencyl application and i go to the import games, choose my game, and is loading, when stops loading, nothing happends, and the game dont appear. So i go to the games folder and appears the game.
Sorry for saying that but i bet 100% that could be a stupid error.
how can i make my own tilesets?
I need to put a game on MY games
Should the link below "Sounds represent clips of sound effects or entire music tracks." be "Read our article on SOUNDS to learn how to import them."?
Frequently suggested but not available yet because there are lot of corner cases to think about. For example, if you cross games, what do you do about actors and the behaviors? Do you import the behaviors too? It's a messy design problem.
My sense is that the real question is people wanting to work in teams, working on the same base game and sharing levels between each other. If that's the case, then we have a more targeted and manageable solution for that down the road.
Is there an easy way to import entire scenes and/or games INTO another game? If not... That would be a wonderful enhancement imo.