I got it working with no thanks to ScrollableLayer
class world(Layer):
...
def refresh_tiles(self, new_pos):
oldpos = self.position
self.position = vec2d(oldpos) + vec2d(new_pos).inttup()
--
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.
For more options, visit https://groups.google.com/groups/opt_out.