Computer

2015년 5월 7일 개발일지.

TOYOBA 2015. 5. 7. 09:03

1. cocos2dx에서 ScrollView를 쓰는게 여간 까다로운 일이 아니다. 

버튼 클릭하게 하는 일이 너무 어렵다. 


http://singleton.tistory.com/373

cocos2dx에서 제공하는 Reference . 

http://www.cocos2d-x.org/reference/native-cpp/V3.6/d8/d29/classcocos2d_1_1ui_1_1_scroll_view.html


-> 결국 CustomScrollview와 customMenu를 만들어

Scroll시 일정 간격이상 Drag되는지 체크해서 Scroll과 touch이벤트를 구분했다.