Copyright (C) 2021 The Chang School, Ryerson University
This game is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3.0 as published by the Free Software Foundation.
This game is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. For more details see GNU General Public License v3.0.
This game is using the following libraries:
- AngularJS
- SoundJS
- PreloadJS
- jQuery
- Underscore.js
- Fork the repository.
- Upload files to your server.
- Update
<base>
tag in theindex.html
to point to the new location.
The game is driven by the data stored in _/amaze_data.json
file. There are three main sections in that file:
intro
- array of images and reference to variables that hold text for the intro sequencelevels
- array of levels:floorplan
- array of map rows and columns (9 rows 12 tiles each)description
- reference to a variable that holds short level description for screenreader usersitems
- array with additional data for interactive and collectible items included with the mapinventory
- empty array to store collected itemslesson
- reference to a variable that holds localised HTML displayed at the end of the level
outro
- array of images and reference to variables that hold text for the end-of-game sequence
This game was designed to support multiple languages. English, Dutch and French are already included by default. To add support for another language you need to:
- make a copy of one of the localisation files in
_/l10n
folder - rename the file by replacing the old language code with the ISO 639-1 code for the language you are adding (for example,
locale_ru.json
for Russian,locale_es.json
for Spanish, etc.) - translate all string values inside the file to the new language
- add the new language option to the dropdown in the
_/tpl/languages.tpl.html
template file.