41 lines
765 B
JavaScript
41 lines
765 B
JavaScript
'use strict';
|
|
|
|
/*
|
|
|
|
Dr1v3n Wild by Frank Force
|
|
A 13k game for js13kGames 2024
|
|
|
|
Controls
|
|
- Arrows or Mouse = Drive
|
|
- Spacebar = Brake
|
|
- F = Free Ride Mode
|
|
- Escape = Title Screen
|
|
|
|
Features
|
|
- 10 stages with unique visuals
|
|
- Fast custom WebGL rendering
|
|
- Procedural art (trees, rocks, scenery)
|
|
- Track generator
|
|
- Arcade style driving physics
|
|
- 2 types of AI vehicles
|
|
- Parallax horizon and sky
|
|
- ZZFX sounds
|
|
- Persistent save data
|
|
- Keyboard or mouse input
|
|
- All written from scratch in vanilla JS
|
|
|
|
*/
|
|
|
|
///////////////////////////////////////////////////
|
|
|
|
// debug settings
|
|
//devMode = debugInfo = 1
|
|
//soundVolume = 0
|
|
//debugGenerativeCanvas = 1
|
|
//autoPause = 0
|
|
//quickStart = 1
|
|
//disableAiVehicles = 1
|
|
|
|
///////////////////////////////////////////////////
|
|
|
|
gameInit(); |