Home
Hugo Delaunay edited this page Apr 9, 2022
·
8 revisions
Welcome to the EscapeGameKit wiki ! You will find here how this library works and how to create your own escape game using it.
The library is mainly articulated around five concepts : Game, Rooms, Interactables, Inventory and Padlocks.
Name | Class | Description |
---|---|---|
Game | EscapeGame |
The main class of the plugin. It controls the displayed room and a lot of other things (inventory, countdown, currently displayed dialog, ...). |
Room | Room |
Rooms are intended for display, and usually contain some interactables. |
Interactable | Interactable |
An interactable is something the player can interact with. Visible or not. Locked or not. |
Padlock | Padlock |
Padlocks allow to block actions when locked. The user can unlock them by entering the correct code. |
Inventory | Inventory |
Contains the objects found by the player during the game. |
Those things are implemented in pure Dart, without any Flutter widget. It is then rendered using the Flutter material library (see EscapeGameWidget
for example).
You'll find an example in the example
directory. It's a little escape game called ERROR 1980 that I've created for my students. I've translated
it into English, so that you can try it here.
Name | Example |
---|---|
Game | game.dart |
Room | bedroom.dart |
Interactable | linving_room.dart (line 118) |
Padlock | qr_padlock.dart |
EscapeGameKit has been created by Skyost.