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

Re: [pygame] Layout module for Pygame surfaces



Aha. How's the project going, by the way? =)

-Thiago

On Mon, May 17, 2010 at 1:26 PM, Pablo Recio Quijano
<rikutheronin@xxxxxxxxx> wrote:
> The main reason here is to make that file portable between Pygame and SDL.
>
> 2010/5/17 Thiago Chaves <shundread@xxxxxxxxx>
>>
>> XML is kiinda nice for language-independent and editor-independent
>> file formats, just because so many languages are so unfriendly at
>> parsing text and happen to have a good XML library.
>>
>> But, yeah, don't see much reason for XML here either.
>>
>> -Thiago
>>
>> On Mon, May 17, 2010 at 7:37 AM, Luke Paireepinart
>> <rabidpoobear@xxxxxxxxx> wrote:
>> > I agree. Never understood why people love xml so much. I've always had
>> > my cfg files be python files that I import. Works awesomely.
>> > and if you ever want to programmatically generate your data you can
>> > always include that code in the cfg file. Super easy and flexible.
>> > Only downside that i can see is non-python interaction. But you can
>> > always write code to dump to/from xml if you really need that.
>> >
>> > On 5/16/10, David Taylor <taylor234@xxxxxxxxxxx> wrote:
>> >>
>> >> I like that idea a whole lot more than XML.
>> >>
>> >>> -----Original Message-----
>> >>> From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx]
>> >>> On
>> >> Behalf Of
>> >>> Mark Reed
>> >>> Sent: Saturday, May 15, 2010 12:07 PM
>> >>> To: pygame-users@xxxxxxxx
>> >>> Subject: Re: [pygame] Layout module for Pygame surfaces
>> >>>
>> >>> Why does it need to be XML? Write it out as python dict's and eval the
>> >>> file. 2 lines of code.
>> >>>
>> >>> And use an existing library and write an editor for it. Thats really
>> >>> the thrust of what you are trying to do. Support the code that is out
>> >>> there instead of rewriting it.
>> >>>
>> >>> Mark
>> >>>
>> >>> On Sat, May 15, 2010 at 5:16 PM, Pablo Recio Quijano
>> >>> <rikutheronin@xxxxxxxxx> wrote:
>> >>> > There's no GUI behind the the XML right now. I wrote the XML by
>> >>> > hand.
>> >>> >
>> >>> > The idea is to do the library and write an application like Glade,
>> >>> > but
>> >> for
>> >>> > Pygame.
>> >>> >
>> >>> > 2010/5/15 jake b <ninmonkeys@xxxxxxxxx>
>> >>> >>
>> >>> >> What GUI are you using behind the xml?
>> >>> >> I'd be interested in seeing the code.
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Pablo Recio Quijano
>> >>> >
>> >>> > Estudiante de IngenierÃa InformÃtica (UCA)
>> >>> > Alumno colaborador del Departamento de Lenguajes y Sistemas
>> >>> > InformÃticos
>> >>> >
>> >>
>> >>
>> >>
>> >
>> > --
>> > Sent from my mobile device
>> >
>
>
>
> --
> Pablo Recio Quijano
>
> Estudiante de IngenierÃa InformÃtica (UCA)
> Alumno colaborador del Departamento de Lenguajes y Sistemas InformÃticos
>