lordmauve / lordmauve/pgzero

Support rotation/scale/flip for Actor

Open
#3 4 comments 0 reactions 0 assignees View on GitHub
major proposal
Dominant language
Python
Stars
611
Forks
211
PR merge metrics
No merged PRs in 30d

Description

Originally reported by: **Daniel Pope (Bitbucket: [lordmauve](https://bitbucket.org/lordmauve), GitHub: [lordmauve](https://github.com/lordmauve))**

----------------------------------------

Pygame supports somewhat slow rotation, scale and flip operations in software.

We should expose these for the Actor class.

May depend on issue #2, which allows users to specify an "anchor point" around which the actor will rotate.

Open questions: how should these operations affect the actor's bounding rect?

----------------------------------------
- Bitbucket: https://bitbucket.org/lordmauve/pgzero/issue/3

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Actor class and review how Pygame provides rotation, scaling, and flipping in software. Read issue #2 for the proposed anchor-point behavior, then resolve how these operations should affect the actor's bounding rect. Done means the Actor API exposes all three operations with a defined bounding-rect behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.