SGE Game Engine - News
SGE 0.23 Released
Item posted by Layla Marchant <onpon4> on Fri 12 Feb 2016 10:16:39 AM UTC.
It's about time for another SGE release, so I made one... three days ago, and then I forgot to make the release announcement! Oops.
This is a release with some pretty big changes, and it breaks compatibility in a couple of ways. The major changes are:
- It is now possible to receive Joystick input events in a generic way, through the new joystick.get_value function, the JoystickEvent input event, and new "event_joystick" methods. This makes supporting control customization a lot easier.
- All classes have been moved to particular modules (named "gfx", "dsp", and "snd"), rather than directly being in the "sge" namespace.
- Text is now drawn white by default. This is because white is the neutral color when using sprite fonts.
- Rotation is now clockwise instead of counter-clockwise. This makes a lot more sense mathematically, because while the unit circle is counter-clockwise, the SGE uses an inverted Y-axis. Making rotation clockwise allows use of functions like sine and cosine without inverting the Y values.
- Sound and music volumes are now from 0 to 1, rather than 0 to 100.
Powered by Savane 3.14-8aba.
Corresponding source code