Continuing the theme of how to make things easier.
The second task:
If we pressed ''Space'' a new sprite appears on the screen after one second, then it moves up (after 1sec), then to the right and then it's destroyed (after one second too). If we press �Space� again, the loop is repeated.
I know three ways of how to create time countdown in the game that lets you manipulate objects.
Method 1 (Variable)
<img src="http://i50.tinypic.com/34yslxu.jpg">
Time is created using Global variable.
Method 2 (Function)
<img src="http://i49.tinypic.com/29aply8.jpg">
Time is created using the Function object.
Method 3. (Animation)
<img src="http://i48.tinypic.com/10fs1fn.jpg">
<img src="http://i49.tinypic.com/15f6ij9.jpg"><img src="http://i50.tinypic.com/aa7q6p.jpg">
There is a sprite in the scene named �Controller� with animation, and time counts due to this animation (1 frame per second).
All 3 methods are absolutely working. By default, the sprite has enabled Destroy on startup attribute, therefore it's destroyed after run the application.
If you know more simple and correct methods of creation time in the game, please write them in this topic.