GithubHelp home page GithubHelp logo

classicvalues / queen-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jjm152/queen

0.0 1.0 0.0 38.69 MB

Queen of the Seas Game

License: GNU General Public License v2.0

JavaScript 97.82% CSS 2.14% Batchfile 0.01% Shell 0.03%

queen-1's Introduction

Queen

Queen of the Seas Game

IGDB Entry: https://tfgames.site/index.php?module=viewgame&id=1680

Discussion Forum: https://tfgames.site/phpbb3/viewtopic.php?f=6&t=11112

This game uses the Twine engine with the Sugarcube 2.x format.

HOW TO BUILD THE GAME:

1 - Download latest release from the release page.

2 - Download and install Tweego and the associated story formats from https://www.motoslave.net/tweego/

3 - Set your TWEEGO_PATH to include the directory where you installed your story formats.

4 - Run the build.bat or build.sh file from your downloaded copy of the repository. (Make sure tweego executable is in your path)

HOW TO MODIFY THE GAME

Even if you are not a javascript programmer, so long as you can understand the JSON data format and open a text editor you should be able to modify this game. All data related files are stored in the '001-SCRIPT_DATA' directory.

https://github.com/JJM152/Queen/tree/master/src/001-SCRIPT_DATA

Adding rooms and such follows the normal twine paradigm. There are a few useful widgets that I have created in the https://github.com/JJM152/Queen/tree/master/src/200-WIDGETS directory that will help.

ADDING NPCS AND STORES

This is slightly more tricky. Once you have edited the data files to add an NPC and store there are a couple of things you need to do.

1 - Go to the room you want the npc to appear in and use the widget <<NPC "SomeNpcName">> replacing the "SomeNpcName" part with the name you assigned your NPC in the data file as their key.

2 - Edit player.js and add the NPC to the NPC structure (look for this.NPCS). There are plenty of examples there on how to do it.

3 - Adding a store: You simplyl need to add another line to the this.StoreInventory data structure. Also this is fairly self explanatory if you look at it.

Edit these files, build the game and then launch it in your browser.

Happy Pillaging!

queen-1's People

Contributors

daviezwei avatar dcancer avatar ezsh avatar jjm01 avatar jjm152 avatar jrepg avatar

Watchers

 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.