[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] SDL 2.0




Is there a way to create iOS games with pysdl2 ?  Would Cython be a path?





From: René Dudfield <renesd@xxxxxxxxx>
To: pygame-users@xxxxxxxx
Sent: Tuesday, August 13, 2013 4:38 AM
Subject: Re: [pygame] SDL 2.0

Hi,

Note: there are the pysdl2 wrappers here:
    http://pysdl2.readthedocs.org/en/latest/ 

There is also a guide "pysdl2 for pygamers" which shows which API calls in pygame map to which calls in pysdl2. 
    http://pysdl2.readthedocs.org/en/latest/tutorial/pygamers.html

I'd like to make a pygame compatible API layered on top of that work (however, maybe someone has started that already)... But that would take at least a whole month of full time hacking to complete.  Someone could probably hack together a prototype in a week which would run many current pygame games though (PyWeek project?!?).  I'm currently aiming to take a month or two off around September to complete this and the new website.

cu.



On Tue, Aug 13, 2013 at 10:47 AM, Andrew Barlow <andrew.barlow@xxxxxxxxx> wrote:
Awesome! I hope we end up with a nice wrapper around previous pygame code so I don't have to rewrite everything!

I'd even pay good money for that!


On 13 August 2013 09:37, René Dudfield <renesd@xxxxxxxxx> wrote:
Happy days...


SDL 2.0 is released!

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-August/089854.html

"""
These are the most important new features in SDL 2.0:

   - Full 3D hardware acceleration
   - Support for OpenGL 3.0+ in various profiles (core, compatibility,
   debug, robust, etc)
   - Support for OpenGL ES
   - Support for multiple windows
   - Support for multiple displays
   - Support for multiple audio devices
   - Android and iOS support
   - Simple 2D rendering API that can use Direct3D, OpenGL, OpenGL ES, or
   software rendering behind the scenes
   - Force Feedback available on Windows, Mac OS X and Linux
   - XInput and XAudio2 support for Windows
   - Atomic operations
   - Power management (exposes battery life remaining, etc)
   - Shaped windows
   - 32-bit audio (int and float)
   - Simplified Game Controller API (the Joystick API is still here, too!)
   - Touch support (multitouch, gestures, etc)
   - Better fullscreen support
   - Better keyboard support (scancodes vs keycodes, etc).
   - Message boxes
   - Clipboard support
   - Basic Drag'n'Drop support
   - Proper unicode input and IME support
   - A really powerful assert macro
   - Lots of old annoyances from 1.2 are gone
   - Many other things!
"""