HaxeFlixel / HaxeFlixel/flixel
Jittering caused by sprite offsets
Open
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 2.2k
- Forks
- 522
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
One source of jittering not tackled by previous fixes is the fact that sprite offsets can cause graphics to be drawn at floats, even when the sprite itself is supposedly rendering at an integer.
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
No files, tests, or entry points are named. Start by reproducing the jitter with a sprite whose offset causes a fractional draw position, then trace the sprite rendering path to identify where offsets are applied. Done means sprite graphics render without jitter when the sprite position is integral, including cases with fractional effective offsets.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100