Search code examples
iosobjective-cparticle-system

how to display text in iOS as a fire using particle system


I am making a game wherein I need to show score text written with fire animation one letter at a time.

I am aware of the particle system in iOS but how do I plug it in to say an uttextview ? If anybody can provide some sample code it will be of great help.

I am currently looking at this tutorial.


Solution

  • You may use Core Text

    Using the core text you can draw the test one by one and can add fire effect as well.