Spawn player with P, will be working on collisions and physics soon.
This commit is contained in:
@@ -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)
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user