GameSalad

iOS vs. Android

m.b.m.b. Posts: 19Member, PRO

Hello Everyone,

I have a question.

My game is finally available on the App Store and Google Play.

Now, on iPhone/iPad it's pretty fast and runs smoothly, however on android devices it's a bit laggy.

It's a puzzle game and has over 2000 constrains (I know is a lot), but still, why is it fast on iPhones and not on android devices?

Has it anything to do with the way GameSalad generates the code for iOS and Android?

Comments

  • SocksSocks London, UK.Posts: 12,698Member, PRO

    @bnd said:
    It's a puzzle game and has over 2000 constrains . . .

  • m.b.m.b. Posts: 19Member, PRO
    edited June 4

    @Socks said:

    Yes, I know. But it's actually not bad, it's pretty fast.
    I didn't know of another way to do it.

  • ToqueToque Posts: 869Member, PRO

    I've read a few times about android device lag on here. That's a lot of constrains. Could be a GS thing or a android device performance thing.

  • m.b.m.b. Posts: 19Member, PRO

    @Toque said:
    I've read a few times about android device lag on here. That's a lot of constrains. Could be a GS thing or a android device performance thing.

    Thanks for your reply.

    I'm thinking it must be a GS thing because it's the same file for both platforms.
    And I've tried it on pretty powerful android devices and I still get some lag, whereas on iPhones there are no issues.

  • BigDaveBigDave Posts: 2,220Member, PRO
    edited June 4

    wow most constraint attributes i had running at once in one scene ever was like 4.

  • IceboxIcebox Posts: 1,369Member, PRO
    edited June 4

    Few members including myself complained about android lag many times before but it mainly happens on older devices. This began after build 1.25 , and the answer i got in the forums was that it is related to delta time and the way it deals with frames. Simple projects can sometimes lag/stutter for no reason and in specific android devices, even if you contact gs they will not be able to reproduce the issue and nothing will happen. Try to optimise your code as much as possible. I don't know if you meant 2000 constrains running at the same time , but if they are , then thats way too much.

  • m.b.m.b. Posts: 19Member, PRO

    @BigDave said:

    >

    You have some great games, I'll definitely check them out.

    @Icebox said:

    No, they are not running all at the same time :) Probably max at once around 300.

    Here's a link to the game:

    https://itunes.apple.com/us/app/fliptate/id1236465217
    https://play.google.com/store/apps/details?id=maja.fliptate

  • SEMASEMA Posts: 156Member

    The game is really nice, but yes there is a bit of lag on android.

  • IceboxIcebox Posts: 1,369Member, PRO

    300 at once i'm surprised it runs well on ios! I just gave it a test on samsung galaxy s7 and samsung grand prime compared them with ipad 3 and iphone 5s , they play the same with no lag. There are many android devices out there so its hard to determine which device produces the issue, i think your best choice is to reduce or limit the calculations that happen at once. Good luck with the downloads your game is nice ! :)

  • ToqueToque Posts: 869Member, PRO

    Yeah no lag on my 6s.
    Nice game. On start I would have all letters in title rotated and then quickly they all rotate to reveal fliptate.

  • m.b.m.b. Posts: 19Member, PRO

    Thank you all so much. I appreciate it.

    I guess I'm gonna have to figure something out to optimize it a bit more for android.

Sign In or Register to comment.