On Sat, Jun 20, 2009 at 7:19 AM, jaber <[email protected]> wrote:
> > > the update_camera_pos() func is working fine, > > But another problem: > what values should i put in world_layer.transform_anchor? > > I tried putting the sprite's position, and when zooming, it correctly > anchored to the center of the sprite. > > However if I moved the sprite (and update_camera_pos()), the sprite > becomes farther from center of the window if I move the camera from > the center of the game world. > > Thanks > > attached is hud4.py with chasecam and zoom -- 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 -~----------~----~----~----~------~----~------~--~---
hud4.py
Description: Binary data
