I was in a crunch and needed to get something going really fast, so I'm sure there are better ways to write map editors. I was just trying to blit the visible portion of the image instead of reiterating over the tiles. So, nothing special; just drawing the map. I've never written a map tiler before. Know any good libs that use Pyglet for game stuff? I saw Coco's lib, but I was so deep into my engine that I didn't wanna go backwards.
On Thu, Apr 24, 2008 at 5:53 AM, Ben Sizer <[EMAIL PROTECTED]> wrote: > > On Apr 23, 11:43 pm, Alex Morais <[EMAIL PROTECTED]> wrote: > > I'm working on a Level class for my game in which it will iterate over > > the map specification and blit all of the tiles to a texture or > > image. This way I can just re-blit the visible region of the map. > > Why would you want to do this instead of just re-blitting the tiles as > appropriate? Is this for some sort of minimap or something? > > -- > Ben Sizer > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
