From 9e2dc43ede19bb9c423900ce8c6ee6694ad46e4f Mon Sep 17 00:00:00 2001 From: xalva <127667039+adam11111111111111111111121@users.noreply.github.com> Date: Thu, 14 Mar 2024 02:43:38 +0200 Subject: [PATCH] Add files via upload --- main.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 main.cpp diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..6608029 --- /dev/null +++ b/main.cpp @@ -0,0 +1,18 @@ +#include + +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; +} +};