I am sorry that I make a lot of question.
I know that is so sorry for cocos2d-x user. but I am burn to my foot by my work.
I want to make a layer for scroll view. and I make it!
layer has two sprite. but I want to view in layer, not out layer.
if sprite.x is over layer size, it must be invisible.
I can change a graphic resource alpha value, because my boss doesn’t want to do.
I just make a visible or invisible sprite.
I think a lot of solution like a view port as openGL.
also think changed z-order in sprite each other.
last thinking is so weird.
anyway. I need a special layer for scroll when sprite is some rectangle view.
but, I am newbie. so my brain doesn’t work now.
is it class of cocos2d-x? I am using vc++ 2008 and Windows 7 32bit. so I can’t use a iphone’s UI and android UI like scrollview.
menu.jpg (17.7 KB)