SFML community forums
General => General discussions => Topic started by: TheDuceCat on September 30, 2012, 05:15:55 pm
-
Hey. I recently started playing Cortex Command http://www.datarealms.com/ (http://www.datarealms.com/). I really like the game, but I was wondering how they implemented that pixel terrain engine they have. Do any of you know how something like this could be implemented. I'm kind of confused on how it works.
-
If you want to know how they did it, go to their forum/IRC channel and asked there... ;)
Otherwise you could try to contact Naufr4g0 about the source for Tiny Bomber (http://en.sfml-dev.org/forums/index.php?topic=7707.msg51262).
And if none of these options worked, simply asked Google about 'destructible terrain 2D' or similar.
-
In Warmux there are destructible 2D terrains.
http://www.youtube.com/watch?v=X3ZkTg-QkAo
It's Free/Libre software, so just read the source code.