Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.0 #12

Merged
merged 223 commits into from
Dec 7, 2020
Merged

Version 2.0 #12

merged 223 commits into from
Dec 7, 2020

Conversation

okaybenji
Copy link
Owner

Updates text-engine to version 2.0

For developers:

  • Characters
  • Conversations
  • Objects can have multiple names
  • Objects can have spaces and capital letters in their names Item names which include capital letters or spaces do not work #2
  • New onLook, onTalk callbacks
  • New block property for blocked exits
  • Custom commands & removable commands
  • println accepts optional CSS class name
  • println accepts optional array to randomize output
  • Several new global utility functions
  • Engine functionality can be overridden for customization

For players:

  • Auto-complete (press tab)
  • Direction shortcuts (e.g. "north" or just "n")
  • Save/load games Add save [filename], load [filename] commands #3
  • ITEMS command lists items in room
  • When listing exits, show the names of any the player has already been to
  • Various bugfixes and improvements

Also includes new demo disk to introduce players and developers to engine features, a new template disk to make creating a new disk quick and easy, and a couple of other example disks.

@okaybenji okaybenji merged commit 3fb5de1 into master Dec 7, 2020
@okaybenji okaybenji deleted the demo-disk branch December 7, 2020 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant