DeviceWidth() and FlashMonkey Programming Forums/Monkey Programming/DeviceWidth() and Flash
| Hi there, sorry to keep asking noob questions. (also I now realise this should be in the Flash forum, sorry)|
So my game reads DeviceWidth() and DeviceHeight() in Method OnCreate:Int() of MyApp and in HTML 5 those values are 800x600 because that's what I set in MonkeyGame.html in the HTML5 build folder.
However those values are 640x480 when I compile for Flash even though I've set this line: <embed src="MonkeyGame.swf" width="800" height="600" wmode="direct"> in MonkeyGame.html in the Flash build folder.
What's up with that? The result is my game looks horrible even though the Flash game appears to be 800x600 in the browser. The 800x600 background I'm loading in and all the text I draw has been slightly corrupted like it was downscaled then upscaled or something.