2.0.0
text-engine has been updated to version 2.0, and it includes a ton of new features! A new demo has been added showing off what you can do, so be sure to try it out.
New for writers & developers
- Characters
- Conversations
- Markdown-like styling (italic, bold, underline)
- Objects can have multiple names
- Objects names can now include spaces & capital letters
- New
onLook
,onTalk
callbacks - New
block
property for blocked exits - Custom commands & removable commands
println
accepts optional CSS class nameprintln
accepts optional array to randomize output- Several new global utility functions
- Engine functionality can be overridden for customization
- New template disk to make creating a new disk quick and easy (plus a couple of other new example disks)
New for players:
- Save/load games!
- Auto-complete (press tab)
- Direction shortcuts (e.g. "north" or just "n")
- ITEMS command lists items in room; USE command lists useable items
- When listing exits, show the names of any rooms the player has already been to
- Various bug fixes & improvements
I hope you'll try it out!