Hi, I'm currently trying to write a platformer using pyglet. (source code: https://github.com/DomNomNom/Jumpy2D/)
The platforms in it come in different sizes and i want them to be textured. I'm currently loading the texture this way: image.TileableTexture.create_for_image(resource.texture(texturePath + fileName)) and drawing them via texture.blit_tiled(0,0, 0, width, height) My question is this: how can i use batching to make drawing efficient as platforms are going to be the most common entity in my game? One idea i had was to blip_tiled() the texture onto other textures (1 for each platform) so they would be of the correct size but I don't know how exactly to do that. Thanks, ~ Dominik -- 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/-/hRqJnVEoGwwJ. 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.
