Pygame Subset For Android FTW!


Pygame Subset For Android FTW!

I was looking to port some things I’ve written over to run on Android – in particular, I decided to migrate this yesterday. I have done it as of today, albeit as a working prototype, using the Pygame Subset for Android. The only thing I had to modify was to rename the main script as main.py and rewrite a little of the main game loop. Total time from learning that PGS4A existed (about 11am this morning) to having a working prototype on my Android Tablet is 7 hours. That includes about 6 hours of being away from my desk doing other things and maybe 30 minutes of downloading, installing PGS4A and its dependencies. Actual coding changes took maybe 5 minutes for roughly 1200 lines of code (excluding blank lines, comments etc). That said, now I have to hook up the multitouch interface and it has some unexplained (and critical) pauses when played.

PGS4A is a really quick and cheap way of getting an existing pygame based application onto Android.

About these ads

0 Responses to “Pygame Subset For Android FTW!”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Blog Stats

  • 135,757 hits

OSWALD Newsletter

If you would like to receive OSWALD, a weekly open source news digest please send an email to oswald (with the subject "subscribe") at opensourcelaw.biz

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: