Replacement Tools

IconNameAssetIconNameAsset
CounterSpriteassets/sprites
DynamicTextSyncassets/audios/sync
InputTextText
MapVector
Maskassets/imagesVideoassets/videos
MultiplierWebassets/wwww
Particlesassets/particles

Mask

  • TODO When a mask is created, animation should be applied to the mask object

    function M:didShow(UI)
      local obj = UI.sceneGroup[self.properties.target]
      timer.performWithDelay(1000, function()
        obj.group.maskScaleX = obj.group.maskScaleX * 1.5
        obj.group.maskScaleY = obj.group.maskScaleY * 1.5
      end, 5)
    end

    ref /Applications/Corona/SampleCode/Graphics/Flashlight/main.lua