Pygame subset for android

Hi,

for people interested in using SDL+python on android, there is this port now:
http://www.renpy.org/pygame/

cheers,

Very cool. I just finished working on the official SDL port today. Rene,
do you want to check it out and see whether it works with Pygame?On Thu, Jan 13, 2011 at 2:57 AM, Ren? Dudfield wrote:

Hi,

for people interested in using SDL+python on android, there is this port
now:
http://www.renpy.org/pygame/

cheers,


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hi,

pygame is still based on SDL 1.2. Is the official port for only 1.3
no? So that’ll be a bit more of a port if so.

Also, is the official port using the new SDK? I think that only works
on really new android devices right?

Is there a URL with more info about the official port? I’ll pass on
any info to Tom Rothamel, who has done the pygame port to android.

cheers,On Fri, Jan 14, 2011 at 1:21 AM, Sam Lantinga wrote:

Very cool.? I just finished working on the official SDL port today.? Rene,
do you want to check it out and see whether it works with Pygame?

On Thu, Jan 13, 2011 at 2:57 AM, Ren? Dudfield <@Rene_Dudfield> wrote:

Hi,

for people interested in using SDL+python on android, there is this port
now:
? ?http://www.renpy.org/pygame/

cheers,


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? -Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi again,

Sorry, I just noticed your other email about SDL 1.3 for android.
That answers my questions. Our first step will be to port pygame to
SDL 1.3.

cheers,On Fri, Jan 14, 2011 at 12:52 PM, Ren? Dudfield <@Rene_Dudfield> wrote:

Hi,

pygame is still based on SDL 1.2. ?Is the official port for only 1.3
no? ?So that’ll be a bit more of a port if so.

Also, is the official port using the new SDK? ?I think that only works
on really new android devices right?

Is there a URL with more info about the official port? ?I’ll pass on
any info to Tom Rothamel, who has done the pygame port to android.

cheers,

On Fri, Jan 14, 2011 at 1:21 AM, Sam Lantinga wrote:

Very cool.? I just finished working on the official SDL port today.? Rene,
do you want to check it out and see whether it works with Pygame?

On Thu, Jan 13, 2011 at 2:57 AM, Ren? Dudfield <@Rene_Dudfield> wrote:

Hi,

for people interested in using SDL+python on android, there is this port
now:
? ?http://www.renpy.org/pygame/

cheers,


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? -Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

The SDL 1.3 port to Android will run on versions as early as Android 1.6. Unfortunately this excludes the T-mobile G1 IIRC, but every other Android device I know of was at least upgraded to 1.6------------------------
EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/

Awesome, that’s good to know.

cheers,On Sun, Jan 16, 2011 at 12:31 AM, Nathaniel J Fries wrote:

The SDL 1.3 port to Android will run on versions as early as Android 1.6.
Unfortunately this excludes the T-mobile G1 IIRC, but every other Android
device I know of was at least upgraded to 1.6


EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

my main concerns with SDL on android is how much it behaves like a standard
andorid app, and if it dosnt, how easy it is to make an SDL app behave like
an android app

This is definitely a good thing to think about with SDL on any mobile
platform.

A good example of this is the application life cycle on Android. The
expected application life cycle is documented here:
http://developer.android.com/reference/android/app/Activity.html

The important point is that between Pause and Resume, the application loses
its OpenGL context, which isn’t accounted for anywhere in the typical SDL
application. In order to handle this, currently the SDL code sends a QUIT
event and waits for the application to quit. If the application doesn’t
quit in response, it will eventually be killed by the OS.

This is an example where the SDL behavior is okay, but there must be a
better way. :)On Sun, Jan 16, 2011 at 6:38 AM, Neil White wrote:

my main concerns with SDL on android is how much it behaves like a standard
andorid app, and if it dosnt, how easy it is to make an SDL app behave like
an android app


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC