Skip to content

Commit

Permalink
random people
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Jul 16, 2024
1 parent 02858bb commit d01c89f
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 6 deletions.
Binary file added emojis/other/mewhen.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 added emojis/players/colon.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 added emojis/players/cyclic.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 added emojis/players/default.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 added emojis/players/evw.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 added emojis/players/juniper.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 added emojis/players/riot.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 added emojis/players/robtop.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 added emojis/players/sdslayer.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 added emojis/players/thesillydoggo.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 added emojis/players/tride.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 added emojis/players/uproxide.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 added emojis/players/wulzy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"GJ_EmojiSheet02": [
"emojis/other/*.png"
],
"GJ_EmojiSheet03": [
"emojis/players/*.png"
],
"GJ_EmojiUISheet": [
"resources/*.png"
]
Expand Down
25 changes: 21 additions & 4 deletions src/EmojiNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ std::vector<std::pair<std::string, std::string>> emojis = {
std::pair("eldermod", "modBadge_02_001.png"),
std::pair("leaderboardmod", "modBadge_03_001.png"),

std::pair("$$newline$$", "$$newline$$"),
std::pair("$$newline$$Discord", "$$newline$$"),

//discord
_Emoji("100"),
Expand Down Expand Up @@ -113,7 +113,7 @@ std::vector<std::pair<std::string, std::string>> emojis = {
_Emoji("eggplant"),
_Emoji("clown"),

std::pair("$$newline$$", "$$newline$$"),
std::pair("$$newline$$Other", "$$newline$$"),

//other
_Emoji("amogus"),
Expand Down Expand Up @@ -150,9 +150,26 @@ std::vector<std::pair<std::string, std::string>> emojis = {
_Emoji("gd"),
std::pair("geode", "geode-icon.png"_spr),
_Emoji("boar"),
_Emoji("mewhen"),

// players
std::pair("$$newline$$Players", "$$newline$$"),

_Emoji("default"),
_Emoji("sdslayer"),
_Emoji("evw"),
_Emoji("tride"),
_Emoji("colon"),
_Emoji("robtop"),
_Emoji("wulzy"),
_Emoji("juniper"),
_Emoji("riot"),
_Emoji("cyclic"),
_Emoji("thesillydoggo"),
_Emoji("uproxide"),

// cat collection, thank you c# discord. i wuv you <3
std::pair("$$newline$$", "$$newline$$"),
std::pair("$$newline$$Cat Collection", "$$newline$$"),

_Emoji("catbless"),
_Emoji("catcash"),
Expand All @@ -163,7 +180,7 @@ std::vector<std::pair<std::string, std::string>> emojis = {
_Emoji("catderp"),
_Emoji("catfacepalm"),
_Emoji("catfine"),
_Emoji("catgasm"),
// _Emoji("catgasm"),
_Emoji("catgasp"),
_Emoji("catgift"),
_Emoji("catgrump"),
Expand Down
11 changes: 9 additions & 2 deletions src/EmojiPickPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,23 @@ void EmojiPickPopup::populateScroll(CCContentLayer* content)
{
//newline

auto text = CCLabelBMFont::create(emoji.first.substr(11).c_str(), "chatFont.fnt");
text->setColor(ccc3(0, 0, 0));
text->setOpacity(50);
text->setAnchorPoint(ccp(0, 0.5f));
text->setPosition(ccp(10, (y + 1.25f) * spacer));

auto line = CCLayerColor::create();
line->setOpacity(50);
line->ignoreAnchorPointForPosition(false);
line->setContentSize(ccp(content->getContentWidth() - 25, 2));
line->setPosition(ccp(content->getContentWidth() / 2, (y + 1.25f) * spacer));
line->setContentSize(ccp((content->getContentWidth() - 25) - text->getScaledContentWidth() - 5, 2));
line->setPosition(ccp(content->getContentWidth() / 2 + text->getScaledContentWidth() / 2 + 5 / 2, (y + 1.25f) * spacer));

x = -1;
y += 1.5f;

content->addChild(line);
content->addChild(text);
}
}

Expand Down

0 comments on commit d01c89f

Please sign in to comment.