User Tag List

Results 1 to 8 of 8

Thread: 3 Questions for Java Mobile

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    3 Questions for Java Mobile

    Hi,
    I am currently working on a game for mobile phones and therefore there are a few questions I would like to ask about the Java for Mobile runtime:

    [color:#990000]1st: Is it possible to create a detector field (new extension ?! :-) ) to implement multiple invisible collision detections without having to create additional objects (active object) to save ressources? [/color]

    [color:#006600]2nd: Is it possible for Java Mobile to load external files such as pictures? One game I am programming is 580KB already not counting sprites and sound. I am not sure how good the compression to jar/jad files would be and is it any good (files size wise) to load extensively compressed files into active objects. [/color]

    [color:#000099]3rd: I am currently not able to implement every event as global like the creation of active objects because the room would not detect them. So I would have to do that locally, sending the filesize through the roof because I need to duplicate the room 18 times. IS there a good solution to make the resource usage more compact?[/color]

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: 3 Questions for Java Mobile

    1: There are lots of approaches to this. Do a forum search on detectors.

    2: I don't know

    3: Make sure the active object is present in the room and you will be able to create it through global events. You can make the object global so that if you do some changes to it, it will be changed in all the levels, using the same graphics, keeping the filesize low. You can switch off "Create at start" in the object properties for the objects you don't want present when you enter a room.

  3. #3
    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: 3 Questions for Java Mobile

    2. No it is not possible for the moment. And I do not think I have the ways to do this in the Java mobile API

  4. #4
    No Products Registered

    Join Date
    Sep 2006
    Location
    Córdoba - Argentina
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 3 Questions for Java Mobile

    2. What about those java apps that are able to load pictures, mp3... it is possible! i have a lot of that kind on my phone...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 3 Questions for Java Mobile

    Two new questions :

    1. how strong compress mmf2dev the grapics ?
    2. it's better if i compress the graphics before i load then in the "active object"...

  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: 3 Questions for Java Mobile

    1. The images are PNGs, so basically they are zipped. You cannot compress more
    2. No.

  7. #7
    Riffel
    Guest

    Re: 3 Questions for Java Mobile

    Quote Originally Posted by Francois
    2. No it is not possible for the moment. And I do not think I have the ways to do this in the Java mobile API
    Where can I find a step by step tutorial to export .jar to my motorola cel phone? thanks, Marcos Riffel

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: 3 Questions for Java Mobile

    Riffel, that depends on your phone.
    I don't have a Motorola, so what worked on my Nokia might not work for you.

    For my phone I simply copy the jar file to the phone using a phone to pc usb cable, or put the game on a memory card.
    You can probably browse the phone on the computer using a usb cable or bluetooth. Then you will find a directory when you can put your game.

    So the steps are:

    1: Export the game to java for mobile inside MMF2.
    2: Copy the .jar file to the phone
    3: Load the game from the phone

    Also make sure that the game is not bigger than the RAM of the phone. This varies from about 500kb to several MB's depending on the phone. On my old phone the limit was exactly 650 kb's. If the game was bigger, it wouldn't load.

Posting Permissions

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