TASEmulators / TASEmulators/BizHawk
Lua request: Canvas layers
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 468
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to have a lua function that could save the drawn image into memory and store it into a "layer" that then is loaded instead of calling thousands of DrawSomething() functions. The "layers" should have parameters to position and scale them.
My problem is that I want to make level maps, where the map collision is static, but it needs to redraw the entire map every frame, because I want to display objects on top of it.
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 by reviewing the existing Lua drawing API around the DrawSomething() calls mentioned in the issue. Determine the scope for storing drawn images as reusable layers with position and scale parameters, and define how success would be measured for redrawing static level maps without thousands of calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, lua
- Domain
- computer-graphics, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100