View Single Post
Old 12-12-2010, 03:46 AM   #84
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 526
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Touch version of Fiveballs

Here's my touch version of Fiveballs. I made a couple of cosmetic changes, too, getting rid of the diagnostic output showing which button was pressed, and showing the most recent score in brackets.

Note: on my PRS-600 the high score is not saved! Does anyone know how to fix that?

Note that to get this working in the Test Environment, you need to edit eBookSimMain.xml and change

Code:
				 case "Fiveballs" : {
								this.EINK.VIEW.setURI("../addons/Fiveballs/fiveballs.xml");				
								break;
								}
to

Code:
				 case "Fiveballs" : {
								kbook.autoRunRoot.getSoValue = _Core.system.getSoValue;
				 				kbook.autoRunRoot.hasNumericButtons = _Core.config.compat.hasNumericButtons;
								this.EINK.VIEW.setURI("../addons/Fiveballs/fiveballs.xml");				
								break;
								}
@Mark Nord: Actually, to make it work for Touch I needed to use the same variables that were causing problems. So, I applied the same fix that you worked out for Fiverow.

UPDATE: Latest version now found in post #145.

Last edited by BenChen; 02-10-2011 at 09:03 AM. Reason: Zip file moved to post #145
BenChen is offline   Reply With Quote