User Tools

Site Tools


Some notes on how the project is organized…

(created by andy on 10/24/17)


The page where you can navigate through and try out different projects is here:

The game files for the 'Scenario Runner' are here:

This is just a single game, and is used for playing through any project. It accesses the the proper script files based on the user name and the project name (both found from the URL). The scripts are in a filetree on the server here:

So each user has a folder, and in that they've got folders for their projects. A good example script to look at might be MadTeam's Decoy Effect:

Each project has an overarching json file (00_projectname.json) that contains things like the project title, description, starting scene, user-set variables, etc. An example would be here:

Then each scene within the project has its own json file (XX_scenename.json) - where XX is just an incrementor to keep the files ordered nicely. These files are separated into two main parts. First are the 'dictNodes' which are basically a list of the 'nodes' from the scriptor. In Scene 1 of our Decoy Effect example, node '6,' for instance, is a dialogue node where Barnacle Bob(1) says “Welcome to … How can I help you?” The second part of this json, 'scene', contains the scene info of where all the objects are placed, their positions, scale, etc. (The Decoy Effect example scene would be here:

When people are playing the games, first the proper scripts are loaded up – then the game grabs the assets (art and sounds) it needs. The art is sorted into a filetree here:

The sounds are sorted into a filetree here:


You can grab the latest (standalone) build of the authoring tools, and see some basic info, in the dokuwiki:

Right now, you can find the files for the online 'Authoring Tools' (the webgl tool that folks use to create their projects) here:

When someone loads up the authoring tools online, the WebGl queries the server for the location and names of their projects, and then loads the json files into the tools. As they are editing and creating, new json files get saved back onto the server.

serverstructure.txt · Last modified: 2018/02/06 22:21 (external edit)

Page Tools