Stretch window in java mobile?
Is there a way to stretch the game window in java mobile to e.g. double size? I'd like to develop a game for 320x180 resolution and then stretch that to 640x360 which is the phone resolution.
I'm wondering if we could find some better performance, more speed, on mobile by lowering the resolution and then scaling it to full screen. Normally Windows Control object would be able to do this, but obviously that's not available for mobile apps. And "resize display to fill window size doesn't seem to work either.
Re: Stretch window in java mobile?
No it is not possible. The Java mobile APIs do not contain a stretch image method. So I cant implement it.
Re: Stretch window in java mobile?
Where's the problem in writing an own algorithm?
Re: Stretch window in java mobile?
Re: Stretch window in java mobile?
Well, stretching an image can't be the problem, if you can draw in a surface. It's really easy. I guess there must be another problem. I really don't know about Java Mobile and its environment. It could be too slow, I guess.
Re: Stretch window in java mobile?
I do not have access to the memort behind the images. THe only way to do a zoom would be to use the API methods, like drawpixel. And this is really slow.