Engine api

This commit is contained in:
2026-10-06 20:27:17 -03:00
parent d13938550d
commit 69c5c187db
27 changed files with 1026 additions and 90 deletions
+3
View File
@@ -4,6 +4,9 @@ export const TEXTURE_SIZE = 16;
// the most a texture can be on either side, entity sprites are bigger than blocks'
export const MAX_TEXTURE_SIZE = 256;
// the game's version, what mods' game_version is checked against. mods with engine_access are tied to its minor version
export const GAME_VERSION = "0.1.0";
export const TICKS_PER_SECOND = 20;
export const TICK_DELTA = 1 / TICKS_PER_SECOND;