Add cursor support

This commit is contained in:
2023-12-07 19:24:29 +01:00
parent f27718cdbf
commit b410867902
4 changed files with 75 additions and 41 deletions

View File

@@ -224,7 +224,7 @@ void render(float dt, void *userData) {
bzTileMapDraw(&game->map);
drawPlayerInputUI();
drawPlayerInputUIGround();
ecs_progress(ECS, dt);
ecs_enable(ECS, renderDebugPathSystem, game->debugDraw.path);
@@ -234,6 +234,8 @@ void render(float dt, void *userData) {
if (game->debugDraw.spatialGrid)
bzSpatialGridDrawDebugGrid(game->entityGrid);
drawPlayerInputUI();
EndMode2D();
}