How to implement a Worms style destructible terrain in XNA?

前端 未结 4 711
轮回少年
轮回少年 2021-01-30 18:16

I want to prototype an idea for a game I have. The idea for this game is that the player will dig through the ground, creating tunnels and finding treasure.

I\'m looking

4条回答
  •  [愿得一人]
    2021-01-30 19:05

    Riemer has a similar approach to a game he developed in XNA, cannon shells cause the terrain to be "destroyed" and any props that were previously on said terrain are moved accordingly.

    It needs to be refactored and improved for your needs but it's a start.

    Riemer has a good selection of tutorials for other things too.

    http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2D/Adding_craters.php

提交回复
热议问题