Thanks I didn't realise there were some examples. I think I will go with cocos2d
On Sunday, August 5, 2012 1:12:09 PM UTC+12, Wallace Davidson wrote: > > I am trying to make a top down tile based rpg (with randomly generated > terrain) and I have managed to draw the tiles on the screen in a batch and > move them when the player presses a key. I am pretty new to pyglet so this > is probably the worst way to do it. > > if keys[key.W]: > for a in tiles_1: > a.y -=5 > > Right now I am trying to do it like that ^ > > However when I have a map larger than about 700 tiles it fails to run > quicker than 3 fps. I have been looking around and seen lots of stuff about > off screen culling and textures but I haven't any idea how to do this as I > couldn't find any tutorials. I also had a look at cocos2d and it seems to > be exactly what I want but again I wasn't sure where to start with tile > scrolling. Any help or examples would be a huge help :) > > Thanks > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/NrT3CGEug9kJ. 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.
