Spawn player with P, will be working on collisions and physics soon.

This commit is contained in:
2025-02-21 14:47:08 -06:00
parent 1f18f08244
commit 0a174af0e2
2 changed files with 5 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ CPMAddPackage(
CPMAddPackage(
NAME Sockets
URL https://git.redacted.cc/josh/Sockets/archive/Prerelease-3.zip
URL https://git.redacted.cc/josh/Sockets/archive/Prerelease-3.1.zip
)
add_subdirectory(Core)

View File

@@ -438,10 +438,10 @@ namespace CaveGame::ClientApp
auto coords = game_ctx->world->camera.ScreenToWorld(pos);
auto* plr = new Core::Explosion(game_ctx->world, coords, 1.f, tool_radius);
//auto* plr2 = new Core::Player(coords);
//game_ctx->world->AddEntity(plr2);
game_ctx->world->AddEntity(plr);
//auto* plr = new Core::Explosion(game_ctx->world, coords, 1.f, tool_radius);
auto* plr2 = new Core::Player(coords);
game_ctx->world->AddEntity(plr2);
//game_ctx->world->AddEntity(plr);
}
}