What is the simplest way to make the cards trail? (SOLVED)

Hmm, I was thinking it would be easier to use a particle effect (with a very long life time), but they draw in the opposite order of what you want.

https://i.imgur.com/LXRLXU4.gif

So here’s a quick little demo project doing it with a render target that you don’t clear. I copied most of the render script from another project, so it has a bunch of extra stuff in there to refresh the render target if you change the window size (which won’t work for your purpose), but hopefully it gives you the general idea.

Render Target Cards.zip (42.6 KB)

cards_RT

A bunch of the render target code I originally got from of this thread: Draw render target to screen (SOLVED) - #6 by d954mas

10 Likes