Skip to content

Commit

Permalink
Added water gauntlet
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Jul 16, 2024
1 parent 7d9e4e2 commit e0445b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file added resources/gauntlets/water_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 @@ -636,6 +636,12 @@ class $modify(CustomGauntletSelectLayer, GauntletSelectLayer) {
particle2->setZOrder(3);
particle2->setScaleX(0.805f);
particle2->setScaleY(1.155f);
} else if (gauntletName == "Water") {
CCSprite* sprite = CCSprite::createWithSpriteFrameName("water_gauntlet.png"_spr);
sprite->setPosition(bg->getPosition());
sprite->setScale(1.270f);
sprite->setZOrder(0);
node->addChild(sprite);
} else if (gauntletName == "NCS I") {
CCSprite* sprite = CCSprite::createWithSpriteFrameName("ncs_gauntlet_1.png"_spr);
sprite->setPosition(bg->getPosition());
Expand Down

0 comments on commit e0445b2

Please sign in to comment.