It wasn't as hard as I thought... The code is
1922 x 1200
Below animation code... Still to other variables that I'm testing, many limitations... Fortunately you can improvise with what you have. Still need to find all the codes in Lu and its 30 thousand
do
local catSprites = {}
for i = 0, 99 do
--
local frameName = string.format("frame_%03d_delay-0.01s.png", i)
catSprites[i] = ModUtilities.GetSpriteReference(CurrentModGuid, frameName)
end
local unityCoro3utine
function catSpecialEffect(value, item0)
local itemGuid = item0.GetUniqueGuid()
local targetPath = "/Room/GhostBackground"
if value and item0.IsEquipped() then
function Coroutine()
while true do
for i = 0, 99 do
if catSprites[i] then
TextureOverriderManager.RoomManager.SetSprite(itemGuid, targetPath, catSprites[i])
end
coroutine.yield(ModUtilities.WaitForSeconds(0.1))
end
end
end
unityCoroutine = ModUtilities.StartCoroutine(Coroutine)
else
if unityCoroutine then
ModUtilities.StopCoroutine(unityCoroutine)
unityCoroutine = nil
end
TextureOverriderManager.RoomManager.RestoreSprite(itemGuid, targetPath)
end
end