File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 - name : Build the mod
4040 uses : geode-sdk/build-geode-mod@main
4141 with :
42- # sdk: ' nightly'
42+ sdk : nightly
4343 bindings : geode-sdk/bindings
4444 bindings-ref : main
4545 combine : true
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Add the mod to your `mod.json`:
2222 "dependencies" : [
2323 {
2424 "id" : " jouca.badgesapi" ,
25- "version" : " >=v1.2.4 " ,
25+ "version" : " >=v1.3.1 " ,
2626 "importance" : " required"
2727 },
2828 {
Original file line number Diff line number Diff line change 11# Changelog
2+ ## <cj >v1.3.1</c > <cb >(2025-11-22)</c >
3+ * <cy >Fixed</c > issues related to touch priority in badge menu
4+
25## <cj >v1.3.0</c > <cb >(2025-09-18)</c >
36* <cg >Added</c > priority tag for badges to place them more higher on the list than some others badges
47
Original file line number Diff line number Diff line change 11{
2- "geode" : " 4.8 .0" ,
2+ "geode" : " 4.9 .0" ,
33 "gd" : {
44 "win" : " 2.2074" ,
55 "android" : " 2.2074" ,
88 },
99 "id" : " jouca.badgesapi" ,
1010 "name" : " Badges API" ,
11- "version" : " v1.3.0 " ,
11+ "version" : " v1.3.1 " ,
1212 "developer" : " Jouca" ,
1313 "description" : " API mod to integrate badges & optimizing UI" ,
1414 "dependencies" : {
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ bool BadgeMenu::setup() {
2222 auto director = cocos2d::CCDirector::sharedDirector ();
2323
2424 m_noElasticity = true ;
25- registerWithTouchDispatcher ();
26- setTouchEnabled (true );
27- setKeypadEnabled (true );
2825
2926 CCArrayExt<BadgeMenuCell*> cells;
3027 int badges_max = 8 ;
@@ -44,7 +41,6 @@ bool BadgeMenu::setup() {
4441 border->ignoreAnchorPointForPosition (false );
4542 border->setPositionX (m_mainLayer->getContentSize ().width / 2 );
4643 border->setPositionY (border->getContentSize ().height / 2 + 5 );
47- setTouchPriority (100 );
4844 m_mainLayer->addChild (border);
4945
5046 CCSprite* title_badges = CCSprite::create (" badges.png" _spr);
You can’t perform that action at this time.
0 commit comments