diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-23 22:37:05 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-23 22:37:05 +0100 |
commit | 4cbd236de18446d192dd59d7c7bc4ebb78850e37 (patch) | |
tree | ea84c67e6ce8521dc151504c3e560ce0f6064f99 /game/mainmenu/MainMenuScene.cpp | |
parent | 225e873c8ac9c4c08720a69b8f2c817d22cf0071 (diff) |
added shop scene with background
Diffstat (limited to 'game/mainmenu/MainMenuScene.cpp')
-rw-r--r-- | game/mainmenu/MainMenuScene.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/mainmenu/MainMenuScene.cpp b/game/mainmenu/MainMenuScene.cpp index 7a86ba5..85437db 100644 --- a/game/mainmenu/MainMenuScene.cpp +++ b/game/mainmenu/MainMenuScene.cpp @@ -22,13 +22,13 @@ void MainMenuScene::load_scene(){ GameObject menu = this->new_object("menu_background","",MainMenuConfig::MENU_OFFSET + MainMenuConfig::MENU_OFFSET_BACKGROUND); menu.add_component<Sprite>( - Asset("asset/ui/itemsButtonBlankDark.png"), + Asset("asset/ui/background.png"), Sprite::Data{ .sorting_in_layer = MainMenuConfig::STARTING_SORTING_IN_LAYER+0, - .size = {300,922}, + .size = {300,860}, }); menu.add_component<BehaviorScript>().set_script<ShowStartScript>(); - + ButtonSubScene button; vec2 pos = MainMenuConfig::MENU_OFFSET; |