Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 52

MobiGeni
Aspiring developer
Profile
Posts: 65
Reg: Jan 09, 2013
Akersloot
1,350
05/23/14 01:14 AM (10 years ago)

Match 3 game layout problem

As you can see in the screenshot, the Turns 0/ 10 are cut off from the screen, how can we fix this. Also the header image is not loading, I also dragged it in my project. For some reason the header does show on ipad . <a href="https://www.dropbox.com/s/plgan96gohqz6by/matchgame.png" target="_blank" rel="nofollow">https://www.dropbox.com/s/plgan96gohqz6by/matchgame.png</a> I also get this error in Xcode ...BT_Plugins/CR_match3/CR_match3.m:240:27: Unused variable 'matchElement0' Thanks, Vidal
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
05/23/14 04:28 AM (10 years ago)
I have been asking about the first issue for over a month.. Since I could not find a way in the html to position the text lower. Last night I noticed that a long length of the gameTitle caused additional problems. Since it is actually not visible because of the bug -use a short name and place your name in the Nav Bar. This seemed to allign text ok without "gameTitle" being displayed Note: Tried using the <br> in code but does not seem to have any effect. ==================== The second is just an alert. The source code references seven variables not used. No worries about that one.
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
11/06/14 10:38 AM (9 years ago)
Hello Vidal, Were you able to solve your problem regarding displaying Turns correctly? Mike
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
11/06/14 03:14 PM (9 years ago)
SOLVED displaying turns correctly on iPhone 5 I changed marginTop in CR_Match3.m from 0% to 10% and it works on my test device. //check for 4" device MCS change 0 to 10 marginTop CGFloat deviceHeight = [ [ UIScreen mainScreen ] bounds ].size.height; if (deviceHeight>=568) { marginTop = @"10px"; playMarginTop = @"0px"; Works in simulator for iPad Mike
 

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.