APP下载

基于unity3D的塔防游戏开发

2018-12-13仲晓庆蔡朝晖

科技创新与应用 2018年29期

仲晓庆 蔡朝晖

摘 要:塔防游戏作为一个在休闲游戏爱好人群中经久不衰的玩法类别,凭借多样的玩法与超高的游戏体验始终保有相当数量的忠实玩家。文章根据游戏的开发思路,使用unity3D引擎开发了一款塔防游戏。本游戏主要分为三个模块,一是系统设置,包括游戏的各种设置,二是防御塔的功能设计,包括对防御塔的操作以及防御塔的攻击,三是敌人的功能设计,包括敌人的各种行为设计。结果表明敌人与防御塔的属性设置很合理,游戏体验良好。

关键词:unity3D;塔防;游戏开发

中图分类号:TP391 文献标志码:A 文章编号:2095-2945(2018)29-0014-03

Abstract: Due to its variety of playing methods and the super experience, the tower defense game, as an unduring playing class in the leisure game lover groups, has been always retaining a considerable number of loyal players. According to game concept, a tower defense game, which is based on C#, is designed and realized in this paper. This game system mainly consists of three modules. The first one is system settings, including the various settings of the game. The second one is the function design of the defense tower, including the operation and attack of the defense tower. The third part is the function design of the enemy, including the various behaviors designs of enemies. The result shows that the properties of enemies and towers are reasonable and the game experience is great.

Keywords: unity3D; tower defence; game development

引言

近年来,迅速发展的手机游戏、网页游戏和PC游戏已经成为游戏行业主流。随着玩家对游戏的沉浸感和体验感的要求逐渐增加,3D游戏成了当前游戏发展的主要热点[1]。unity3D游戏引擎为开发者提供了创建高质量3D游戏和真实视觉效果的核心技术,为3D游戏的开发提供了强大的推动力[2]。

塔防,炮塔防御(Tower Defence,TD)的简称。作为一个经典的休闲游戏类别,塔防游戏从来没有过成为真正的主流游戏,但却始终都保有相当数量的忠实玩家,塔防游戏从产生到现在20余年,用不温不火来形容完全不为过。不过,随着现在整个游戏行业在玩法上的细化与创新,塔防类游戏也迎来了又一个春天,一些玩法和类别更多样的塔防游戏开始问世——如手游市场上的《保卫萝卜》,客户端网游领域的《植物大战僵尸》等等。而塔防这一经典的游戏玩法类型或许将在这一趋势当中迎来前所未有的发展机遇。……

登录APP查看全文