Hey, maybe you wanted to have the source of the modified game Terminus.
Sadly, this is the wrong page, now check the original branch.
A tool box to create games with command line interface, based on a classical filesystem structure.
A rewrite of mprat's Terminus game (code) Terminus is a text adventure game running on your Web browser. In a mysterious land, both physical and magical powers had been surpassed by a new power : the command line. Lost somewhere in this land, you discover that you could use this power without knowing how. Jouer (French) : Démo du jeu Note : If you tested the original Terminus game, you may discover that : the scenario had been altered; the MIT part and the 'add' locker command had been removed, because these things are really specific to MIT; there is sounds... |
Originally, the project was intended to translate the game "Terminus" from English to French. Now, this framework is an attempt to be a kind of command line based "Twine" with files and programs as items for the player.
Dialogs and relation between object was written in code. This was an obstacle for translation contributors.
Here, the file structure and dialogs has been put outside of code.
The dialogs are referenced with a keyword like (e.g. room_home_text
).
Translations can be found in each directory, but can be all gathered in one po
file.
The needs :
Here, each item have a text description and additional properties (including the program associated to the file). If it is a quest item, the properties can be filled when it appears in the right place.
rootfs
?Yes, it could do the job. You can even add sound, images and event with a small bunch of code that the source a profile on each directory.
(look at tiv
for images, and aplay
for sounds)
But sometimes, you need to add some restrictions, and extra features to make a game interesting.
./game_art
: make fetch_resources
./game
make build
to build for all Browsers/Platformmake assemble
if for some reason you want to build while skipping Nodejs (and npm) partmake server
, select the game and go to the url given as response.
Our usage of computers are focused on graphical user interfaces. By ignoring command line, you miss a huge collection of usefull tool you can use to automate your task.
Some examples of things you can easily do with command line :
Things in thinking/doing are located in TODO file. Feel free to check it, raise issues and push PR if you got something.
Edit .po
files in game directory to edit translation.
In tools/gamedev
, there is tools to generate the .pot
file, and ensure all references are translated.
./game/terminus/devenv.sh
set up a bash shell for dev...git fetch origin; git checkout --track origin/develop
git submodule update --init --recursive