2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)Python472 stars (472 stars)185 forks (185 forks)batch import
good first issue
Description
It would be great to be able to screenshot a game, similar to Pygame.
Contributor guide
- Tech stack
- python
- Domain
- desktop
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 2
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- fresh
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- Python
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 80
- Research direction
- The issue requests adding a screenshot feature to pgzero, similar to Pygame's ability. Investigate the pgzero source code to understand how the game screen is rendered and managed. Look at the main loop or screen module to see how to access the current frame's buffer. Consider using Pygame's `image.save()` or similar to capture the screen surface. A good starting point is to examine the existing `screen` object and how it draws. The implementation should be a simple function that saves the current display to a file. Check if there are any existing utilities or discussions in the comments that hint at a preferred approach.