[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Question: 'Skins' support



> I'm currently reimplementing a German spelling tutoring system in
> Python/pygame. In order to make customization more flexible (some
> teachers working with the current system want different colors/nicer
> graphics, others want very very simple graphics only etc.) I plan to
> integrate some "skin" support (as known from WinAmp and many many other
> programs). What I want from you out there is to tell me what you think
> of my ideas how to do that:

every once in awhile something like this comes up.
i think the conclusion we've reached before is that there
are many good HTML image map editors available. these let
you create clickable hotspots on an image. i still think
this would be the best bet, you can make the URL for each
map area the name of a function to call in the python code.

parsing the HTML map data should be pretty straightforward,
and then you are done. if you want your life to be easiest,
only use rectangles for the hotspots. although if you end
up adding hit-detection for the other html-map shapes like
circle and polygon, please send the code in, i know many
people want something like that :]


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org