Bible
The [GAME] consists of the following files:
game.html
- main HTML file
loadfirst.js
-loads one audio file at the beginning which is used in the intro
three-kbrecordzz.js
-3D renderer (a simplified and minimized three.js)
ascend.js
-creates the 3D world = creates, and shows and hides terrain chunks and objects (trees, houses, etc)
functions.js
-game functions, and lists of all area-based events, all story-based events, and all dialogue
basic.js
-images, sounds, etc (files)
input.js
-user input, and a built-in level editor
main.js
-the main game loop
files/*
-folder with all asset files used in the game
.jpg images
.png images
.mp3 sounds
.ttf fonts
The code is mostly the same as in This Is (NOT!) A Car Club, but some things are new or changed:
New technology:
- Custom shader for houses
(and new object codes for houses)
- function roof(), for roofs over larger buildings
- (Custom shader for sprites?)
Large changes:
- (three.js is heavily stripped down to be smaller and faster?)
Small optimizations:
- function xz_move()
- function pxz()
- ...?