Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 81

Salamandra
Android Fan
Profile
Posts: 52
Reg: Feb 11, 2013
Tel Aviv
8,170
03/09/13 07:46 PM (12 years ago)

Quiz Plugin Customization

Hi! I have been reading previous posts about this Quiz but did not find the following issues adressed: 1. How do I remove the default image if I dont want anything to be displayed? 2. How do I change the text, font, color, etc. for the "3,2,1,go"? 3. How can I control (edit or cancel) the random bonus given (X3, X5) and remove the display of the "incorrect" icon? 4. Where can I edit (color, fonts) the Score points being showed? 5. I cant see the background image being showed during the quiz... Any idea? 6. Is it possible to edit the menu appearing at the end of the quiz? Having just 2 options, or editing the text, and pointing out what screen they point to? 7. Well, I guess thats too much by now... Thanks for your help! All the best, Salamandra
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/09/13 10:32 PM (12 years ago)
Well, I can at least answer one of those for now :) - #2 - Inside BT_screen_quiz.m around line 200 you will find this code -- [countdownToStartLabel setTextColor:[UIColor whiteColor]]; - just change whiteColor to redColor, greenColor, blackColor, etc.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
03/10/13 12:11 AM (12 years ago)
Is this related to iOS or android?
 
Salamandra
Android Fan
Profile
Posts: 52
Reg: Feb 11, 2013
Tel Aviv
8,170
like
03/10/13 01:01 AM (12 years ago)
Thanks for your reply :) @mysps: Android @Absentia, great help! But I believe that´s good for iOS? And since you showed up here, I must say that your Coffee Quiz was a main inspiration... Really enjoyed that one! Thanks and have a great day!
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/10/13 01:14 AM (12 years ago)
Ah, well if we're talking about Android then I'm afraid I can't be of much help That's so funny about the coffee quiz considering it was my first app ever and I always thought it was kind of a flop haha! Glad to hear you enjoyed it though - I think that's the first genuine feedback I've hear about since it released a year and a half ago...all of the App Store reviews are from family and friends :P
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
03/10/13 01:33 AM (12 years ago)
I can help a little with android. I just needed to make some of the changes for a new app of mine. 1. Go to the res/drawable directory and open the images: quiz_bgsmall.png and quiz_bglarge.png. Edit or replace them as you please. 3. Same as above res/drawable and you will find those images: quiz_10x.png quiz_9x.png etc.. Replace and save over. 5. Go to the src directory and open BT_screen_quiz.java. Search for : //setup background colors... BT_viewUtilities.updateBackgroundColorsForScreen(this, this.screenData); BELOW this add: //setup background images.. if(backgroundImageWorkerThread == null){ backgroundImageWorkerThread = new BackgroundImageWorkerThread(); backgroundImageWorkerThread.start(); } Your Background images will now show up. I think it was left out of code but works great by adding this. The other questions. I'm sure you'll have to tinker around in the res/layout/screen_quiz.xml I haven't tried but thats where you would most likely change colors and text etc. But I could be wrong because I haven't had the need to change those values. The most I've done was change the position of the Quiz text and it was in the screen_quiz.xml . I think I saw colors there too :) Good luck
 
Salamandra
Android Fan
Profile
Posts: 52
Reg: Feb 11, 2013
Tel Aviv
8,170
like
03/10/13 03:43 AM (12 years ago)
@Absentia, thanks anyway, hope to learn enough to help you when you get into Android ;) btw, yes, the feedbacks in the appstore indeed looked "familiar". Just rated it now, too bad it wont show in the US store... @mysps, thanks so much! Actually I have spent the whole night trying to understand why I get so many errors in the layout files, when I tried to edit those things. Please if you can, have a look here: https://www.buzztouch.com/forum/thread.php?tid=83D0E42D6B1B6FA5C7CFB7A&fid=06DB0BCB08E3333&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 Cheers!
 

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.