Version 0.3.0
Released October 13th, 2024
Info
This information was gathered after looking retroactively at the source code and comparing this to the previous version; changelogs were not generated at the time of this release. Information may not be completely accurate.
Breaking Changes
set_renderermethod inEnginemoved to constructor for automatic handling with newrendererconstructor parameter.Text.set_colorcolorparameter type changed fromIntVector3tostrto reflect new color option changes.
Additions
- New
Area.calculate_positionmethod (moved fromButton._calculate_position). - Made
textparameter inButtonconstructor optional. - New
drawmodule with draw methods made available. renderer,size, andiconFilepathparameters added toEngineconstructor.- New
inputmodule withTextInputUI object. Sceneinternal rendering logic now supports clearing the screen withOpenGLand theEngine's background color.modsparameter added to key-related events inScene.- New
on_rendermethod inScene. Developers should change their code to put logic/object updates intoon_updateand keepon_renderonly for rendering objects. - Changed
textparameter type inTextconstructor frompygame.font.Fonttowame.Font - New
add_color_optionandadd_font_optionmethods toText. Text.set_textreturns itself to enable call chaining.
Fixes
- Renamed
Button._recttorectto fix attribute errors.