defold / defold/extension-rive

Rivescences offset with sprites when moving

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
73
Forks
15
Avg merge
1d 21h
Merged PRs (30d)
3

Description

When a game object containing a both a rivescene and sprites as children is in movement, the rivescene lags behind. This includes making the GO the child of a bone inside the rivescene.

Repo example : https://github.com/maelig-moreau/Rivescene-bug

**How to**
Click to get the object to move. Edit the move script to change the direction. The camera is linked by default. There is an object that is child of the game object, and one named “linked_to_bone” that is linked to the bone in runtime so you can see it still causes the problem.

**To Reproduce on blank project**
1. Create a game object with one rivescene and one sprite as children
2. Place one sprite as a child of a bone of the rivescene
3. Make it move, the higher the speed the bigger the offset
4. Make it stop, now game objects align as usual

**Expected behaviour**
I want to have a moving played character wearing armor, but the armor is offsetting whenever the character moves

**Defold version**
Editor version 1.3.4

**Platforms**
Platforms: Windows, Android

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the linked Rivescene-bug repository and reproducing the offset on Defold 1.3.4, then compare it with the blank-project steps using a moving game object, Rive scene, and sprites attached to a bone. Check the extension-rive repository entry points involved in updating these objects during movement. Done means the Rive scene and attached sprites remain aligned while moving on the reported platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.