Timing the scenes and displaying the time
Maike
Member Posts: 7
I'm making a platformer, five levels, and I want to time the time the player spends in the level (and display it in the corner). At the end of the five scenes, I want it to display all times and give a total. However, I have no idea how to appraoch this. Any ideas?
Also, I'm having some troubles with creating the animation. I have four images, all of the same size pixel-wise, all sharp. I put them in the animation-behaviour, but for some reason it's all blurry in the actual game. It doesn't animate fluently, but creates a big blur of the main character. I have it at 0 or 1 fps.
Also, I'm having some troubles with creating the animation. I have four images, all of the same size pixel-wise, all sharp. I put them in the animation-behaviour, but for some reason it's all blurry in the actual game. It doesn't animate fluently, but creates a big blur of the main character. I have it at 0 or 1 fps.
Comments
With the timer in the corner there are a few demos (check the sticky at the top of the forum). You'll need to use an attribute to keep the time. Something like:
Every 1 Second
Change Attribute game.LevelTimer to game.LevelTimer +1
Then to display the time, either have an actor that displays text for the timer attribute, or make a custom font like those seen in the demos.
As for the blurry character, make sure images are all EVEN numbers, and that the actor size are also even numbers, otherwise you'll get blur.
Thanks for the help, by the way. (: