UNPKG

@knopkem/little-game-engine-ts

Version:

LittleGameEngineTS - Tiny and Fast HTML5 Game Engine typescript port of LittleJS

34 lines (28 loc) 931 B
/* LittleJS - Release build include file - This file is used for release builds in place of engineDebug.js - Debug functionality will be disabled to lower size and increase performance */ export const debug = 0; export const showWatermark = 0; export const godMode = 0; export const debugOverlay = 0; export const debugPhysics = 0; export const debugParticles = 0; export const debugRaycast = 0; export const debugGamepads = 0; export const debugMedals = 0; /* // debug commands are automatically removed from the final build const ASSERT = ()=> {} const debugInit = ()=> {} const debugUpdate = ()=> {} const debugRender = ()=> {} const debugRect = ()=> {} const debugCircle = ()=> {} const debugPoint = ()=> {} const debugLine = ()=> {} const debugAABB = ()=> {} const debugClear = ()=> {} const debugSaveCanvas = ()=> {} */