Skip to content

Authoring several games at once

ThePix edited this page Jan 1, 2021 · 3 revisions

I have a problem that I have a lot of ideas for different games, and end up with several games in development at the same time. What is the best way to handle that?

Although Quest 6 defaults to using the "game" folder, you can specify a different one in the URL, by appending a question mark, then the folder name extension.

Suppose we have a game called "house". Instead of using "game" as you game folder, use "game-house". To view the game, double click index.html as normal, to bring the default page up, but the add "?house" to the URL.

For example, before and after:

file:///C:/Users/pixie/Documents/GitHub/QuestJS/index.html

file:///C:/Users/pixie/Documents/GitHub/QuestJS/index.html?house

Assets

You might want to have images or whatever in a separate folder. Just point the "imagesFolder" attribute of the settings object to the folder inside settings.js (the copied version!). For example:

settings.imagesFolder = 'myimages'

Packaging

When you come to upload your game you will need to ensure that you include the correct game folder. Note that for uploading, this must be called "game". Your zip software may allow you to do that to inside the .zip file, which is the easiest way (7Zip does, the Windows built-in facility does not).

Shared custom libraries

If you have your own libraries that you want shared between all your games, you can them in their own folder. Use settings.customLibraries to tell quest to load them in your settings.js file. You can select which files you want to include. this example includes three library files:

settings.customLibraries.push({folder:'mylib', files:["myutils", "descriptions", "calculus"]})

Obviously you will need to add that folder to your game package when uploading.

Tutorial

QuestJS Basics

The Text Processor

Commands

Templates for Items

See also:

Handing NPCs

The User Experience (UI)

The main screen

The Side Panes

Multi-media (sounds, images, maps, etc.)

Dialogue boxes

Other Elements

Role-playing Games

Web Basics

How-to

Time

Items

Locations

Exits

Meta

Meta: About The Whole Game

Releasing Your Game

Reference

Clone this wiki locally