Hey guys,
I have two questions, which I think, probably need a similiar approach.
I want to know how can I achieve an effect like this:
where after a really fast movement of the player, “duplicates” of the sprite appear, which get more transparent the further they are away from the hero.
Is there a script or tutorial out there which explains this?
I was thinking that maybe it is possible to save the heros position in a certain rythm (every 0.1 seconds for example), and then show duplicates of the sprite at these positions in different transparency levels.
But how can I do that?
Another question would be:
A replay function, as for example like Super Meat Boy, where at the end of the level, the game plays back with all previous deaths at the same time.
like this:
Again, a possible explanation for this would be saving the positions of the hero at runtime, probably even at every frame.
But wouldnt this be a bit too heavy for a mobile device, saving the heros position at every frame?
Is there something I miss. Or is there an asset which explains this?
I would be really thankful for any help on this topic
Thanks