grandhaa.blogg.se

Stencyl tilesets
Stencyl tilesets









You may add additional tiles to a tileset after the initial import.įor best results, we recommend importing using an image that is the same width as the existing tileset, so additions don't get "offset" and break the layout.įor example, if your tileset is 6 columns wide, ensure that what you are importing is also 6 columns wide. You can alter a tileset's row and column count by clicking directly on the row and column headers. Working with the Tileset Adding/Removing Rows & Columns

  • Edit the frame durations, if necessary.
  • Import frames from an image strip/sheet.
  • It's the same as the one you use for managing an Actor's animations.įrom this point, it's the same process and user interface as working with Actor Animations. The bottom part of this pane should look familiar.
  • You'll now see information in the right-hand pane.
  • Here's how you convert a plain tile to an animated one.Ĭlick on the Tile you'd like to animate in the left pane. Some games use Animated Tiles to bring a scene to life. To learn more about tile collision shapes and how to define custom shapes, view our Setting Tile Collision Shapes article. You'll get a choice between creating a box (rectangle) or a convex polygon. If you prefer to make a custom shape, click the + button. This even works when multiple tiles are selected (click and drag to select multiple tiles in the left pane). Picking a shape is simple - just click on any entry within the Collision Bounds pane.
  • Choose an existing collision shape (or none at all).
  • Now that you've uploaded your tileset, you will want to set the collision shapes for your tiles. You can choose the tile's collision shape and animate it, if you wish.
  • Clicking on a tile will display information about the tile on the right.
  • On the left is the tileset itself and controls for rearranging it. The Tileset Editor is split into two parts.

    stencyl tilesets

    Now, you'll see the main page for your newly imported Tileset. The spacing and border fields are for cases where your tiles are spaced apart.

    stencyl tilesets

    This will determine how your tile sheet is cut up.

    stencyl tilesets

    (You can also copy it to the clipboard and paste it in.) Go to this menu item: File > Create New > TilesetĬlick Choose Image to pick out the tile sheet you want to import. How To: Importing a Tileset Step 1 - Create It This article will cover the basics of importing and working with tiles. Much like the tiles on your kitchen counter or bathroom, Tiles in a game are uniformly sized pieces of land that conform to a grid. What are the building blocks of a scene? The scene’s terrain or “land” is typically made up of Tiles.











    Stencyl tilesets