How do I Fix Sprites Show Trailing Effect When Moving?

Not favoritedFavorited Favorited 0 favourites
  • 7 posts
From the Asset Store
Cute cartoon girl character with Walk, Jump, and Idle animations for 2D games.
  • Hi everyone,

    I'm experiencing a strange visual issue in my Construct 3 project, and I'm hoping someone can help me identify the cause.

    When my sprites are moving(pathfinding behavior), their outlines appear thicker than normal, almost as if there is a faint duplicate image or a trailing effect behind them. There is also some noticeable flickering during movement.

    However, when I take a screenshot of the game, every frame looks perfectly normal. The issue is only noticeable when the sprites are actually moving.

    *Project settings*

    - Layout resolution: 640 × 360

    - Sprite original image size: 32 × 32 pixels

    - Actual sprite size in the game: 32 × 32 pixels

    - The visible artwork inside the original image is approximately 18 × 20 pixels(because of different frames), with transparent space around it.

    - Sampling: Point

    - Fullscreen mode: Letterbox integer scale(because my artwork is pixel art)

    - Display resolution: 1920 × 1080

    - Preview browser: Google Chrome

    - Construct3 version: r506.3(stable)

    *How my objects are set up*

    I use two separate objects:

    - SpriteBass (16 × 16): The logical object responsible for movement, collision detection, and attack-range calculations.

    - Sprite (32 × 32): The animated sprite, pinned to SpriteBass using the Pin behavior.

    *Tests I have already performed*

    I've tried several things to narrow down the cause:

    1. Reduced the Sprite's movement speed by half. The trailing effect became less noticeable, but it was still present and flickering still happened.The trailing effect vanished until the Sprite doesn't move.

    2. Changed the original 32 × 32 sprite image to a cropped 16 × 16 image. This made no difference.

    3. Temporarily disabled the Sprite's animations and used a static frame while continuing to move the object. The trailing effect and flickering remained.

    4. Removed the Pin behavior and tested the movement independently. The issue remained.

    5. Forced the Sprite's X and Y coordinates to integer values using 'round()'. This did not solve the problem.

    6. Changed the Layout resolution from 640 × 360 to 1280 × 720. The trailing effect became significantly less noticeable and almost disappeared when the Sprite size remained at 32 × 32.

    7. However, when I increased the Sprite size to 64 × 64 and doubled its movement speed in the 1280 × 720 resolution,the trailing effect appeared again.

    *My guess*

    The issue seems to be related to the configuration rather than the sprite image itself or its animation.

    This trailing effect is really makes me feel dizzy when I look at them... ToT

    Has anyone experienced something similar?

    Are there any project settings or rendering options I should check?

    Any suggestions would be greatly appreciated. Thank you!

  • Could that be some kind of moiré pattern? Because of the low resolution. Have you tried different sampling modes? Is there a difference between Low or High Fullscreen Quality?

  • ....

    Has anyone experienced something similar?

    Are there any project settings or rendering options I should check?

    Any suggestions would be greatly appreciated. Thank you!

    Hello.

    If you save your issue into a "*.c3p" file and provide it to us, we will be able to help you.

    It would be best if the file contained only the specific issue, so that it isn't necessary to play through several levels to reach the problem. Also, if any third-party plugins are used, please include them as well.

  • Could that be some kind of moiré pattern? Because of the low resolution. Have you tried different sampling modes? Is there a difference between Low or High Fullscreen Quality?

    I don't think it's moire pattern.I have tested it on 2 differnt laptops and screens, the same issue occured. And I have tried different sampling modes, nothing change even worse. Also Low Fullscreen Quality is worse so I use High Fullscreen Quality. I don't know what else I can do.

  • Hello everyone, currently I still didn't find the root cause but I decided to use the 1280*720 resulution instead of 640*360 now and keep Pixel Rounding unchecked, Fullscreen High Quality to continue my development. It is still appreciated if someone who find the reason or solution to share~ Thanks!

  • Most likely your screen has smearing/ghosting, this has nothing to do with Construct unless the smears are also visible in screenshots or paused videos.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, my first guess was ghosting. Try this test:

    testufo.com/ghosting

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