Skip to content
Joe Williamson edited this page Nov 28, 2017 · 2 revisions

The World class represents the game world designed using the Tiled map editor. It reflects the structure of a Tiled map, and provides a way to define how objects of different types are loaded.

Layer Properties

  • collides Defines a collisions layer
  • hidden Layer is initialised with visible = false

Tileset Properties

  • noload This tileset does not get loaded into the game. This is useful for tilesets representing anything which isn;t drawn, such as collisions.

TODO

  • How to define one way collisions? Per tile? Per layer? On objects?
Clone this wiki locally