Wrong Spine Position in CANVAS mode
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 40.3k
- Forks
- 7.2k
- PR merge metrics
- No merged PRs in 30d
Description
Phaser Version 3.60 - Chrome Version 113.0.5672.126
CANVAS MODE
Hello,
It seems a spine Object starts to follow the camera when you set the camera following a character AND you set a rotation on the camera.
I reproduced the error here (I did not try to fix it ).
Work normally with WEBGL but not with CANVAS.
https://codepen.io/Abspirit/pen/dygLJBX?editors=0010
Move the cursor keys : the spine starts moving although it should be in fixed position like the background.
If you disable the rotation of the cam, the spine does not move.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodePen reproduction and compare the spine object's position in CANVAS and WEBGL while the camera follows a character with rotation enabled. Trace the Canvas rendering path for camera transforms, then verify that the spine remains fixed relative to the background when moving with camera rotation, without regressing the WEBGL behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100