基于Android中国象棋游戏游戏的开发

黑饼干
---------------------------------------------------------------范文最新推荐------------------------------------------------------ 基于Android中国象棋游戏游戏的开
灌粉机
摘要:随着生活节奏的加快与智能手机的发展,人们对于在智能手机上进行娱乐的机会越来越多,这在一定程度上推动了手机游戏的发展。在这些游戏中,类游戏一直受到人们的喜爱。这次设计的是一款基于Android平台的中国象棋游戏,游戏设定为人机对弈,操作方式采用屏幕触摸操控棋子和界面。采用了Android手机中的2D呈现技术,使界面美观。游戏的架构设计成4类,分别是公共类,通过扩展activity 实现对游戏的控制;辅助界面类,即欢迎界面,采用渐变实现动画的效果;游戏界面类,游戏界面的实现类,绘制游戏场景中的物体;走法引擎类,定义走棋规则和计算走棋。游戏操作一共5个功能,开始游戏,暂停游戏,重新开始游戏,声音的开关和悔棋功能,上手十分简单。7453
关键词:智能手机;Android;游戏;中国象棋
1 / 26
The Development Of mobile Casual Games On Android Platform
Abstract: With the speeding up of the pace of life and the development of smart phones, opportunity m
ore and more that people use smart phones to entertainment, this to a certain extent, promote the development of the mobile phone games. In these games, board games have been popular with people. This design is a based on Android platform of Chinese chess game, the game is set a man-machine game, operating mode adopts touch screen control piece and the interface. Using the 2D rendering technology in Android phones, let interface aesthetics. Game architecture design into 4 classes, respectively is a public class, achieve control of the game by extending the activity; secondary interface classes, that is, the welcome screen, animation is realized by using the gradient effect; game interface, the interface implementation class, drawing game objects in the scene; games engine classes, define the rules of playing chess and computing moves. Game operating a total of five function, start the game, suspended
---------------------------------------------------------------范文最新推荐------------------------------------------------------
game, to start the game, the voice of the switch and retract a false move in a chess game function, it is very simple.
2.8.2不受束缚15
真空注型机
2.8.3丰富的硬件15
2.8.4方便开发15
3Android的开发环境16
3.1ECLIPSE16
3.2安装前的准备工作17
3.2.1JDK下载17
二维码支付3.2.2Eclipse下载17
3 / 26
3.2.3Android SDK下载18
3.3搭建开发环境18
3.4配臵AVD19
4程序的设计22
4.1象棋22
4.1.1棋盘22
4.1.2棋子22
4.1.3棋子走法22
4.1.4吃子26
4.1.5将军、应将、将死、困毙26 4.2胜负判定方法26
---------------------------------------------------------------范文最新推荐------------------------------------------------------ 5功能设计与实现28
5.1游戏的架构28
5.1.1公共类29
5.1.2辅助界面类29
5.1.3游戏界面相关类29
5.1.4走法引擎类29
5.2走法引擎29
5.3游戏模拟运行32
磁悬浮支架图片5.4改进和优化34
结论35
致谢36绿隔热玻璃
5 / 26

本文发布于:2024-09-21 20:37:54,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/1/160654.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:游戏   界面   采用   智能手机   实现   走棋
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议