We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probably need to special case our default asset creation to create an appropriately shaped rectangle instead of a square.
Sample code:
import ppb class Platform(ppb.RectangleSprite): pass def setup(scene): scene.add(Platform(width=3, height=1, position=ppb.Vector(0, -5)))
We end up with a square of size 3 instead of a rectangle with a 3:1 aspect ratio.
What it should look like:
Noting, this currently gets set in the asset (https://github.com/ppb/pursuedpybear/blob/canon/ppb/systems/renderer.py#L93-L107) and would require some refactoring to make it possible to contextually choose the asset definition.
The text was updated successfully, but these errors were encountered:
I'm working on this at the PyCascades 2024 sprint!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Probably need to special case our default asset creation to create an appropriately shaped rectangle instead of a square.
Sample code:
We end up with a square of size 3 instead of a rectangle with a 3:1 aspect ratio.
What it should look like:
Noting, this currently gets set in the asset (https://github.com/ppb/pursuedpybear/blob/canon/ppb/systems/renderer.py#L93-L107) and would require some refactoring to make it possible to contextually choose the asset definition.
The text was updated successfully, but these errors were encountered: