HTML5 White Screen
Monkey Targets Forums/HTML5/HTML5 White Screen
| ||
| When i try this little sample with MonkeyV0.58, it works. (it show a space ship on a blue sky and you can move it with a mouse click on destination you want) But when i try to use it with Monkey V0.66b for example i just have a white screen. I am a little bit disappointed. Sample:
Import mojo
Function Main()
New Game
End
Class Game Extends App
Field player:Image
Field x,y:Int
Field tx,ty:Int
Method OnCreate()
player=LoadImage("boing.png")
SetUpdateRate 10
End
Method OnUpdate()
If TouchDown(0)
tx=TouchX(0)-128
ty=TouchY(0)
x=x+Sgn(tx-x)*5
y=y+Sgn(ty-y)*5
Endif
End
Method OnRender()
Cls 64,96,128
DrawImage player,x,y
If KeyDown(KEY_ESCAPE)
Cls
Error("")
Endif
End
End
|
| ||
| Did oyu delete the build folder when you tried V66 after V58? You need to do this, especially when you have such a big version change. |
| ||
| Thank you a lot MikeHart, i completely forgot to do this. I tried your solution and now it works. Problem is solved. Thanks also for the speed you answer, i was searching... |