User Tag List

Results 1 to 2 of 2

Thread: Android Development Best Practicies

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Oct 2006
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android Development Best Practicies

    Hey guys, I think a list of tips and tricks aka best practices guide would be a huge help to a lot of people around here about avoiding some of the quirks of the Android Exporter. Just little tips or things that you know that would be useful to someone else.

    1. The runtime doesn't handle creating lots of objects at once well. It's better to create everything you need first, then move them/deactivate them as you need to, instead of creating and destroying. I personally have been upwards of 500 objects at once with half of them runtime scaling and remained at a rock solid FPS on a medium tiered device.

    2. Have a white border around your game and can't figure out why? Try changing the level color to Black.

    Share your tips!

  2. #2
    Clicker 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)
    Bree's Avatar
    Join Date
    May 2014
    Posts
    317
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Good idea

    Sounds can be a little finicky exporting to Android. Once in awhile an .ogg file that will play on windows fine but won't play on Android. Sometimes I can fix it by changing the bit rate using Audacity when exporting the file. Not always though! If you export the file in Audacity to .ogg go to options at the bottom of the save window. From there you can choose different rates, I find that 2 & 3 seem to work, nothing higher than that though. This is just from me playing around with it, nothing official.

    Another thing is be careful with playing 2 loops on the same channel. That won't work. If you have a background sound looping on channel 1, for example, and then another one that goes off at certain intervals on channel 1 it might not play. It's best to put anything you plan on looping on it's own channels to avoid problems. I usually will put my short sound effects on a channel on it's own as long as I know they don't interrupt each other.

    Checking Uninterruptable on sounds seems like a good idea at first until you start adding tons of sounds and you realize some stuff isn't playing. If you check that it closes the channel for that sound until it's done. I wouldn't recommend using that option, using other channels seems to be a better way to go. Unless you truly want to shut the channel off for that sound, then go for it

Similar Threads

  1. Tips for sounds in android development
    By Fernando in forum Android Export Module 2.5
    Replies: 12
    Last Post: 28th April 2016, 05:30 PM
  2. Win a Android Development Kit!
    By Kisguri in forum News
    Replies: 1
    Last Post: 1st May 2013, 05:03 PM

Posting Permissions

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