Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUpdate()
- if curStep >= 0 then
- songPos = getSongPosition()
- local currentBeat = (songPos/1000)*(bpm/80)
- doTweenY(dadTweenY, 'dad', 200-20*math.sin((currentBeat*0.50)*math.pi),0.001)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment