Skip to content

Merge dev to main for v0.3.6 - #31

Merged
Natuworkguy merged 34 commits into
mainfrom
dev
Aug 24, 2026
Merged

Merge dev to main for v0.3.6#31
Natuworkguy merged 34 commits into
mainfrom
dev

Conversation

@Natuworkguy

Copy link
Copy Markdown
Owner

What’s Changed

  • Guard Entity.destroy against partially constructed entities (fixes AttributeError in Entity.__del__ when a Text fails during construction #29)
  • Add py.typed file
  • (finally) Refactor entity view to use structured fields
    • Add color picker to entity view
    • Add tooltips to scriptfile and image properties
  • Prevent title setting in non-editor mode when stdout is a terminal
  • Rename Run menu to Game and move Game settings and Build game into it
  • Add ABSFatalError

Natuworkguy and others added 30 commits August 8, 2026 16:02
If an Entity subclass raises before Entity.__init__ sets self.parent
(e.g. Text failing in _update_text_surface, see #29), __del__ -> destroy() would
raise AttributeError accessing self.parent, masking the real error.
Use getattr to tolerate the missing attribute.

Closes #29
…g interface

Signed-off-by: NicoPlayZ9002-YT <NicoPlayZ9002-YT@users.noreply.github.com>
Co-authored-by: NicoPlayZ9002-YT <NicoPlayZ9002-YT@users.noreply.github.com>
@Natuworkguy Natuworkguy self-assigned this Aug 24, 2026
@Natuworkguy Natuworkguy added the release Official release pull request. Allows merging directly into main. label Aug 24, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Natuworkguy This release PR does not bump engine/version.py (still 0.2.6). Update __version__ before merging.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Natuworkguy This release PR does not bump engine/version.py (still 0.2.6). Update __version__ before merging.

@github-actions
github-actions Bot dismissed stale reviews from themself August 24, 2026 22:30

engine/version.py bumped. Clearing the version guard.

@NicoPlayZ9002-YT NicoPlayZ9002-YT left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, dont see anything wrong

probably cuz i dont really understand the code too well though

@Natuworkguy
Natuworkguy merged commit 9ac382a into main Aug 24, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Official release pull request. Allows merging directly into main.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError in Entity.__del__ when a Text fails during construction

3 participants