From 63aa8f664705ab8ca6a329d3d1f8e58f6178ff2b Mon Sep 17 00:00:00 2001 From: undefined06855 Date: Tue, 10 Dec 2024 17:58:15 +0000 Subject: [PATCH] changelog + few bits --- changelog.md | 9 ++++++++- mod.json | 2 +- src/MenuLayer.cpp | 7 ------- src/utils/random.cpp | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/changelog.md b/changelog.md index f079b31..56a18b3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,11 @@ # Icon Ninja Changelog +## v1.2.0 +- Added Known Players compatibility! +- Added bomb particles (by flingus) +- Slightly fixed trail texture +- Added GD Lunar compatibility +- (Internal) Changed debug workings and moved debug to be to behind `-DDEBUG` +- Adjusted chance of bombs spawning ## v1.1.1 - Improved swipe trail - Added shake effect on bomb explosion @@ -6,7 +13,7 @@ - Bombs! - Multiple players at once! - Flashbang mode (for bombs) -- Rewrote randomisation algorithm, Known Players compatibility will be added later +- Rewrote randomisation algorithm - Improved launch randomisation - Improved collision - MacOS support temporarily removed diff --git a/mod.json b/mod.json index 6cac387..7c1ff49 100644 --- a/mod.json +++ b/mod.json @@ -7,7 +7,7 @@ "id": "undefined0.icon_ninja", "name": "Icon Ninja", - "version": "v1.1.1", + "version": "v1.2.0", "developer": "undefined0", "description": "Makes killing icons like Fruit Ninja!", "tags": [ "joke", "offline", "modtober24" ], diff --git a/src/MenuLayer.cpp b/src/MenuLayer.cpp index 1928545..d022190 100644 --- a/src/MenuLayer.cpp +++ b/src/MenuLayer.cpp @@ -11,13 +11,6 @@ bool HookedMenuLayer::init() { title->setCascadeOpacityEnabled(true); } - // geode compat - if (auto bottomMenu = getChildByID("bottom-menu")) { - if (auto geodeButton = geode::cast::typeinfo_cast(bottomMenu->getChildByID("geode.loader/geode-button"))) { - geodeButton->setCascadeOpacityEnabled(true); - } - } - return true; } diff --git a/src/utils/random.cpp b/src/utils/random.cpp index 7d60186..fad79a4 100644 --- a/src/utils/random.cpp +++ b/src/utils/random.cpp @@ -94,7 +94,7 @@ void randomisePlayerObject(PlayerObject* player) { float timeMod = 0; randFloat = (float)rand() / RAND_MAX; - if (randFloat < 0.2) timeMod = 1.3f; + if (randFloat < 0.2) timeMod = 1.3f; else if (randFloat < 0.4) timeMod = 1.1f; else if (randFloat < 0.6) timeMod = 0.7f; else if (randFloat < 0.65) timeMod = 1.6f;