Merge dev to main for v0.2.6 - #28
Merged
Merged
Conversation
…tion for .absp files
Add Text.center(pos) to reposition text so it's centered on a given point, offsetting by half the rendered width/height and refreshing the text surface to keep text_rect in sync.
Move the centering math into Entity.center() so all entities get it, and have Text.center() delegate via super() before rebuilding its text surface. Removes the duplicated positioning logic.
Font.render only accepts keyword arguments on pygame-ce, not upstream pygame, causing a TypeError on systems with vanilla pygame installed. Switch to positional arguments, which are valid on both variants. Note that upstream pygame compatibility is not a requirement. The engine targets pygame-ce. This change is a low-cost portability improvement, not a supported configuration. (See #6)
…views if version not bumped
Natuworkguy
requested review from
Good-Game-Cryst,
NicoPlayZ9002-YT and
Pacsfury
August 8, 2026 19:52
Contributor
There was a problem hiding this comment.
@Natuworkguy This release PR does not bump engine/version.py (still 0.2.5). Update __version__ before merging.
github-actions
Bot
dismissed
their stale review
August 8, 2026 19:58
engine/version.py bumped — clearing the version guard.
Pacsfury
approved these changes
Aug 8, 2026
Pacsfury
left a comment
Collaborator
There was a problem hiding this comment.
Seems legit
Ps: for 0.3.0 will we rewrite the gui to flet or anither?
Owner
Author
Probably 1.x.x |
NicoPlayZ9002-YT
approved these changes
Aug 8, 2026
NicoPlayZ9002-YT
left a comment
Collaborator
There was a problem hiding this comment.
i have no idea whats happening but everything looks good 👍
Good-Game-Cryst
approved these changes
Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.