imbrn / imbrn/ace

Support sprites

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Priority: High Scope: Sprite Status: On Hold Type: Enhancement
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.