aboutsummaryrefslogtreecommitdiff
path: root/game/PlayerSubScene.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-20 12:57:17 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-20 12:57:17 +0100
commit0ba89eff9283d5f9f59fa763a19f4616f1c66d74 (patch)
tree806393e53742896fa5fbe39926b7aa406ef37bfe /game/PlayerSubScene.cpp
parent6570bf598a3b3768fe34827529df5ea0b4b26f0e (diff)
finish moving game
Diffstat (limited to 'game/PlayerSubScene.cpp')
-rw-r--r--game/PlayerSubScene.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/PlayerSubScene.cpp b/game/PlayerSubScene.cpp
index 4f4ba9f..01a383a 100644
--- a/game/PlayerSubScene.cpp
+++ b/game/PlayerSubScene.cpp
@@ -12,7 +12,7 @@ using namespace std;
PlayerSubScene::PlayerSubScene(Scene & scn) {
GameObject player = scn.new_object("player", "player", vec2(-100, 200));
- Asset player_body_asset{"asset/jetpack_joyride/barry/defaultBody.png"};
+ Asset player_body_asset{"asset/barry/defaultBody.png"};
Sprite & player_body_sprite
= player.add_component<Sprite>(player_body_asset, Sprite::Data{
.sorting_in_layer = 10,
@@ -24,7 +24,7 @@ PlayerSubScene::PlayerSubScene(Scene & scn) {
.fps = 5,
.looping = true,
});
- Asset player_head_asset{"asset/jetpack_joyride/barry/defaultHead.png"};
+ Asset player_head_asset{"asset/barry/defaultHead.png"};
Sprite & player_head_sprite
= player.add_component<Sprite>(player_head_asset, Sprite::Data{
.sorting_in_layer = 10,
@@ -37,7 +37,7 @@ PlayerSubScene::PlayerSubScene(Scene & scn) {
.fps = 5,
.looping = true,
});
- Asset player_jetpack_asset{"asset/jetpack_joyride/barry/jetpackDefault.png"};
+ Asset player_jetpack_asset{"asset/barry/jetpackDefault.png"};
Sprite & player_jetpack_sprite = player.add_component<Sprite>(
player_jetpack_asset, Sprite::Data{
.sorting_in_layer = 10,