排序:
默认
按更新时间
按访问量

cocos2d-x-3.x snapshot

cocos2d-x-3.x snapshot cocos2d::Image* nodes_utility::snapshot(float scale) { cocos2d::Size visibleSize = Director::getInstance()->getVisibleS...

2016-05-04 00:30:03

阅读数:439

评论数:0

C++调用LUA函数,可变参模板实现

代码: /// FUNCTION TEMPLATE: luax_vcall template inline void luax_vcall(const char* func, _Args...args); template inline _Result luax_vxcall(const ch...

2015-06-30 10:19:24

阅读数:1124

评论数:0

cocos2d-x-3.x bringToFront & sendToBack实现

void Node::sendToBack(Node* child) { if (this->_children.size() >= 2) { auto start = *this->_children.begin(); auto bot...

2014-11-05 15:42:48

阅读数:850

评论数:0

cocos2d-x-3.x guides

cocos2d-x-3.0 guides.txt 1.设置wp8 屏幕方向(网上找了好久没找到怎么设置,最后自己试出来了) Director::getInstance()->getOpenGLView()->UpdateOrientation(Windows::Graphics::Di...

2014-09-22 22:01:34

阅读数:936

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭