If you want to animate different objects throughout the game with proper time interval of time, you can use this code. I've used this in my game to animate balloons and other objects in game.
Also this will help to call different functions at different interval of time.
animation
MorphingLabel is a simple module to easily allow you to animate changing a label's text. It works by duplicating the text object and crossfading/scaling between the old and new text for a seamless look.