constants.ts

src/constants.ts
/**
* Global constants. Edit values here rather than scattering magic numbers
* across scenes.
*/
/** Hex colors used by the placeholder game. Replace freely. */
export const COLORS = {
background: 0x0f172a,
grid: 0x1e293b,
player: 0x38bdf8,
coin: 0xfacc15,
coinStroke: 0x92400e,
text: 0xf8fafc,
textMuted: 0x94a3b8,
textDim: 0x64748b,
accent: 0x38bdf8,
accentHover: 0x7dd3fc,
} as const;
/** Cache keys for assets that PreloadScene loads. */

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC