SGE Game Engine - News
SGE 0.21 Released
Item posted by Layla Marchant <onpon4> on Mon 09 Nov 2015 12:16:26 PM UTC.
Another new release is here! Version 0.21 of the SGE is now available for download, and it includes the following changes:
- Added sge.game.delta_max, which allows you to use delta timing to speed the game up. For example, you can allow a game designed for 60 FPS to run at 120 FPS. Do be careful with this, as using values that are too high can result in delta_mult or some other number being rounded down to 0 (which would generally prevent movement from occurring).
- Window projections now have Z-axis values. These Z-axis values are independent of all other Z-axis values; they only affect the positional relationship of window projections. This allows you to control which of these projections belong on top without controlling which one is projected first (which can be a difficult thing to control in the SGE).
- sge.game.mouse.z now determines the Z-axis position of the mouse. It is 10000 by default.
- As a consequence of the introduction of Z-axis values of window projections, it's possible for the mouse cursor to be obscured by other window projections. Of course, this only works with custom mouse cursors.
In addition to these changes, the Pygame SGE has had a small change to how it handles directories: previously, it made a point of converting relative paths to absolute paths, and now it doesn't. The reason for this is Pygame is not designed to properly deal with Unicode paths, and using absolute paths exacerbates this problem by effectively creating a requirement for the entire path to be ASCII, rather than just the sub-directories of the game.
Powered by Savane 3.14-8aba.
Corresponding source code