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

Re: [pygame] pygame for S60 update



2009/1/18 René Dudfield <renesd@xxxxxxxxx>:
> very cool!
>
> Maybe we could share the file pointer between open fonts?  Might be a
> little difficult though.  Depends on how it is coded... it could rely
> on the offset being where it was left, or everything could be
> calculating the offset as needed.  I guess the easiest way would to
> just try it.  Keeping a cache of files, and file pointers could be the
> way to do it.
Sounds doable. I'll try OpenC first. If it works, then we'll be fine.

> I found this page about screen change events...
> http://discussion.forum.nokia.com/forum/showthread.php?t=153135
>
> Does that help?  I assume SDL would need to register that event, and
> then do an event post into the event queue?

Yeah, I have been thinking of that too.

> Do the tests run on the phone?
I haven't looked at the tests yet. Just tried to get the basics up
until now. I expected that they don't work out-of-the-box so those
would have taken too much of time. But now the port is complete enough
so I can start working on the details and removing the less obvious
bugs that the tests hopefully reveal.

> What's your next plans?
- Finish up the pen\mouse support for the launcher and improve custom
application handling.
- Add the resize event when orientation changes
- Make tests run
- Make things build with OpenC and support the new pys60 1.9.x
series(python 2.5).
- Make compatible with Nokia's official PyS60
- Support OpenGL

There are some bugs in SDL S60 also. I think I'll need to create a
google project for it. For example, if you put pygame into the
background and wait for a while you get User 86 panic. I assume that's
a bug in SDL( negative wait time). And music streaming does not work
either because SDL panics. Some kind of threading issue.

> Do you want to start merging in to trunk at some point?
Not yet. The branch *should* compile on win32\linux, but I haven't
tested it yet. I need to set up build systems for those as well. Any
possibility to add automagic builds for symbian too?
http://thorbrian.com/pygame/builds.php

-- 
____________________
Jussi Toivola