I'm not used to this google forum format, its strange to not be able to 
edit :D

The same space between tiles thing does not happen in regular pyglet:

class screen(pyglet.window.Window):
    def __init__(self, w, h):
        super(screen, self).__init__(w, h)
        
        sprite_sheet = grid(pyglet.image.load("images/map_sprites.png"), 3, 
15)
        
        self.batch = pyglet.graphics.Batch()
        
        self.all_sprites = []
        x, y = 0, 0
        
        for i in range(10):
            for j in range(10):                
                
                sprite = pyglet.sprite.Sprite(sprite_sheet[0], 
batch=self.batch)
                sprite.x = x
                sprite.y = y
                self.all_sprites.append(sprite)
                
                x += 96
            y += 96
            x = 0

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to