上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 43 下一页
摘要: '''lualocal MainScene = class("MainScene", function() return display.newScene("MainScene")end)function MainScene:ctor() self.bloods={} local ... 阅读全文
posted @ 2015-08-06 20:23 yufenghou 阅读(187) 评论(0) 推荐(0)
摘要: ## MainScene```local MainScene = class("MainScene", function() return display.newScene("MainScene")end)local winSize = {width=display.width,height=... 阅读全文
posted @ 2015-07-03 19:17 yufenghou 阅读(195) 评论(0) 推荐(0)
摘要: 有人说导致cocos2dx 帧率下降的是getPosition,我测试以后发现并不是这样的。```local MainScene = class("MainScene", function() return display.newScene("MainScene")end)function M... 阅读全文
posted @ 2015-06-20 09:00 yufenghou 阅读(573) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-06-19 22:51 yufenghou 阅读(1) 评论(0) 推荐(0)
摘要: >以前遇到一个问题就是,如果触摸层不在最后,会导致触摸失效。这是由于下面添加的层挡住了触摸层,而后添加的层会位于上面,默认是不可点击,点击不可穿透的。所以我们必须将触摸层放置到最上面。Logic.lua```local Logic = class("Logic",function () ret... 阅读全文
posted @ 2015-06-10 12:21 yufenghou 阅读(218) 评论(0) 推荐(0)
摘要: EXNode.lua```local EXNode = class("EXNode", function() return display.newNode()end)function EXNode:ctor() cc.GameObject.extend(self):addComponen... 阅读全文
posted @ 2015-05-20 19:01 yufenghou 阅读(182) 评论(0) 推荐(0)
摘要: ``` learn bootstrap 按钮组 Java ... 阅读全文
posted @ 2015-05-14 22:02 yufenghou 阅读(195) 评论(0) 推荐(0)
摘要: ``` learn bootstrap 按钮组 左对齐 居中 右对齐 粗体 ... 阅读全文
posted @ 2015-05-14 21:44 yufenghou 阅读(438) 评论(0) 推荐(0)
摘要: ``` learn bootstrap Link Button ``` 阅读全文
posted @ 2015-05-14 21:36 yufenghou 阅读(321) 评论(0) 推荐(0)
摘要: ``` learn bootstrap 想去的地方 ``` 阅读全文
posted @ 2015-05-14 21:12 yufenghou 阅读(481) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 43 下一页