TiAm's Recent Forum Activity

  • Hey all. I'm working on getting my first mobile app up on google play. Overall it's going well...except that I can't figure out how to preview my Store Listing.

    I googled and everything, but I'm hitting a brick wall here. I'd also like to be able to preview the listing on my own android device.

    Anybody?

  • Do you have sounds in your project?

    If you do, chances are your long game loads on Android are due to chrome's sluggish audio decoding.

    Yes, this affects phonegap and crosswalk too.

    But guess what? There's a bug report. By Ashley himself. Which can be starred. <img src="{SMILIES_PATH}/icon_twisted.gif" alt=":twisted:" title="Twisted Evil">

    https://code.google.com/p/chromium/issu ... ?id=424174

    You know the drill.

    *

  • Well, I found the relevant bug report:

    https://code.google.com/p/chromium/issu ... ?id=424174

    With the jank issue, we managed to push bug 42200 into the top 25 bugs on the chromium tracker, by star count. That's out of 72,000 open issues. It also got the problem mostly fixed (for now... <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused"> ).

    Maybe it's time for another round of 'let's nag Google'. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

  • +1

    Yeah, seriously, just do this. Tom

  • Well, maybe Somebody will do this Someday. Who knows...

  • Ashley

    I have KitKat 4.4.2.

    As I said before, I don't believe this is a shortcoming of C2, since firefox mobile has very low latency. However, that means it's not an inherent shortcoming of android either. It's possible that this is related to higher input lag in chrome, I'm not sure. I'm having trouble coming up with a capx that can measure it.

    For an example: tapping as fast as possible on a sprite that causes a sound to play, I can:

      Chrome for Android: manage three taps before hearing the sound play. Firefox for android: sound plays before I can land a second tap, specifically on the upswing of my finger.

    As I reason it, that works out to FF having about a quarter the latency of chrome.

  • cesisco

    I bumped the post. It's not C2, but it's not android either because firefox mobile works fine.

  • Bumping this thread to say I am encountering this issue with both crosswalk and chrome for android. I don't think it's an issue with C2, but neither do I believe it's an android issue, as firefox mobile has a very minimal delay when triggering sounds, whereas chromium based solutions lag nearly a half second.

  • Welcome to the experience of working on any kind of moderately complicated project.

    Something I've found, which can be kind of painful, is that I often come up with a prototype that has entirely un-salvageable code. Usually, the best thing to do at that point is start over and build again. Kind of like a 'second draft' in writing parlance.

    But, before that, I take notes. A lot of notes. Mainly, I try to work out how to structure my code on the second go around.

    What logic should be encapsulated as functions, should I transition those global vars into a dictionary or array, should this logic go into this group, can I make life simpler by using this third-party behavior, should I combine these objects into one object or make a family for them, etc, etc, ad infinitum...

    C2 has an odd sort of curve, where it's very easy to build a prototype, but takes a lot of discipline to build a functional, efficient, and maintainable project, with enough comments and organization that you can make sense of it later on.

    Here's three specific bits of advice I've found useful:

      1. Functions. Use them wherever possible. They are more work to set up, but they make managing a complex project worlds easier. Plus, in many cases they are modular enough that you can reuse them across projects. 2. Groups. Use them. And decide on a way to name or sort them so that you can easily tell which are purely organizational (never activated/deactivated during the game) and which are being use programmatically. 3. Constant variables for logical values used in multiple places. Simple example: Global TRUE = 1, Global FALSE = 0. I like these because it makes code easier to read, takes advantage of C2's auto-change and auto-fill capability, and is more efficient and less error prone than using string comparators (though const strings can come in handy too...for example, as a reference to a function name).
  • Yeah, I still get this on chrome mobile, and also on crosswalk export, even with version 7. I've been meaning to file it as a issue on the chromium tracker, but just haven't got around to it yet.

    It's odd too, because I can pretty much go nuts with web audio effects (and I don't have the greatest android device), but that lag just won't go away no matter how much I strip things down.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • C2 games?

    Yes.

    C2 itself?

    No.

TiAm's avatar

TiAm

Member since 24 Nov, 2011

None one is following TiAm yet!

Connect with TiAm

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies