Implementing a simple Twine battle system in Glitch. This battle system, Twine Fray, has several features:
- random probability of an enemy appearing
- progressively healthier enemies (enemy health is determined by player score)
- random probability of enemy being more vulnerable to punch or kick
- allows the player to select an attack
- market in which player can purchase health and more powerful weapons
- HTML5 audio embedded in the title screen
Create new passages like this:
<tw-passagedata name="My New Passage"> Passage text </tw-passagedata>
Add links:
Add links [[like this]] just like a normal Twine game
Note:
Your starting passage must have pid="1" or else Twine doesn't know where to start the story. For example, <tw-passagedata name="My Start Passage" pid="1" > Passage text </tw-passagedata>