In APK the movement of sprites through tween stops being smooth

Not favoritedFavorited Favorited 0 favourites
  • 8 posts
From the Asset Store
Cute cartoon girl character with Walk, Jump, and Idle animations for 2D games.
  • After exporting the project to the Debug APK, the movement of sprites through tween stops being smooth. It's like they're starting to move at a low frame rate. Although the game has a stable 60 fps

    I decided to test my app in APK on android and saw this problem. Then I created an empty project with sprite movement through tween and the problem happened again.

    Can anyone explain what this is about? Or should I file a bug report?

    Tagged:

  • ...Then I created an empty project with sprite movement through tween and the problem happened again.

    Can anyone explain what this is about? Or should I file a bug report?

    Hi. If you post this blank project with the problem, we can build an APK and test it on our devices.

    I haven't noticed any problems with tween before, I would like to test it too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, of course

    It's just a double tap to make the sprites move in different directions:

    c3p

    drive.google.com/file/d/17_6MIWeBE1jK_w_xkbLyVf61qvRF7I74/view

    debug apk

    drive.google.com/file/d/1B2qvtFUg4mhKDbMNZ06sAyboZH9sZmDs/view

    I have tested on two android(Honor) devices and checked on the latest stable and latest beta versions and I see this problem everywhere.

  • I have tested on some devices and the results are different.

    I think it's related to the shape of the signal, I recorded the position of the sprite on the X axis and we can see that in some places the sprite moves too far away, we get the effect of microteleportation.

    Perhaps you should choose another form of signal or change the time.

  • Thank you, but I didn't really understand what kind of signal form was talking about and why would I choose a different time if I set up tween the way I need it to work.

    I've done some more tests and it doesn't seem to be about tween. I looked at how the screen scroll works and it also stopped being smooth, as if the refresh rate of the screen dropped and the fps became about 30 or less. Although the fps indicator is consistently displayed at 60

    I tried to record a video from my phone screen, but unfortunately it's not as noticeable on the video as it is to the eye in real time.

    This is immediately noticeable if you are used to the smooth movement of sprites, and then you see a decrease in smoothness.

    I use Honor 50 lite and Honor 10 lite

  • I meant (Ease). This is just a theory, but the numbers show that for 0.0166 seconds the sprite first moves by 1 pixel, but at the end of the cycle it moves by 20 pixels, perhaps.

    Maybe my devices don't show the problem well enough, maybe there will be more colleagues who will check this out.

  • I've just checked again on another phone, the vivo Y21, and there was no problem there. Maybe the problem is only on Honor devices? Maybe someone can confirm this.

    Even if that's the case, I wonder if it can be fixed, because all the other apps I downloaded from google play are working well.

  • I found a solution to the problem - it's to enable use worker. By default, it is in automatic mode, and apparently if it is not turned on, then there are problems with the correct display of the frame rate or something on Honor phones.

    But now I have problems with js scripts that were written in the editor itself and I get errors. I'm using a script to convert blob images to base64, but I don't understand how to do it in worker mode.

    What should I do in this case? Ashley

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)