diff --git a/changelog.md b/changelog.md index 0c74c54..fad7fc9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,8 @@ # Changelog +## v1.3.2 (---) +* Added Mac Support +* Added Fantasy, Monster, Portal gauntlets particles + ## v1.3.1 (2024-06-29) * Added Discord gauntlet design * Added Badges API dependency diff --git a/src/Styles/GauntletStyle.cpp b/src/Styles/GauntletStyle.cpp index 543cf64..78747d7 100644 --- a/src/Styles/GauntletStyle.cpp +++ b/src/Styles/GauntletStyle.cpp @@ -132,12 +132,70 @@ class $modify(CustomGauntletSelectLayer, GauntletSelectLayer) { sprite->setScale(1.225f); sprite->setZOrder(0); node->addChild(sprite); + + // Show gauntlets sprite again + gauntlet->setVisible(true); + gauntlet->setPosition({-2, 14}); + gauntlet->setScale(0.925f); + gauntlet_node->setZOrder(2); + + // Particle + CCParticleSystemQuad* particle = GameToolbox::particleFromString("26a-1a5a0.3a4a-90a14a9a0a17a0a0a0a0a0a0a0a2a1a76a325a0.537255a0a0.898039a0a0.164706a0a1a0a2a1a148a149a0.537255a0a0.898039a0a0.164706a0a1a0a0a0a0.3a0a0a0a0a0a0a0a0a2a0a0a0a0a146a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle); + particle->setPosition({gauntlet->getPositionX(), 103}); + particle->setZOrder(1); + particle->setScaleX(2.880f); + particle->setScaleY(4.603f); } else if (gauntletName == "Portal") { CCSprite* sprite = CCSprite::createWithSpriteFrameName("portal_gauntlet.png"_spr); sprite->setPosition(bg->getPosition()); sprite->setScale(1.225f); sprite->setZOrder(0); node->addChild(sprite); + + // Show gauntlets sprite again + gauntlet->setVisible(true); + gauntlet->setPosition({-2, 14}); + gauntlet->setScale(0.925f); + gauntlet_node->setZOrder(2); + + // Particle + CCParticleSystemQuad* particle = GameToolbox::particleFromString("13a-1a1a0.3a10a90a90a29a0a11a0a0a0a0a0a0a0a50a1a0a37a0.376471a0a0.109804a0a0.243137a0a1a0a32a1a142a96a0.376471a0a0.109804a0a0.243137a0a1a0a0.5a0a0.3a0a0a0a0a0a0a0a1a2a1a0a0a0a190a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle); + particle->setPosition({gauntlet->getPositionX(), 14}); + particle->setZOrder(1); + particle->setScaleX(2.880f); + particle->setScaleY(3.978f); + CCParticleSystemQuad* particle2 = GameToolbox::particleFromString("13a-1a1a0.3a10a90a90a29a0a11a0a0a0a0a0a0a0a50a1a0a37a0.0705882a0a0.172549a0a0.203922a0a1a0a32a1a142a96a0.0705882a0a0.172549a0a0.203922a0a1a0a0.5a0a0.3a0a0a0a0a0a0a0a1a2a1a0a0a0a190a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle2); + particle2->setPosition({gauntlet->getPositionX(), 14}); + particle2->setZOrder(1); + particle2->setScaleX(2.880f); + particle2->setScaleY(3.978f); + CCParticleSystemQuad* particle3 = GameToolbox::particleFromString("38a-1a2a0.3a16a90a180a29a0a11a0a0a0a0a0a0a0a6a1a0a0a0.760784a0a0.380392a0a0.835294a0a1a0a3a1a0a0a0.760784a0a0.380392a0a0.835294a0a1a0a0.18a0a0.49a0a43a0a33a0a-34a0a1a2a1a0a0a0a28a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle3); + particle3->setPosition({gauntlet->getPositionX(), 14}); + particle3->setZOrder(1); + particle3->setScaleX(1.030f); + particle3->setScaleY(1.030f); + CCParticleSystemQuad* particle4 = GameToolbox::particleFromString("38a-1a2a0.3a16a90a180a29a0a11a0a0a0a0a0a0a0a6a1a0a0a0.376471a0a0.690196a0a0.831373a0a1a0a3a1a0a0a0.376471a0a0.690196a0a0.831373a0a1a0a0.18a0a0.49a0a43a0a33a0a-34a0a1a2a1a0a0a0a28a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle4); + particle4->setPosition({gauntlet->getPositionX(), 14}); + particle4->setZOrder(1); + particle4->setScaleX(1.155f); + particle4->setScaleY(1.355f); + CCParticleSystemQuad* particle5 = GameToolbox::particleFromString("30a-1a1a0.3a30a90a180a29a0a11a0a0a0a0a0a0a0a4a1a0a0a0.760784a0a0.380392a0a0.835294a0a1a0a2a1a0a0a0.760784a0a0.380392a0a0.835294a0a1a0a0.18a0a0.49a0a43a0a33a0a-41a0a1a2a1a0a0a0a28a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle5); + particle5->setPosition({gauntlet->getPositionX(), 14}); + particle5->setZOrder(1); + particle5->setScaleX(1.455f); + particle5->setScaleY(1.655f); + CCParticleSystemQuad* particle6 = GameToolbox::particleFromString("30a-1a1a0.3a30a90a180a29a0a11a0a0a0a0a0a0a0a4a1a0a0a0.376471a0a0.690196a0a0.831373a0a1a0a2a1a0a0a0.376471a0a0.690196a0a0.831373a0a1a0a0.18a0a0.49a0a43a0a33a0a-41a0a1a2a1a0a0a0a28a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle6); + particle6->setPosition({gauntlet->getPositionX(), 14}); + particle6->setZOrder(1); + particle6->setScaleX(1.355f); + particle6->setScaleY(1.855f); } else if (gauntletName == "Demon") { CCSprite* sprite = CCSprite::createWithSpriteFrameName("demon_gauntlet.png"_spr); sprite->setPosition(bg->getPosition()); @@ -149,9 +207,6 @@ class $modify(CustomGauntletSelectLayer, GauntletSelectLayer) { gauntlet->setVisible(true); gauntlet->setPosition({-1, 22}); gauntlet->setScale(1.1f); - gauntlet_shadow->setVisible(true); - gauntlet_shadow->setPosition({-1, 22}); - gauntlet_shadow->setScale(1.1f); gauntlet_node->setZOrder(2); // Particle @@ -217,6 +272,32 @@ class $modify(CustomGauntletSelectLayer, GauntletSelectLayer) { sprite->setScale(1.270f); sprite->setZOrder(0); node->addChild(sprite); + + // Show gauntlets sprite again + gauntlet->setVisible(true); + gauntlet->setPosition({0, 22}); + gauntlet->setScale(1.075f); + gauntlet_node->setZOrder(2); + + // Particle + CCParticleSystemQuad* particle = GameToolbox::particleFromString("30a-1a3a0.3a9a90a9a11a0a17a40a0a0a0a0a0a0a4a1a0a0a0.0509804a0a0.929412a0a0a0a1a0a2a1a0a0a0.360784a0a0.486275a0a0.352941a0a1a0a0.1a0a0.5a0a0a0a0a0a0a0a0a2a1a0a0a0a165a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle); + particle->setPosition({gauntlet->getPositionX(), -37}); + particle->setZOrder(1); + particle->setScaleX(2.510f); + particle->setScaleY(1.985f); + CCParticleSystemQuad* particle2 = GameToolbox::particleFromString("66a-1a3a0.3a20a90a27a11a0a37a38a0a0a0a0a0a0a5a1a0a0a0.0156863a0a0.866667a0a0.027451a0a1a0a3a1a0a0a0.164706a0a0.509804a0a0a0a1a0a0.5a0a1a0a0a0a0a0a0a0a0a2a1a0a0a0a28a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle2); + particle2->setPosition({gauntlet->getPositionX(), -38}); + particle2->setZOrder(1); + particle2->setScaleX(1.072f); + particle2->setScaleY(2.475f); + CCParticleSystemQuad* particle3 = GameToolbox::particleFromString("18a-1a3a0.3a5a90a9a11a0a32a28a0a0a0a0a0a0a50a1a0a0a0.0352941a0a0.0901961a0a0.0313726a0a1a0a50a1a0a0a0.0352941a0a0.0901961a0a0.0313726a0a1a0a1a0a1a0a0a0a0a0a0a0a0a2a1a0a0a0a46a0a0a0a0a0a0a0a0a0a0a0a0a0a0", NULL, false); + node->addChild(particle3); + particle3->setPosition({gauntlet->getPositionX(), -48}); + particle3->setZOrder(1); + particle3->setScaleX(1.470f); + particle3->setScaleY(1.957f); } else if (gauntletName == "Mystery") { CCSprite* sprite = CCSprite::createWithSpriteFrameName("mystery_gauntlet.png"_spr); sprite->setPosition(bg->getPosition());