Discussion Forums  >  Uncategorized

Replies: 8    Views: 274

Marko
buzztouch Evangelist
Profile
Posts: 558
Reg: May 04, 2011
UK, Alcester
8,880
02/16/12 04:10 PM (12 years ago)

Quiz - How to stop multiplier

Working on student quiz but want to give them a grade out of 100 with 10 questions, the multiplier makes this difficult in quiz. Is there a way of turning the multiplier off in 1.5 app
 
Marko
buzztouch Evangelist
Profile
Posts: 558
Reg: May 04, 2011
UK, Alcester
8,880
like
02/16/12 04:19 PM (12 years ago)
I also meant to add can I direct a different score to a different sceen e.g. 7-10 reward screen Grade C, 8/10 Reward Screen Grade B, 9/10 Reward Screen A, 10/10 Reward Screen David of BT
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/16/12 05:09 PM (12 years ago)
Just give them a fail screen bro, will make them work harder and question their intelligence, that's what being a grown up is about after all isn't it?
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
02/16/12 08:03 PM (12 years ago)
You can edit the quiz screen code and change the multiplier to 1. That I assume would solve your problem.
 
Marko
buzztouch Evangelist
Profile
Posts: 558
Reg: May 04, 2011
UK, Alcester
8,880
like
02/17/12 04:23 AM (12 years ago)
Dear brother Macapple this giving up smoking has made you hard on the little cherubs that will be societies leaders in the future. You and I will be at there mercy in the Buzztouch retirement home whilst they patronize us and call us good boy's for eating all our veg. @MGoBlue - where the dickens (polite form of query not a UK rude term I promise) is the multiplier in the code. My knowledge of the code is equal to Macapple compassion for the younger members of society
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/17/12 05:29 AM (12 years ago)
Happy Friday Marko, good work you are doing for lil blighters! Have a look at BT_Screens folder and look for BT_screen_quiz.m There is some code towards the bottom that looks like this: //bonusImage for right in a row if(streak > 9){ pointsPerRight = (pointsPerRight * 10); tmpBonusImg = [UIImage imageNamed:@10X.png]; }else if (streak > 8){ pointsPerRight = (pointsPerRight * 9); tmpBonusImg = [UIImage imageNamed:@9X.png]; }else if (streak > 7){ pointsPerRight = (pointsPerRight * 8); tmpBonusImg = [UIImage imageNamed:@8X.png]; }else if (streak > 6){ pointsPerRight = (pointsPerRight * 7); tmpBonusImg = [UIImage imageNamed:@7X.png]; }else if (streak > 5){ pointsPerRight = (pointsPerRight * 6); tmpBonusImg = [UIImage imageNamed:@6X.png]; }else if (streak > 4){ pointsPerRight = (pointsPerRight * 5); tmpBonusImg = [UIImage imageNamed:@5X.png]; }else if (streak > 3){ pointsPerRight = (pointsPerRight * 4); tmpBonusImg = [UIImage imageNamed:@4X.png]; }else if (streak > 2){ pointsPerRight = (pointsPerRight * 3); tmpBonusImg = [UIImage imageNamed:@3X.png]; }
 
Marko
buzztouch Evangelist
Profile
Posts: 558
Reg: May 04, 2011
UK, Alcester
8,880
like
02/17/12 08:40 AM (12 years ago)
Hi Macapple I am developing a bro-mance here, I have just changed the multiplier to 1 and it all works. This is the first time I have delved into the depths of Davids code, feel like a proper programmmer Next challenge is for me to work out a conditional reward screen. If 8/10 - Reward screen - You should work at apple, 9/10 - you should work for Nasa, 10/10 - you should work for Buzztouch, any less than 7 out of 10 - you need to work in politics or banking
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/17/12 09:27 AM (12 years ago)
Result! You going to implement Game Center and do rewards?
 
Marko
buzztouch Evangelist
Profile
Posts: 558
Reg: May 04, 2011
UK, Alcester
8,880
like
02/17/12 10:22 AM (12 years ago)
Not sure how to do game centre will look at forum on your posts about issue. You are a hard taskmaster- next you will be getting me to do a wall across scotland to keep the sasonaxe's out. I always thouhght that was one big project for Hadrin to tackle on his own. I hear china might take up the idea
 

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.