Island

../_images/island_game.png
class quest.examples.island.IslandAdventure[source]

A very simple subclass of QuestGame.

To run this example:

$ python -m quest.examples.island

IslandAdventure shows off the basic features of the Quest framework, loading a map and letting the player explore it. After you play it, check out the sorce code by clicking on “source” in the blue bar just above.

setup_maps()[source]

Sets up the map.

Uses a TiledMap to load the map from a .json file, created using Tiled.

setup_walls()[source]

Assigns sprites to self.wall_list. These sprites will function as walls, blocking the player from passing through them.