1
如何防止精靈在電暈內旋轉? 當我設置如何防止精靈在電暈內旋轉?
-- Create a new sprite and add it to the group
local spriteInstance = display.newSprite(imagesheet, spriteSequences.cat)
spriteInstance.x = 100
spriteInstance.y = 100
spriteInstance.isFixedRotation = true
會被忽略,但是當我觸摸功能裏面做這樣
function touch(event)
event.target.isFixedRotation = true
end
觸摸後它的工作原理。有誰知道什麼是問題?
澄清「它被忽略「和」它的作用「:是什麼讓你說它被忽略,是什麼讓你說它的作品 – Schollii 2014-09-28 04:09:08