PursuedPyBear

13 Followers
2 Following
15 Posts

Unbearably fun game development

A 2D sprite-based game engine in Python

Maintained by @pathunstrom and @astraluma

Websitehttps://ppb.dev/
Discordhttps://discord.gg/s7qx493
Cohosthttps://cohost.org/ppb
GitHubhttps://github.com/ppb/pursuedpybear
Thanks everyone who attended our sprints at #PyConUS, and congratulations to Mary and @stylus for their first PPB contributions!

#PyConUS Sprints for Tuesday:

Room 308: #RouteE
Route 309: #GnuMailman
Room 310/311: #PiecesOS (#GenAI, #LLM tool), Strawberry GraphQL
Room 315: #PyPA Packaging, Cloud Custodian
Room 316: @beeware, #PyScript, #PalletsProject
Room 317: aio-libs, @ppb, @takahe, @micropython, @circuitpython, Robots
Room 318: Accelerated Python on GPU, Mesa (agent-based modeling + GIS)
Room 319: #GDSFactory
Room 320: #Python Core
Room 321: @pydantic, #LogFire, #PyO3

#PyCon #PyConUS2024

Good morning #PyConUS!

YESTERDAY was the @ppb sprint, which we had a delightful group for! Thank you everyone that came.

TODAY I'm working on @takahe and gonna try to catch up on the last six months of backlog! 😱 My apologies to all the contributors that have been waiting a long time for your reviews.

Ok, the BYOC is a lie. There's venue coffee.

Until it runs out.

Good morning #PyConUS! It's 8:30am the Monday after, but we're still ready to do some code reviews today.

Come join us at sprints in room 317, BYOC (Bring Your Own Coffee).

I joined the PursuedPyBear @ppb sprint table, and fixed an issue where rectangles were rendering as squares! 😵‍💫 https://github.com/ppb/pursuedpybear/pull/700 #Python #PursuedPyBear #PyCascades
set dimensions for missing image by davidism · Pull Request #700 · ppb/pursuedpybear

When a RectangleSprite falls back to rendering a default shape instead of an image, use its dimensions rather than a default square. This adds a private _file_missing_dimensions tuple to Image, whi...

GitHub
And if you're curious about what happened at 2.anything, bother the developers to write the version scheme document.

THE BEAR AWAKENS!

After a mumble year hiatus, there is a new release: 3.2.0!

https://github.com/ppb/pursuedpybear/releases/tag/v3.2.0

The big highlight is some bug fixes around calling SDL, so we're compatible with newer versions.

Download it from PyPI, or find out more at https://ppb.dev/

Release v3.2.0 - The Bear Awakens! · ppb/pursuedpybear

Official release of ppb 3.2.0. Yes, we skipped 2 entirely! We didn't release at all in 2022, and our major versions update in the summer of the Northern Hemisphere. There are no breaking changes th...

GitHub

or if you want to be clever

import ppb; ppb.run(setup=lambda scene: scene.add(s := ppb.Sprite(position=ppb.Vector(0, -4), image=ppb.Image("player.png"), on_update=lambda update, signal: setattr(s, 'position', s.position + (ppb.Vector(0, 1) * update.time_delta)))))

Hello, Indiepocalypse! #introduction

We are a python game engine, focused on education and ease of use. Have some sample code:

```
import ppb

class Player(ppb.Sprite):
image = ppb.Image('player.png')
def on_mouse_motion(self, event, signal):
self.position = event.position

def setup(scene):
scene.add(Player())

ppb.run(setup)
```