UIScrollView and Cocos2D

Posted by Carl on Stack Overflow See other posts from Stack Overflow or by Carl
Published on 2010-03-16T19:18:25Z Indexed on 2010/03/16 19:21 UTC
Read the original article Hit count: 821

I have created a UIScrollView in a cocos2d application. I am adding sprites dynamically, over 3 pages. On the first page, touch works perfectly on a sprite, however if I use the scroll view and navigate to the second page, touch does not work quite right... the sprite will respond to the touch when I touch the screen, approximately the amount I have scrolled to the left. If I scroll back to the first page, touch works perfectly for a sprite. Any ideas? I am using the following tutorial: http://getsetgames.com/2009/08/21/cocos2d-and-uiscrollview/ :)

© Stack Overflow or respective owner

Related posts about cocos2d

Related posts about cocos2d-iphone