本科毕业设计(论文)
基于Unity3D多平台网络斗地主的设计与实现
学院名称: 计算机工程学院
专 业: 计算机科学与技术
班 级: 10工程W
学 号: 10141303
姓 名: 丁小未
指导教师姓名: 朱明放
指导教师职称: 副教授
二〇一四 年 五 月
基于Unity3D的多平台网络斗地主的设计与实现
摘 要:斗地主是一款非常经典的游戏,可以说是家喻户晓,玩法也比较的简单,娱乐性也比较强,老少皆宜。随着互联网技术的飞速发展,斗地主呈现的形式也变得多样性,由传统的纸牌游戏衍生为移动端单机游戏,然后到多人多平台的即时在线联网游戏。形式的变化能够让人足不出户也能感受到和伙伴们一起玩游戏的乐趣。
本设计的游戏规则是针对一副牌为准,本文论述了网络斗地主游戏的基本算法设计以及大体的设计框架和思路,并且以图文,部分核心代码解释的形式展示出来。本设计采用了Unity3D作为开发引擎,结合Visual studio 2010开发工具,通过基本的socket通讯和一些算法,最终实现了多平台的多人网络斗地主的设计。
本文基于Unity3D的游戏开发设计过程中,采用了MVC的设计模式,这也符合Unity3D工作模式;采用C#脚本语言也更符合Unity3D游戏设计面向对象的设计理念,游戏设计就是将面向对象这一特性发挥到极致;采用MONO开源跨平台框架能够大大节约游戏的开发效率以及开发成本,最后通过实际的完成效果来验证了基于Unity3D的多平台网络斗地主游戏设计具有高效性,高品质和低门槛性的特点。
关键词:Unity3D,斗地主,手机游戏,游戏引擎,socket,网络通讯,MVC,MONO
Design and implementation of multi-platform network Landlords Based Unity3D
Abstract: Landlords is a classic game, which can be said to be a household name. The rules are relatively simple, and kind of the entertainment is relatively strong. As a result, the game has gain popularity among both the young and the old. With the rapid development of Internet technology, the form of the game is of great diversity. The game derived from the traditional card game, then turned into the stand-alone mobile phone game, and now has become a multi -platform instant online multiplayer networked game. The changes in the game form make people who stay at home enjoying the fun of playing the game together.
The design of the rules is according to a deck of cards. The article discusses the basic network Landlords algorithm design and the general framework and ideas of the game. The game interprets itself successfully by the graphic form and the part of the core code. This design uses the Unity3D as a development engine. Besides, it combined with Visual studio 2010 development tools. Ultimately we finish the design of a multi -platform multiplayer online Landlords by some algorithms and the basic socket communication.
The article is based on the design process of Unity3D game development. The MVC design pattern is consistent with Unity3D mode, and C # scripting language is good for the design object-oriented design of Unity3D game. Object-oriented game design is supposed to make the best of the feature .Thejavascript游戏引擎 MONO open source framework can greatly reduce the efficiency of game development as well as development costs. Finally we validate the high efficiency, high- quality and low-threshold characteristics of the multi-platform network game which based on Landlords Unity3D by achieving the actual results.
Keywords:Unity3D, Landlords, mobile games, game engine, socket, network communications, MVC, MONO
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论