About ScrollView

About ScrollView
0.0 0


Hi everyone,

I just got curiosity,

why isn’t there scrollview in cocos2d?

I’ve experienced making an 2d graphics engine like cocos2d, but not on opengl es, it was one on the most important components.

I and my team mates are going to port a game application and it has a lot of scrollviews in it.

I know the solution, using glScissor in visit function, but just curiosity, why isn’t there?

is there any problem if it uses glScissor?

otherwise I would like to make a component and distribute it.

it is not any offense.

thank you guys for making this beautiful engine!


Riq seems don’t like to integrate GUI components in cocos2d-iphone. I totally agree with him.
Cocos2d is a game framework, but not a GUI framework such as Guichan, CEGUI.
Different frameworks focus on different areas. Scope spread may kill a project, no matter it’s open source or not.

In the other hand, we will commit the ScrollView to http://github.com/cocos2d/cocos2d-x-extensions/ repository in these days, it’s contributed by leo http://www.cocos2d-x.org/boards/6/topics/1090


Thank you for the reply!

now I understand why it does not have it.

however, the scrollview made by leo is not clipped.

it is very cool and nice but not I thought.