openworld
library
Classes
Actor
Procedures related to animated actors
BaseObject
This is the base class for all objects and includes sprites, models, actors, planes
Camera
All camera turning should be done here
ColorLib
Procedures related to color
Config
Loading and creating objects specified in config file
CustomTrigger
Class to allow creation of customer trigger for any object eg models, sprites, actors - eg a trigger when actor is attacked
DistanceTrigger
Class to allow creation of distance trigger for rooms, npcs, plants etc
Keyboard
Functions for game control with keyboard
Light
Procedures related to light sources such as flickering and fading to different intensities
MapItem
A map item that holds a map image, two world positions and corresponding pixel positions on the image
Maps
Functions related to maps
Allows placing of markers and showing the correct map
Math
Math functions that are useful for openworld
Mob
Mob procedures specifically for NPC's such as walking around, showing speech text for NPC
Model
Procedures related to mesh models
MusicItem
Class for a single music item including the songs filename and chance of it being played
Musics
Functions related to playing music
Persistence
Procedures related to storing persistent data
Plane
Procedures for creating planes including planes with text
PoolObject
Load a pool object specified in config.json
poolsize is how many objects in the pool
maxdistance is distance where ignore the object if too far away - make zero if no maxdistance
name is the name of the object3d in the pool
positions is a list of every position of the object - really should be more positions than poolsize otherwise no point
Position
Position as specified in config.json
Room
Procedures related to rooms
As a player moves around can enter a room which has a position with width and height
Can set that indoors so it doesn't rain inside and also set the background sound of the room
Can also set trigger so when enter a room certain things can happen
Sound
functions for sound such as fading in and out
Space
Sprite
Procedures related to sprites such as text sprites
System
Status and procedures related to overall system
Texture
Functions for textures such as creating a text texture and lerping opacity of texture
Time
Procedures related to game time such as night, day, length of day
TouchTrigger
Class for a trigger when an object such as a model, plane, sprite or actor is touched
Updateables
Executes all updateables such a fire, water, smoke
VirtualJoystick
Functions for game control with virtual joystick for smartphones
Weather
Procedures related to weather such as wind, cloud, rain and fog
You
Functions and info related to the player