newsSGE Game Engine - News: SGE 0.12 Released

Latest News
SGE orphaned posted by onpon4, Sat 03 Aug 2019 09:24:18 PM UTC - 0 replies
SGE 1.5.1 Released posted by onpon4, Wed 19 Jul 2017 08:20:36 PM UTC - 0 replies
SGE 1.5 Released - What A Mess posted by onpon4, Sun 11 Jun 2017 01:43:28 PM UTC - 0 replies
Pygame SGE 1.4.4 Released posted by onpon4, Wed 05 Apr 2017 05:17:49 PM UTC - 0 replies
Pygame SGE 1.4.3 Released posted by onpon4, Mon 30 Jan 2017 02:16:32 PM UTC - 0 replies
[Submit News]
[33 news in archive]

SGE 0.12 Released

Item posted by Julie Marchant <onpon4> on Sun 07 Sep 2014 12:39:21 AM UTC.

Version 0.12 of the SGE is a fairly minor release, adding new features. As always, it can be found on the download page:

These are the main changes:

  • The view port size can now be specified separately from the view size. This is intended to add support for zooming in and out, a feature that was previously lacking.
  • Setting the mouse position is now done with the new sge.mouse.set_x and sge.mouse.set_y functions, rather than by setting the x and y attributes of The old method was really annoying to implement and not particularly beneficial anyway.
  • has been simplified. In particular, in addition to x and y now being read-only, the speed variables no longer indicate anything in particular (they are simply not used).
  • When the mouse is in relative mode, is given an x and y position of -1, and sge.mouse.get_x and sge.mouse.get_y return None.

The Pygame SGE has also had some significant changes:

  • The way the Pygame SGE displays everything has been rewritten. Previously, it made use of Pygame's high-level sprites and "dirty" drawing for optimization purposes. This did cause improved performance, but the code was horribly inflexible and practically unreadable, so I changed it to use a more basic rendering strategy. I in particular decided to do this for the purpose of adding support for the new wport and hport attributes of views, which would have been tremendously difficult to add to the old system.
  • Hardware acceleration is now enabled by default. It was disabled by default in the past because software-based optimizations were being used. Now that those software-based optimizations are impossible due to the change in the rendering strategy, there's no point in not enabling hardware rendering.

There is no new release of xSGE this time, because xSGE 0.2.0 works with SGE 0.12, and I haven't thought of anything to add to xSGE.

No messages in SGE 0.12 Released


Back to the top

Powered by Savane 3.5