newsSGE Game Engine - News: SGE Released

Latest News
Pygame SGE 1.4.4 Released posted by onpon4, Wed Apr 5 17:17:49 2017 - 0 replies
Pygame SGE 1.4.3 Released posted by onpon4, Mon Jan 30 14:16:32 2017 - 0 replies
SGE Released posted by onpon4, Sat Nov 5 20:46:04 2016 - 0 replies
SGE 1.3 Released posted by onpon4, Wed Nov 2 14:52:55 2016 - 0 replies
SGE 1.2 Released posted by onpon4, Mon Oct 17 18:23:35 2016 - 0 replies
[Submit News]
[30 news in archive]

SGE Released

Item posted by Julie Marchant <onpon4> on Sat Nov 5 20:46:04 2016.

No, that's not a typo. You read that right: I skipped forward from 1.3 to How did that happen?!?! In short, my own carelessness. I made a new release, 1.4, but then found a critical bug. So I fixed it and released version 1.4.1... or so I thought, so I released version to really fix it.

With all that said and done, version 1.4 of the SGE contains the following changes compared to version 1.3:

  • Uses of IOError have been replaced with OSError, since I looked at the definition of IOError again and realized that it wasn't the appropriate error to use even in Python 2; in both Python 2 and Python 3, OSError is normally what is raised when a file isn't found. This is technically compatibility breaking, but since using IOError is such a bad design, I decided to make an exception for this case. To maintain compatibility with both SGE 1.0 and SGE 1.4, use "except (IOError, OSError)" where you need to catch one of these errors raised by the SGE.
  • "event_joystick" for dsp.Object, dsp.Game, and dsp.Room were not properly listed in the documentation. This has been fixed.
  • Added the "swap_color" method to sge.gfx.Sprite, which can be used for palette-swapping.

And this version of the Pygame SGE contains the following changes to version 1.3:

  • Removed the default "Paused" image that included the SGE logo in it. It now just uses generated text that says "Paused". After all, the image looked ugly, so any game worth its salt would use a custom image anyway.
  • When attempting to play a music file fails, rather than raising pygame.error, the error that would be raised is shown as a warning instead.
  • Fixed two gfx.Color objects indicating the same color not being recognized as equal. "sge.gfx.Color('white') == sge.gfx.Color('white')" will now return True as a result.


No messages in SGE Released


Back to the top

Powered by Savane 3.1-cleanup1