It looks like you're new here. If you want to get involved, click one of these buttons!
local ggez = Bitmap.new(Texture.new("glass.png")) ggez:setPosition(application:getContentWidth()/2, application:getContentHeight()/2) ggez:setAnchorPoint(0, 0) stage:addChild(ggez) stage:addEventListener(Event.TOUCHES_MOVE, function(e) ggez:setPosition(e.touch.x, e.touch.y) end) stage:addEventListener(Event.ENTER_FRAME, function() end) |
Comments
Will that glasses move on your phone with MOUSE_MOVE?
Or for some reason `print` function triggered Studio console and it started work.