Sprites offset
-
- Posts: 1
- Joined: Sat Jun 13, 2009 2:39 am
- Contact:
Sprites offset
Is there any way to add a sprite to a body without the sprite being centered on the body? I hope this is a very simple question to answer and not specific to Cocos2d, the framework I am developing on.
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Sprites offset
Yeah, just calculate the offset. I'm not sure why that would be difficult exactly. Does Cocos2D enforce that they are centered or something?
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 45
- Joined: Fri Feb 27, 2009 7:59 am
- Contact:
Re: Sprites offset
Noslembcke wrote:Does Cocos2D enforce that they are centered or something?
Who is online
Users browsing this forum: No registered users and 19 guests