Forums » C++ Framework » Implement some new features for cocos2d-1.0.1-x-0.10.0 »
| Tix Lo | Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|---|---|---|---|---|---|
|
Added by Tix Lo over 1 year ago
Hi,
I tried to attach the source code but always failed and how did I do to upload the source including the sample code ? |
||||
| Zhe Wang | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Zhe Wang over 1 year ago
They looks cool, especially NotificationCenter & GestureRecognizerLayer. Enjoy Coding, Enjoy Life. |
||||
| Tix Lo | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Tix Lo over 1 year ago
I pack them to a patch file, cocos2dx.patch.To copy the patch file to cocos2dx folder and I modify some original source code of cocos2dx but all of them were marked as //Erawppa. best regards. cocos2dx.patch (2.1 MB) |
||||
| Tix Lo | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Tix Lo over 1 year ago
I forgot sample code and uploaded ErawppaSampleCode.zip (1.1 MB) |
||||
| Zhe Wang | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Zhe Wang over 1 year ago
Thanks! I will read the source in Monday. Enjoy Coding, Enjoy Life. |
||||
| Zhe Wang | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Zhe Wang over 1 year ago
Issue #909 Enjoy Coding, Enjoy Life. |
||||
| winipcfg winipcfg | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by winipcfg winipcfg over 1 year ago
Is the notification center class used for Notification Center in iphone? |
||||
| Tix Lo | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Tix Lo over 1 year ago
ya, the notification center is like observer of iOS. |
||||
| winipcfg winipcfg | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by winipcfg winipcfg over 1 year ago
The observer pattern is a nice feature. Just my 2 cents, the name EPNotificationCenter should be changed to something other than "Notification Center" if integrating into Cocos2dx. It is because someone might get confused to Notification Center in IOS (http://www.apple.com/iphone/features/notification-center.html). Someone needs the class name to implement Apple's Notification Center. BTW, are there Notification Center in other OS such as Android? |
||||
| Tix Lo | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Tix Lo over 1 year ago
I totally agree what you say of naming issue and I think you can modify those codes in according to your requirement. To develop Android App is my future plan and currently focus on iOS platform ,so I dont understand about Notification Center in Android. sorry. |
||||
| James Chen | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by James Chen over 1 year ago
Could you provide more demos about how to use EPScrollListLayer, EPTextFiled? |
||||
| Tix Lo | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by Tix Lo over 1 year ago
here are some files about EPScrollListLayer and there are three samples, including createScrollH() , createScrollV() , and createSyncScrollH() I updated and fixed some codes in EPScrollListLayer.cpp/.h and you can replace them with attatchment. btw, you can ignore EPTextField because there are some powerful samples in cocos2d-1.0.1-x-0.9.1/tests/tests/keypadTest. HelloWorldScene.cpp (4.4 kB) EPScrollListLayer.cpp (24.9 kB) EPScrollListLayer.h (3.2 kB) HelloWorldScene.h (901 Bytes) |
||||
| James Chen | RE: Implement some new features for cocos2d-1.0.1-x-0.10.0 | ||||
|
Added by James Chen over 1 year ago
Thank you. Tix Lo wrote:
|
(1-12/12)
