On Wednesday, 25 February 2015 at 22:25:35 UTC, Kingsley wrote:
I have been googling but not found a nice answer. I want to
make an explosion from a list of 20 images. sfml doesn't seem
to have very good support for doing that kind of thing. I have
seen an external thing called thor - but I guess I'd have to
port that to D - maybe a bit beyond my skills at the moment.
If anyone has an example of creating an explosion from images
using dsfml please post it so I can learn :) :)
It can help: http://pastebin.com/tJxLvKm8
(from "SFML Game Development" book, Chapter 8: Every Pixel Counts
– Adding Visual Effects, Animated sprites)
It's C++, but I think it is easy for porting to D