Implement in-game viewport preview
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
In general it would be useful if you could quickly see what part of a level the player will see while playing the game. Currently, one could use a rectangle object for this, but it would be nice if there was direct support for this. Advantages of a built-in feature would include:
- Automatically center when view is resized.
- Nice visual representation, for example darkening the area outside of the view.
- Could support optional "save area" that might become visible depending on various screen resolutions / ratios.
- Exact preview of parallax layer positioning
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 how rectangle objects currently represent the player view, then trace the editor's handling of resized views and parallax layer positioning. Done should include a direct viewport preview with automatic centering, visual treatment outside the view, optional save-area support, and accurate parallax positioning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100