From 0ba89eff9283d5f9f59fa763a19f4616f1c66d74 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 20 Dec 2024 12:57:17 +0100 Subject: finish moving game --- game/PlayerSubScene.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'game/PlayerSubScene.cpp') 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(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(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( player_jetpack_asset, Sprite::Data{ .sorting_in_layer = 10, -- cgit v1.2.3