New feature: onEnter methods


You can now optionally attach a function as a property called onEnter to any room. When the player enters the room, the function will get called. These functions receive the same data that items' use functions do -- that is the disk itself, and also the println, getRoom and enterRoom methods.

Files

text-engine-source.zip 1 MB
Sep 12, 2020
text-engine-browser.zip Play in browser
Version 22 Sep 12, 2020

Get text-engine

Leave a comment

Log in with itch.io to leave a comment.