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

Re: [pygame] Pygame Scene System



ah ok
-Thadeus





On Sat, Feb 13, 2010 at 2:07 AM, Nikhil Murthy <murthynik1@xxxxxxxxx> wrote:
> Thadeus, when looking through the sprite.py file of pygame, line 123 in
> Sprite.add, and line 138 in Sprite.remove both do this.
>
> On Sat, Feb 13, 2010 at 7:46 AM, Thadeus Burgess <thadeusb@xxxxxxxxxxxx>
> wrote:
>>
>> I must have missed some emails I only got nikwins question through
>> gregs response.
>>
>> I can't find anywhere in my code that I have done this, can you
>> provide a file/line# example ?
>>
>> Typically I reference if I'm actually assigning it to a class
>> attribute for use later (ie self.surface = surface), and then I always
>> use the self reference from then on out.
>>
>>
>> -Thadeus
>>
>>
>>
>>
>>
>> On Fri, Feb 12, 2010 at 7:01 PM, Alexandre Quessy <alexandre@xxxxxxxxxx>
>> wrote:
>> > Hello,
>> > There's also Clutter to look at.
>> > There are Python bindings.
>> >
>> > a
>> >
>> > Thadeus Burgess wrote:
>> >> Do take a look at PyBTS (Pygame Behind The Scenes) (which MyRTS uses
>> >> this engine) project in hg.thadeusb.com
>> >>
>> >> It has a scenemanager, world manager, map manager, entity manager, etc
>> >> etc etc.., this was my initial start on a pygame engine.
>> >>
>> >> -Thadeus
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Thu, Feb 11, 2010 at 11:32 PM, nikwin <murthynik1@xxxxxxxxx> wrote:
>> >>> area or the sidebar for GUI elements. The View class is used to
>> >>> display a portion of a subspace onto the screen itself (or any other
>> >>> surface). ÂI will implement the entire thing as the fo
>> >>
>> >
>
>