newsSGE Game Engine - News: SGE 0.12 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 1.4.1.1 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 0.12 Released

Item posted by Julie Marchant <onpon4> on Sun Sep 7 00:39:21 2014.

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

http://stellarengine.nongnu.org/download.html

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 sge.game.mouse. The old method was really annoying to implement and not particularly beneficial anyway.
  • sge.game.mouse 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, sge.game.mouse 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.

Comments:

No messages in SGE 0.12 Released

 

Back to the top


Powered by Savane 3.1-cleanup1