![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
lua
文章平均质量分 76
Mr_Maybe
这个作者很懒,什么都没留下…
展开
-
lua之card 游戏
require("Card")function main() local self = CCScene:create() local layer local allPoints local allCards = {} local countNum =1 local errCount = 0 local function getPoints() allPoints =原创 2014-05-07 21:31:42 · 526 阅读 · 0 评论 -
lua 精灵菜单
function Menu() local scene = cc.Scene:create() local menuLayer = cc.Layer:create() local menu = cc.Menu:create() local spriteMenuPlay = cc.Sprite:create("res/btn-play-normal.png") local sprite原创 2014-05-14 22:42:33 · 811 阅读 · 0 评论 -
lua 之 menu
local kTagMenu = 1local kTagMenu0 = 0local kTagMenu1 = 1local MID_CALLBACK = 1000local MID_CALLBACK2 = 1001local MID_DISABLED = 1002local MID_ENABLE = 1003local MID_C原创 2014-05-17 17:11:17 · 1006 阅读 · 0 评论 -
lua 之newlabel
local size = cc.Director:getInstance():getWinSize()local scheduler = cc.Director:getInstance():getScheduler()local kTagTileMap = 1local kTagSpriteManager = 1local kTagAnimation1 = 1local kTagBit原创 2014-05-24 14:26:21 · 2110 阅读 · 0 评论 -
lua 之 sprite
local size = cc.Director:getInstance():getWinSize()local kTagTileMap = 1local kTagSpriteBatchNode = 1local kTagNode = 2local kTagAnimation1 = 1local kTagSpriteLeft = 2local kTagSpriteRight = 2原创 2014-05-26 11:20:55 · 773 阅读 · 0 评论