×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    3

    Problems with number of images

    Hi,
    I've a problem with the number of images in a game I develop. If I try to load 14 images or less everything is fine. If I try to load more than 14 image I get the error message "application cannot run". First I thought this is problem which is caused by a lack of memory but the midlet has only a size of 48 KByte (including images). I use the 7210 Emulator and Borland's JBuilder.

    Knows anybody this problem or is there a limitation of the emulator?

    Regards,
    Peter

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    38

    RE: Problems with number of images

    Hi Peter.
    Why don't you try to pack all your images into a big one and then tile-it-up at runtime? (see the post previous to yours about this issue). If you load 14 images you add a lot of overhead to your .jar file and heapsize since you have to carry the PNG header for every image you use (with so many images it could be really a bunch of data).
    BTW: there are limitations of the image dimension that can be downloaded on certain devices (definetely on 7210).

    Hope this helps
    cheers

    davide
    <AtomicTag.com/>

Posting Permissions

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