Skip to content

Commit

Permalink
Added universe gauntlet
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Jun 2, 2024
1 parent c8a66cc commit df12d58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"resources/portal_gauntlet.png",
"resources/demon_gauntlet.png",
"resources/castle_gauntlet.png",
"resources/galaxy_gauntlet.png"
"resources/galaxy_gauntlet.png",
"resources/universe_gauntlet.png"
]
},
"settings": {
Expand Down
Binary file added resources/universe_gauntlet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/Styles/GauntletStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ class $modify(GauntletSelectLayer) {
sprite->setScale(1.695f);
sprite->setZOrder(0);
node->addChild(sprite);
} else if (gauntletName == "Universe") {
CCSprite* sprite = CCSprite::create(Mod::get()->expandSpriteName("universe_gauntlet.png"));
sprite->setPosition(bg->getPosition());
sprite->setScale(1.695f);
sprite->setZOrder(0);
node->addChild(sprite);
} else {
bg->setVisible(true);
label->setVisible(true);
Expand Down

0 comments on commit df12d58

Please sign in to comment.