Loading Images - Blank
Monkey Forums/Monkey Programming/Loading Images - Blank
| ||
[monkeycode]Import mojo Class DesertRaceMayhem extends App Field Image:Image Method OnCreate:Int() Image = LoadImage("/graphics/car.png") End Method OnRender:Int() DrawImage(Image, 200, 200) End End [/monkeycode] Why is this White in html5 but renhders an image (as expected) in GLFW, XNA? |
| ||
Field Image:Image <=== no problem? |
| ||
Ah god... :) Right! |
| ||
iv been there, done that lol. |