Fork me on GitHub

文章分类 -  Cocos-x JS

Screencast
摘要:1 Login Facebook can get many benifits.2 Login button3 Authorization4 Share to friends who haven't install this game.5 Sending gifts to friends who ha... 阅读全文

posted @ 2015-11-24 17:02 pengyingh 编辑

Facebook ios sdk 3.10 openActiveSessionWithReadPermissions doesn't callback using web login
摘要://转自:http://stackoverflow.com/questions/20262974/facebook-ios-sdk-3-10-openactivesessionwithreadpermissions-doesnt-callback-usin- (void)applicationDid... 阅读全文

posted @ 2015-10-20 14:31 pengyingh 阅读(233) 评论(0) 推荐(0) 编辑

如何在IOS平台上使用js直接调用OC方法(转)
摘要:转自:http://cocos2d-x.org/docs/manual/framework/html5/v3/reflection-oc/zh在Cocos2d-JS v3.0 RC2中,与Android上js调用Java一样,Cocos2d-JS也提供了在iOS和Mac上js直接调用Objectiv... 阅读全文

posted @ 2015-03-02 10:24 pengyingh 阅读(11381) 评论(1) 推荐(0) 编辑

在JS代码中使用反射调用java代码注意事项(附webview使用方法)(转)
摘要:转自http://cn.cocos2d-x.org/tutorial/show?id=2279本文是推荐使用过jsb.reflection的开发者进行阅读。关于jsb.reflection的说明请参照:Javascript到JAVA反射Javascript到Objective-C反射我们在代码编写过... 阅读全文

posted @ 2015-03-02 10:03 pengyingh 阅读(5412) 评论(0) 推荐(0) 编辑

Cocos2d-JS 清除tiled map的黑线 (转)
摘要:转自:http://cn.cocos2d-x.org/tutorial/show?id=1980把main.js里面的画布尺寸从800*450改为960*640然后进行测试,左右移动时可以明显的看到黑线好,重点来了。在app.js的ctor里面加上这一句:cc.director.setProject... 阅读全文

posted @ 2015-03-02 09:46 pengyingh 阅读(322) 评论(0) 推荐(0) 编辑

clippingNode在ios/android上无效的修改(转)
摘要:http://cocos2d-x.org/boards/6/topics/20141?r=20567#message-20567for iOS:in AppController replace the gl-view creation with: EAGLView *__glView = [E... 阅读全文

posted @ 2015-01-28 14:55 pengyingh 阅读(482) 评论(0) 推荐(0) 编辑

导航