Home

GTCS Game Engine (V2) API Documentation

Copyright University of Washington 2018

@author Brandan Haertel 2015 brandan.haertel@gmail.com

@author Akilas Mebrahtom 2018 akilas.abraha@gmail.com

Details of V2 Demos and Tutorials: Here is the link to the demos and tutorials that can help you understand this API.

TODO: Finish commenting the file: Shaderlightaltindex the JSDOC is stubbed in but need finishing.

//-------------------------------------------------------------------------\\

COMPILING JSDOC INSTRUCTIONS:

Follow instructions from readme: JSDocs Instructions

OR

1) installl node.js
2)    download jsdocs https://github.com/jsdoc3/jsdoc (skip if using latest development version)
3) install (use cmd (WIN) or terminal(MAC))  [-g: install globally. omit of local install]:
    a) local files: "npm install -g jsdoc"
    b) latest development version:  "npm install -g https://github.com/jsdoc3/jsdoc.git"
4) run (use cmd (WIN) or terminal (MAC)):
    a) local install: ./node_modules/.bin/jsdoc yourJavaScriptFile.js
    b) global install: jsdoc yourJavaScriptFile.js

    or
        run:
            <local path>jsdoc -r src/engine
        to recursivly generate the js files in the engine directory

    or

        run:
            jsdoc.bat from src/JSDocs/

//-------------------------------------------------------------------------\\

HELPFUL LINKS: JSDocs Getting Started

//-------------------------------------------------------------------------\\

FILES:

Cameras
    Camera
    CameraShake
    CameraState
    Camera_Input
    Camera_Manipulation
    Camera_Xform

Core
    Resources
        Engine_audioclip
        Engine_defaultresources
        Engine_fonts
        Engine_resourcemap
        Engine_textfileloader
        Engine_textures
    Engine_core
    Engine_gameloop
    Engine_input
    Engine_layermanager
    Engine_particle
    Engine_particlesystem
    Engine_physics
    Engine_vertexbuffer

GameObjects
    Gameobject
    Gameobjectset
    Gameobject_pixelCollision
    parallaxgameobject
    TiledGameObject

Lights
    Light
    lightset

Particles
    Particle
    Particleemitter
    Particlegameobject
    Particlegameobjectset
ParticleSystems
	Fire
	ParticleSystem
	Smoke
	Snow

Physics
    Rigidcircle
    Rigidcircle_collision
    Rigidrectangle
    Rigidrectangle_collision
    Rigidshape
    Rigidshape_behavior
    Rigidshape_collision

Renderables
    Font renderable
    Illumrenderable
    Lightrenderable
    Linerenderable
    Particlerenderable
    Renderable
    Spriteanimaterenderable
    Spriterenderable
    Spriterenderable_pixelcollision
    Texturerenderable
    Texturerenderable_pixelcollision

Shaders
    Illumshader
    Lightshader
    Lineshader
    Shaderlightaltindex        // JSDOCS NOT FINISHED
    Shadermaterial
    Shadowcastshader 
    Simpleshader
    Spriteshader 
    textureshader

Shadows
    Shadowcaster
    Shadowreceiver
    Shadowreceiver_stencil

UI
	UIButton
	UIDDButton
	UIElement
	UIHealthBar
	UIRButton
	UIRadio
	UISprite
	UIText
	UITextBox
	UITextBoxFont
	UITexture
	
Utils
    Boundingbox
    Collisioninfo
    Interpolate
    interpolateVec2
    shakeposition
    transform

material
scene