User Tag List

Results 1 to 6 of 6

Thread: Stretch window in java mobile?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    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.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Stretch window in java mobile?

    Where's the problem in writing an own algorithm?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stretch window in java mobile?

    Time is money?

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    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.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •