Game-Themed Computer Science (GTCS) Game Engine:
Tutorial Guide
Overview
The GTCS (Game-Themed Computer Science) Game Engine is an API written in HTML, JavaScript, and WebGL2 that allows for the fast deployment of 2D games.
This library is designed specifically for computer science students and faculty with no background in computer graphics or video games.
This guide consists of a collection of tutorials demonstrating the basics of how to work with the GTCS Game Engine.
You can download the zipped source code to the following tutorials here.
The Tutorials |
Useful Links
Homepage for the engine and examples
API documentation for the engine
Source code of the engine
Tutorials for 1st edition
|
- Tutorial 0: Setting Up the Environment
- Creating an HTML page for presenting a game
- Parameters for the WebGL Canvas
- Tutorial 1: Basic Application Structure
- Understanding the scene, camera, renderable and game objects
- Declaring and initializing member variables
- Working with the game loop for updates and draws
- Tutorial 2: Resources and User Input
- Understanding and loading resources to create a texture renderable
- Loading audio resources for sound
- Keyboard & mouse input
- Default resources for font renderable and ambient lighting
- Tutorial 3: Sprites, Animation & Collision Detection
- Creating a sprite renderable
- Using multiple renderables to demonstrate collision detection
- Tutorial 4: Rigid Bodies and Particle Systems
- Collision resolution with rigid bodies
- Particle systems and emitters
- Tutorial 5: Illumination
- Light types
- LightRenderable objects
- IllumRenderable objects with normal maps
- Tutorial 6: Shadows & Parallax
- Shadow Casters
- Shadow Receivers
- Parallax & Camera Panning
|
|