chipmunk coordination
-
- Posts: 2
- Joined: Tue Jul 21, 2009 12:52 pm
- Contact:
chipmunk coordination
Hi, I'm still studying chipmunk by reading sample code. One thing I don't understand is in demo1 code which coming with cocos2d 8.0, the coordication seems like is for x (-320-320), for y (-480-480), but iphone screen is 320x480, is my understanding of chipmunk wrong, please help.
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: chipmunk coordination
The original set of demos for the desktop used a centered 640x480 screen. The Cocos2D demos are just modified enough to run, so they are either stretching them or clipping off the sides.
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: 2
- Joined: Tue Jul 21, 2009 12:52 pm
- Contact:
Re: chipmunk coordination
got you, thanks!
Who is online
Users browsing this forum: Heise IT-Markt [Crawler] and 30 guests