Learning Stencyl 3.x Game Development Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Time for action – downloading tiles from StencylForge

The game file to import and load for this session is 5961_02_04.stencyl.

  1. If the StencylForge tab is still available at the top of the screen, then click on it. If the StencylForge tab is not visible, click on the StencylForge icon on the toolbar to open it up again.
  2. In the left-hand side panel, under the MEDIA heading, click on Tilesets.
  3. In the search box, found at the upper-right corner of the screen, type Stencyl Book Tileset, and press Enter.
  4. Double-click on the thumbnail image for the Stencyl Book Tileset and read the information under the Description heading.
  5. Click on the Download button at the upper-right of the screen.
  6. Wait a moment for the tileset to download.

What just happened?

In the same way that we downloaded the monkey actor from StencylForge, we have just downloaded a tileset —a collection of predesigned tiles that will help us build our jungle scene.

Note

The tileset that we are using in our game is based on a design by a Stencyl user called Ceric. The tileset was generously released by Ceric as a public domain resource, which means that we can use the graphics for absolutely any purpose we desire, without any licensing requirements or copyright-related issues.

We're currently looking at the Tileset Editor, which enables us to modify the tileset's graphics along with various other aspects of tile management, but we don't need to make any changes right now—for our purposes, the tiles are just fine as they are.

Now that we have downloaded the tiles, they are available for us to use in our game.

Have a go hero – searching StencylForge for tilesets

Search StencylForge and see which other tilesets are available—but don't download any of them into our game! If you would like to experiment with downloading some tilesets, it would be a good idea to create a blank game to practice with.

Adding tiles into the scene

Adding tiles into the scene is usually a fun process—it's when we really start to see how the game will look—and we can experiment to our heart's desire until we get the layout just right.