Skip to content

Commit

Permalink
Merge branch 'master' of github.com:adam11111111111111111111121/grabage
Browse files Browse the repository at this point in the history
  • Loading branch information
adam11111111111111111111121 committed Mar 14, 2024
2 parents b06e8ef + 9e2dc43 commit c935617
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include <Geode/modify/MenuLayer.hpp>

using namespace geode::prelude;

class $modify(MenuLayer) {
bool init() {
if (!MenuLayer::init())
return false;

auto winSize = CCDirector::get()->getWinSize();

auto label = CCLabelBMFont::create("Hello, World!", "bigFont.fnt");
label->setPosition(winSize / 2);
this->addChild(label);

return true;
}
};

0 comments on commit c935617

Please sign in to comment.