Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 65

NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
04/05/14 09:20 PM (10 years ago)

Match 3 Tweaks

Taking a break tonight from my app, and figured there probably were some others checking the Match 3 from Chris1. I'll will start it off with a couple of Tips, and lets see what anyone else has. Lets not make it a wish list or requests to the developer. Looking to see what others add that we can share.(who knows maybe Chris1 will chime in now and then;)
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
04/05/14 09:21 PM (10 years ago)
==== Removing the Tab Bar on the game screen ============ If your app is a tabbed layout... (since BTv3 Core still does not correctly handle the Control Panel setting in PlugIns to hidee Tab Bar when Screen Loads (JSON "hideTabBarWhenScreenLoads": "1";) you can manually edit the JSON and include the following in the Control Panel: "hideBottomTabBarWhenScreenLoads": "screenId" (remember last entry does not need comma at the end of line.)
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
04/05/14 09:25 PM (10 years ago)
If you set your Control Panel for 6x 6rows, this will give you a 6x 5rows display on 3.5" (iPhone4) ==== Reduce number of rows on 3.5" screens ======== (iOS) Assumption is that you set the number of rows in the control panel for the iPhone 5. (Typically six (6) rows) These changes are made in (CR_match3.m) Code disclaimer (it works- but probably not elegant by coding standards ;) PART 1: Up top after #import line // used to identify if on 4" screen #define IsIphone5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON ) PART 2: Around line 167 AFTER the line starting with "NSString *gridY": // Change settings between 4" and 3.5" displays if(IsIphone5) { // additional iPhone5 code can be added here } else { // reduce number of rows from in Control Panel by one for 3.5" screens NSInteger tempY = [gridY integerValue]; tempY = tempY-1; gridY = [@(tempY) stringValue]; } ========================================================= Note: Match 3 v1.1 update does this already for you now :) ========================================================= Got this hint from Angry Ninga: https://www.buzztouch.com/forum/thread.php?tid=9DE67BA8DC96F26457362ED&command=isSearching&currentPage=1&topicTitle=super%20easy&createdBy=&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory=
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/05/14 10:10 PM (10 years ago)
Nice set of tips -- this is begging for a mini-forum for each plugin!
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
04/05/14 10:38 PM (10 years ago)
While Chris was putting out a fix tonight, he actually made the second one antique as he now has the v1.1 plugin handling screen height size:)
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
04/06/14 04:52 AM (10 years ago)
Good tips. Thanks for this thread
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
11/06/14 11:12 AM (9 years ago)
Thanks for the tips @NCbuzz. I have been unable to resolve how Turns are displayed on my text device iPhone 5. On my device Turn / Turns Total are cutoff at the top on the device. Any suggestions would be greatly appreciated. Mike
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
11/06/14 11:17 AM (9 years ago)
Sorry Double Post
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.