Support sprites
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
For this issue, we must consider scaling up/down images as the sprites should fit into the canvas based on the scene resolution. For this reason, maybe it's important to define a way for scaling areas using the `coordinates-system` module.
Also, at this first version, we shouldn´t worry about offering a lot of algorithms for scaling up/down images, but I think using the [Nearest Neighbour Algorithm](https://en.wikipedia.org/wiki/Nearest_neighbour_algorithm) is enough for now.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the coordinates-system module and tracing how sprite placement relates to the canvas and scene resolution. Clarify the scaling-area representation and verify that nearest-neighbour scaling handles both enlarging and shrinking sprites. Done means sprites fit the scene resolution using the agreed scaling behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100