Monkey Demo - Cant Get Code to WorkMiscellaneous Forums/Monkey Discussion/Monkey Demo - Cant Get Code to Work
| The demos work just fine, its when I try to do a bit of coding of my own that there's a problem...|
every time I try to compile the code there's nothing but a white screen.
I've even attempted copying and pasting code that supposedly works ... still nothing.
And yes, I've tried clearing the build folder and closing out MServer.
I really want to try this thing before buying it, but it seems the HTML5 bit just doesn't want to work for me... :(
| Do you mean it's building and running but the 'game' just shows a white screen? If so, can you post a simple example that doesn't work? My wild guess would be that you've missed out SetUpdateRate in the OnCreate method... |
| My guess is that you could be right. Here's my code:|
but then again, in the tutorial documentation, their sample code also fails to include such:
and yes, that sample code is also showing the white screen :P
I'll see what I can do with your assumption though. Maybe it will fix my problem.
| nope, applied it. still no luck. :/ |
| Nevermind, I got it to work! :D I put SetUpdateRate in the wrong method... c_c silly me! |
| Good ol' SetUpdateRate... I really think this should be set by Mojo itself and that the user can override the value. |