Skip to content

Commit

Permalink
changelog + few bits
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined06855 committed Dec 10, 2024
1 parent 269f6e3 commit 63aa8f6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
9 changes: 8 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# 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
## v1.1.0
- 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
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ],
Expand Down
7 changes: 0 additions & 7 deletions src/MenuLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<cocos2d::CCNodeRGBA*>(bottomMenu->getChildByID("geode.loader/geode-button"))) {
geodeButton->setCascadeOpacityEnabled(true);
}
}

return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/utils/random.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 63aa8f6

Please sign in to comment.