Coder Social home page Coder Social logo

apophenia / adventures Goto Github PK

View Code? Open in Web Editor NEW

This project forked from longwelwind/adventures

0.0 1.0 0.0 1.99 MB

A custom story format for Twine 2 to create interactive stories with RPG elements

Home Page: https://longwelwind.github.io/adventures/

License: MIT License

HTML 0.45% TypeScript 89.68% JavaScript 9.87%

adventures's Introduction

Adventures

Adventures is a custom story format for Twine 2 that allows writers to make interactive stories with RPG elements such as health, items, inventory, gold and more.

Usage

Information about how installing and creating stories in Adventures is available here.

Development

If you wish modify Adventures, you can clone the repository and install the dependencies using:

npm install

Assets

Adventures uses 7Soul's excellent but-not-free assets. Because I obviously can't redistribute them freely, they aren't included in the repository if you clone it. You will need to buy them if you want to build Adventures. You will need at least:

Once you obtained them, you need to unzip the archive files into the images/ folder. Once done, you should have a folder directory that roughly lookes like this:

adventures/
├─ ...
├─ images/
|  ├─ Arrows/
|  ├─ Bars/
|  ├─ Buttons/
|  ├─ ...
|  ├─ Pack 1B/
|  ├─ Pack 1B-Renamed/
|  └─ ...
├─ ...

Debug & Build

If you want modify Adventures, you will want to build & debug it locally:

  • First launch Webpack using the command:
npm run start
  • In Twine, add the custom story format by clicking Formats, then Add a New Format and then past the file address to format.js which should look like:
(On Windows)
file:///E:/Users/.../adventures/dist/format.js
(On Unix)
file:///home/.../adventures/dist/format.js

With this setup, you don't need to re-add the custom story format everytime you make a modification in the code. Twine will automatically take the newest version of format.js everytime you launch your story.

adventures's People

Contributors

longwelwind avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.