Skip to content

Commit

Permalink
Modified badge textures
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Nov 17, 2024
1 parent ecdf5c6 commit d1b2707
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Binary file modified resources/badges/artistBadge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/badges/contributorBadge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/badges/gdAwardsBadge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/badges/gdutils_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/badges/supporter_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/Styles/NewGJCommentList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class $modify(CommentCell) {
if (badge == 1) {
if (!cell->getChildByIDRecursive("gdutils-dev-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("gdutils_badge.png"_spr);
badgeGDUtil->setScale(0.75f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand Down Expand Up @@ -118,7 +118,7 @@ class $modify(CommentCell) {
} else if (badge == 2) {
if (!cell->getChildByIDRecursive("gdutils-contributor-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("contributorBadge.png"_spr);
badgeGDUtil->setScale(0.75f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand All @@ -136,7 +136,7 @@ class $modify(CommentCell) {
} else if (badge == 3) {
if (!cell->getChildByIDRecursive("gdutils-artist-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("artistBadge.png"_spr);
badgeGDUtil->setScale(0.75f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand All @@ -154,7 +154,7 @@ class $modify(CommentCell) {
} else if (badge == 4) {
if (!cell->getChildByIDRecursive("gdutils-gdawards-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("gdAwardsBadge.png"_spr);
badgeGDUtil->setScale(0.75f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand Down Expand Up @@ -226,7 +226,7 @@ class $modify(CommentCell) {
} else if (badge == 8) {
if (!cell->getChildByIDRecursive("gdutils-supporter-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("supporter_badge.png"_spr);
badgeGDUtil->setScale(0.75f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand Down
10 changes: 5 additions & 5 deletions src/Styles/NewProfilePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("gdutils_badge.png"_spr);
badgeGDUtil->setScale(1.15f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand All @@ -310,7 +310,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("contributorBadge.png"_spr);
badgeGDUtil->setScale(1.075f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand All @@ -326,7 +326,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("artistBadge.png"_spr);
badgeGDUtil->setScale(1.075f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand All @@ -342,7 +342,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("gdAwardsBadge.png"_spr);
badgeGDUtil->setScale(1.075f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand Down Expand Up @@ -406,7 +406,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("supporter_badge.png"_spr);
badgeGDUtil->setScale(1.075f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand Down

0 comments on commit d1b2707

Please sign in to comment.