开发者

horizontal scrolling level select

Ok so i have a good chunk of my game finished now and Im working on my level select view. I want to implement a horizontal scroll view with multiple buttons on each view, in something that looks like 开发者_开发百科Angry Birds or Cut The Rope, or something like that. I know I use a scroll view and set anchor points from my reading on here and other sites but im not sure exactly how i can implement that. Im a bit of a noob and my game didnt need to implement any real graphics so im not familiar with open gl or quartz, although im not afraid to try to learn it.

Anyone know how i can implement anchor points in a horizontal scroll view for my level select view?

Thanks!


As already answered, you have to use UIScrollView. We use scroll view when our contents are too large to be shown on the screen.

Refer the class reference here and Some links that could hep you.

Apple's scrolling demo

Understanding Scrollview

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜