Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUpdate()
- if curStep % 4 == 0 then
- doTweenY('Tag1', 'CharacterThatYouWant', CharacterBgYPlusValue, HowLongItTakes, 'sineIn')
- end
- if curStep % 4 == 2 then
- doTweenY('Tag2', 'CharacterThatYouWant', CharacterBgYMinusSameValue, HowLongItTakes, 'sineIn')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment