06-04-2012 11:19 AM
Hi. I´m reading the book "Learning HTML5 Game Programming". In chapter 4 we program a game using the "Simple Game Framework" (SGF): Pong. When I execute the game in the ripple emulator (Ripple 0.9.4.1) the game works ok but when I deploy the game in the virtual Playbook (with BlackBerry WebWorks SDK for TabletOS 188.8.131.52) the game not works, only shows a blank square.
What is wrong? permissions?
The code for your review is here: https://github.com/oresistemas/samples/tree/master
My config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets"
A sample application to demonstrate some of the possibilities.
<content src="index.html" />
<icon rim:hover="false" src="icon.png"/>
06-12-2012 04:58 PM
Well, there's a lot to debug in there, but I was able to get it to paint simply by connecting over WebInspector and using the Console to run location.reload()
Once I did that, it started painting the canvas portion, though it was not responding to any other input.
06-13-2012 11:44 AM
I was using a real device actually. with the 2.1.0 beta software. You can try with that simulator if you want - it's right here: https://developer.blackberry.com/devzone/resources