While writing a small script to exercise ScrollingManager I found that my code to limit the player's position inside a rect was not performing right. Surely an error in my clamp code, I suspected. But changing the player representation from sprite to other two options, shows the clamp code working as expected. I'm under the impression that there is a silly error in my code or there is a problem in cocos sprite code.
I will really appreciate if someone can shed light on this. To test, you need a modern cocos, at least r938 (I tested with r960 and pyglet 1.1.4) You can get the code at: http://pastebin.com/g5CVSib0 You will also need grossinis_sister1.png , to be found in cocos\test cheers all, -- claudio -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" 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/cocos-discuss?hl=en.
