Add entity test map

This commit is contained in:
2024-01-29 10:48:40 +01:00
parent e4ec272ab2
commit 32fa02929d
5 changed files with 5634 additions and 21 deletions

View File

@@ -376,7 +376,7 @@ void update(float dt, void *userData) {
char titleBuf[32];
snprintf(titleBuf, sizeof(titleBuf), "FPS: %d | %.2f ms", GetFPS(), GetFrameTime() * 1000);
SetWindowTitle(titleBuf);
//SetWindowTitle(titleBuf);
Game *game = ecs_singleton_get_mut(ECS, Game);
InputState *input = ecs_singleton_get_mut(ECS, InputState);

View File

@@ -247,7 +247,8 @@ void drawMainMenuUI(Game *game, f32 dt) {
setScreen(game, SCREEN_GAME);
unloadMap(game);
//loadMap(game, "assets/maps/tree_test.tmj");
loadMap(game, "assets/maps/map_01.tmj");
loadMap(game, "assets/maps/entity_test.tmj");
//loadMap(game, "assets/maps/map_01.tmj");
}
if (uiMainMenuButton("Settings", true)) {
setScreen(game, SCREEN_SETTINGS);