蠕虫风格破坏地形 [英] Worms style destructible terrain

查看:212
本文介绍了蠕虫风格破坏地形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想原型游戏我有一个想法。这个游戏的想法是,玩家将通过地面挖掘,创造隧道和寻找宝藏。

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 to create 'worms style' terrain, with collision detection for the player wandering and jumping around the tunnels. Examples of this type of dynamic terrain can be seen in these pictures.

我的问题是如何是最好的方式实现这种破坏的地形?我使用XNA游戏工作室。

My question is how is the best way to implement this type of destructible terrain? I am using XNA game studio.

谢谢,
詹姆斯。

Thanks, James.

推荐答案

有在这个线程的底部有些漂亮的代码。此外,是。一个伟大的一步一步的教程上实现破坏地形

There's some nice code at the bottom of the this thread. Also, this is a great step-by-step tutorial on achieving a destructible terrain.

编辑 - 原始链接的第二个教程被打破,所以我联系到一个存档版本它。

EDIT - The original link for the second tutorial was broken, so I've linked to an archived version of it.

这篇关于蠕虫风格破坏地形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆