标签:
require "Cocos2d" require "Cocos2dConstants" local TestScene = class("TestScene",function() return cc.Scene:create() end) function TestScene.create() local scene = TestScene.new() local sp=cc.Sprite:create("dog.png") sp:setPosition(100,100) scene:addChild(sp) return scene end return TestScene
标签:
原文地址:http://www.cnblogs.com/yufenghou/p/4304465.html