Typewriter effect
Hello,
is there a way to simulate a typewriter effect with text?
I've build it up with animations, but this is just a waste of memory and a mess do to the animations in several languages
)
thanks for any advise in the right direction
Bernd
is there a way to simulate a typewriter effect with text?
I've build it up with animations, but this is just a waste of memory and a mess do to the animations in several languages

thanks for any advise in the right direction
Bernd
Comments
http://www.mediafire.com/?iwu3x9niexgvhz3
thanks for the example. This works very well if you have background with one color. My problem is a smooth gradient background where you see the "cover actor" moving.
Maybe there is a way with tables, but every single letter in a different cell, in multiple languages?
Or is there a way with math and string operations?
Still open for any advice
Bernd
this comes close to my own question/suggestion of putting each letter in a cell.
Looks like this:
I
In
Ini
Initi
Initia
....
Initialize Tracker
The table idea could work with a timer each 0.3 sec. read a new cell, the timer control the speed of typewriting.
18 cells for this one
I have round about 14 sentences, each of around 20 characters. We talk about 280 tiny .png files per language (two at this time) 8-)
The animation for one language are ready and there is no lag and it runs on iPhone 3G with 50 Frames and 38 MB Memory.
The animation is time consuming, but looks lot better as the build in text.
I give this solution a try for one sentence.
There are no string expressions in the expression editor like a trim function, so this way is a dead end?
Thanks again for your advise.
Bernd
"This works very well if you have background with one color. My problem is a smooth gradient background where you see the "cover actor" moving.
It was just the method I was illustrating , you would of course need to adapt it to your particular project.
Here's the same thing in white type on an image / coloured / gradient background (which could be your gradient).
(Don't forget to turn your sound up, so you can hear the typewriter):
http://www.mediafire.com/?gtsj2c8jsoxjt1t
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
My decision is using the tables, because there many images for the animation (nearly 300 for one language) kills the loading time of the app. If I disable preloading images, than after choosing some option the framerate drops from 60 to 8fps on a iPhone 4.
The quality of the rendered text is not so brilliant, especially if I use courier as the font (need this font for a believable feeling on a in game monitor). The animated Text looks much better and I suggest the using of this for smaller animations. The advantage of tables are easy editing if a typo error comes around and easy adding new languages without putting more images to the app and prevent extending the loading time.
Thanks for all the advices again
Bernd