Skip to content

Commit

Permalink
Added magic gauntlet sprite
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Oct 19, 2024
1 parent e214584 commit cc33c7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file added resources/gauntlets/magic_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 @@ -710,6 +710,12 @@ class $modify(CustomGauntletSelectLayer, GauntletSelectLayer) {
sprite->setScale(1.270f/scaleFactor);
sprite->setZOrder(0);
node->addChild(sprite);
} else if (gauntletName == "Magic") {
CCSprite* sprite = CCSprite::create("magic_gauntlet.png"_spr);
sprite->setPosition(bg->getPosition());
sprite->setScale(1.270f/scaleFactor);
sprite->setZOrder(0);
node->addChild(sprite);
} else if (gauntletName == "NCS I") {
CCSprite* sprite = CCSprite::create("ncs_gauntlet_1.png"_spr);
sprite->setPosition(bg->getPosition());
Expand Down

0 comments on commit cc33c7b

Please sign in to comment.