aboutsummaryrefslogtreecommitdiff
path: root/game/preview/PrevPlayerSubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/preview/PrevPlayerSubScene.cpp')
-rw-r--r--game/preview/PrevPlayerSubScene.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/game/preview/PrevPlayerSubScene.cpp b/game/preview/PrevPlayerSubScene.cpp
index b59a0af..4351deb 100644
--- a/game/preview/PrevPlayerSubScene.cpp
+++ b/game/preview/PrevPlayerSubScene.cpp
@@ -16,13 +16,9 @@
using namespace crepe;
PrevPlayerSubScene::PrevPlayerSubScene(Scene & scn) {
- auto & savemgr = scn.get_save_manager();
-
- ValueBroker player_x = savemgr.get<float>("player_x", 500);
- ValueBroker player_y = savemgr.get<float>("player_y", -100);
GameObject player
- = scn.new_object("player", "TAG", vec2 {player_x.get(), player_y.get()}, 0, 1);
+ = scn.new_object("player", "player", vec2 {800 , -100}, 0, 1);
Asset player_body_asset {"asset/barry/defaultBody.png"};
Sprite & player_body_sprite = player.add_component<Sprite>(
player_body_asset,