摘要: local options ={ frames = { --frame 1 { x = 0, y = 0, width = 232, height = 276 ... 阅读全文
posted @ 2015-04-14 12:57 yufenghou 阅读(198) 评论(0) 推荐(0)
摘要: 1 图片按照锚点来定位,但是group不按照锚点来定位。 阅读全文
posted @ 2015-04-14 12:02 yufenghou 阅读(88) 评论(0) 推荐(0)
摘要: --------------------------------------------------------------------------------------------- main.lua------------------------------------------------... 阅读全文
posted @ 2015-04-14 10:37 yufenghou 阅读(131) 评论(0) 推荐(0)
摘要: local myGroup = display.newGroup()--Create 2 rectangles and insert them into 'myGroup'local rect1 = display.newRect( myGroup, 0, 0, 40, 40 )local rect... 阅读全文
posted @ 2015-04-14 09:36 yufenghou 阅读(139) 评论(0) 推荐(0)
摘要: display.remove ( myObject )myObject = nil --set reference to nil!--ORmyObject:removeSelf()myObject = nil --set reference to nil!--ORmyGroup:remove( ... 阅读全文
posted @ 2015-04-14 08:03 yufenghou 阅读(145) 评论(0) 推荐(0)
摘要: --------------------------------------------------------------------------------------------- main.lua------------------------------------------------... 阅读全文
posted @ 2015-04-14 08:02 yufenghou 阅读(100) 评论(0) 推荐(0)