FPS problem: ad-hok test very low(FPS 11.4)

FeathersFeathers Member Posts: 31

Ok. So I'm testing my game....but the FPS is so low.
The game speed is really slow. It's slow both on iPhone6 via GS Viewer and Android via ad-hok test. (It's fast on PC GS)
The funny thing is that when I'm on my main menu screen the Game Engine memory usage is 3.2mb
but when I go to the next page, the game engine memory usage boosts up to 20.8mb and FPS becomes 11.48.

Other Memory usage
Images:7.0mb
sounds:1.6mb
Game Engine:17.4~20.8
Other:29.6Mb
Total:54.6Mb

Are my images or sounds to big?
What is the problem here.

Will it still be a problem even when i publish mine online(such as Google Play or Apple App Store)?

Comments

  • zweg25zweg25 Member Posts: 738

    The viewer probably isn't the best place to test, but if you ran an adhoc test and are having problems you need to see what is causing the FPS to be so low because it will be like that after publishing

  • ArmellineArmelline Member, PRO Posts: 5,327

    How complicated is your logic?

  • FeathersFeathers Member Posts: 31

    @Armelline said:
    How complicated is your logic?

    Well...I'm not sure how complicated my logic is but I use multiple attributes as conditions for the behaviors. For example if attribute "user coin" > "enhancement coin" change attribute self.Alpha to 1. When self.Alpha = 1 and touch is pressed change attribute enhancement to enhancement+1.

    There are about 20 logics like this one in my game.
    Maybe 10 on each Scene with one actor holding all the crucial logics.

    Does it look complicated? If so...then well..my game should be pretty messed up.

    Although I did try my ad hoc test on a 4year old Android device, so maybe it would work better on a newer device..

  • FeathersFeathers Member Posts: 31

    SOLVED IT! :)
    The images were fine, the logic was fine, attributes were fine.
    The problem was my save timer. I had a timer for every 0 seconds so it could save my attributes but after I changed it to every 1 seconds fps is smooth 60. Thanks everybody.

Sign In or Register to comment.