五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

殘影的lua代碼

2023-04-28 16:48 作者:Lv_Weirui  | 我要投稿


function getIconColor(chr)
return getColorFromHex(rgbToHex(getProperty(chr .. ".healthColorArray")))
end

function rgbToHex(array)
return string.format('%.2x%.2x%.2x', array[1], array[2], array[3])
end

function goodNoteHit(id, direction, noteType, isSustainNote)
if _G['boyfriendGhostData.strumTime'] == getPropertyFromGroup('notes', id, 'strumTime') and not isSustainNote then
createGhost('boyfriend')
end
if not isSustainNote then
_G['boyfriendGhostData.strumTime'] = getPropertyFromGroup('notes', id, 'strumTime')
updateGData('boyfriend')
end
if noteType == 'GF Sing' or gfSection then
if _G['gfGhostData.strumTime'] == getPropertyFromGroup('notes', id, 'strumTime') and not isSustainNote then
createGhost('gf')
end
if not isSustainNote then
_G['gfGhostData.strumTime'] = getPropertyFromGroup('notes', id, 'strumTime')
updateGData('gf')
end
end
end

function opponentNoteHit(id, direction, noteType, isSustainNote)
if songName == 'double-kill' then

else
if _G['dadGhostData.strumTime'] == getPropertyFromGroup('notes', id, 'strumTime') and not isSustainNote then
createGhost('dad')
end
if not isSustainNote then
_G['dadGhostData.strumTime'] = getPropertyFromGroup('notes', id, 'strumTime')
updateGData('dad')
end

? ?end
if noteType == 'GF Sing' or gfSection then
if _G['gfGhostData.strumTime'] == getPropertyFromGroup('notes', id, 'strumTime') and not isSustainNote then
createGhost('gf')
end
if not isSustainNote then
_G['gfGhostData.strumTime'] = getPropertyFromGroup('notes', id, 'strumTime')
updateGData('gf')
end
end
end

function createGhost(char)
songPos = getSongPosition() --in case game stutters
? ?makeAnimatedLuaSprite(char..'Ghost'..songPos, getProperty(char..'.imageFile'),getProperty(char..'.x'),getProperty(char..'.y'))
? ?addLuaSprite(char..'Ghost'..songPos, false)
? ?setProperty(char..'Ghost'..songPos..'.scale.x',getProperty(char..'.scale.x'))
setProperty(char..'Ghost'..songPos..'.scale.y',getProperty(char..'.scale.y'))
setProperty(char..'Ghost'..songPos..'.flipX', getProperty(char..'.flipX'))
setProperty(char..'Ghost'..songPos..'.color', getIconColor(char))
setProperty(char..'Ghost'..songPos..'.alpha', 1)
doTweenAlpha(char..'Ghost'..songPos..'delete', char..'Ghost'..songPos, 0, 0.4)
setProperty(char..'Ghost'..songPos..'.animation.frameName', _G[char..'GhostData.frameName'])
setProperty(char..'Ghost'..songPos..'.offset.x', _G[char..'GhostData.offsetX'])
setProperty(char..'Ghost'..songPos..'.offset.y', _G[char..'GhostData.offsetY'])
setObjectOrder(char..'Ghost'..songPos, getObjectOrder(char..'Group')-1)
end

function onTweenCompleted(tag)
if (tag:sub(#tag- 5, #tag)) == 'delete' then
removeLuaSprite(tag:sub(1, #tag - 6), true)
end
end

function updateGData(char)
_G[char..'GhostData.frameName'] = getProperty(char..'.animation.frameName')
_G[char..'GhostData.offsetX'] = getProperty(char..'.offset.x')
_G[char..'GhostData.offsetY'] = getProperty(char..'.offset.y')
end

-- i like number 45 :thumbs_up:


殘影的lua代碼的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
通化市| 昔阳县| 同江市| 盐边县| 柏乡县| 陇西县| 泽州县| 青浦区| 姜堰市| 阿拉尔市| 二连浩特市| 全州县| 金川县| 江川县| 繁峙县| 渭源县| 黄梅县| 蓬莱市| 桐城市| 宁津县| 阜新市| 泗水县| 固原市| 育儿| 利津县| 石楼县| 中山市| 怀远县| 大方县| 阜平县| 昭通市| 汝南县| 屏边| 江门市| 枝江市| 荃湾区| 乳源| 蒙阴县| 清徐县| 武胜县| 岳池县|