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

Re: [pygame] GUI toolkit for Python for Android



@Brian, you might need to go into android land for some of that gui stuff... Especially the web browser control, or if you want the gui to use android native controls.  Definitely ask on the pgs4a forum (http://pygame.renpy.org/forum/) if you haven't already.  If you want something more 'game' like then these other guis could work well for you.

ps. @sam, you should definitely add Gregs Albow gui to your reading list :)


On Wed, May 30, 2012 at 10:23 PM, Sam Bull <sam.hacking@xxxxxxxx> wrote:
I'm currently working on a GUI toolkit for GSoC. You can download the
beta release at https://launchpad.net/simplegc (documentation is at
http://program.sambull.org/sgc/ ). I've not tried this with PGS4A though
(also only running on Python 2 at the moment), it's also currently a
little limited on the available widgets. I expect to be making a beta
release every couple of weeks for the next 3 months.

If you do decide to try it out, I'd like to hear how you get on with it.
If you need to make any changes to get it working, I'd be interested in
putting the changes in.

Thanks,
Sam Bull

On Wed, 2012-05-30 at 03:16 +0000, Brian Bull wrote:
> Hello list,
>
> I am trying to write a game in Pygame for my Android mobile phone. I
> am using Pygame Subset for Android (http://pygame.renpy.org/) and that
> seems to work pretty well; at least, it has made it easy for me to
> program the main part of my game (with sounds, images, text and input)
> and push the game to my phone.
>
> However, the problem I face now is that I need to add some GUI
> elements and I'm not aware of any resources that make it easy for me
> to do this in pgs4a. I don't want to write my own dialogs, choosers,
> HTML renderers or scrolling boxes from scratch if I can possibly avoid
> it.
>
> I wondered if Phil's Pygame Utilities (http://code.google.com/p/pgu/)
> could help but I'm not sure if it works on pgs4a. Alternatively, there
> might be other modules/toolkits I could use with pgs4a, or I might be
> best to abandon pgs4a and work with something like Python for Android
> (http://code.google.com/p/python-for-android/) and Scripting Layer for
> Android (http://code.google.com/p/android-scripting/) - but I suspect
> pgs4a is the best option for me if I can find a way through this GUI
> thing.
>
> What do you recommend I do?
>
> Thanks! and cheers
> A.
>