内容发布更新时间 : 2024/11/18 23:26:30星期一 下面是文章的全部内容请认真阅读。
Abstract
摘要
随着移动互联网的发展,智能手持设备越来越重要在我们的日常生活中,各种移动应用在智能手持设备和PAD平板电脑上应用。
移动游戏是消费者利用随身携带的智能移动终端设备能随时随地来进行的游戏。近年来,手机游戏市场得到了很大的发展,手机游戏已成为使用率最高的手机娱乐应用。Android是Google基于Linux平台的开源手机操作系统,是首个为移动终端打造的真正完整和开放的移动软件。随着Symbian系统的逐渐衰落,Android在手机世界里和iOS平分天下,是移动互联网时代最理想的手机软件平台。研究与开发Android平台手机游戏,成为一个非常有趣而又有发展的领域。
本文通过对Android系统架构和应用开发进行初步研究,设计一款连连看小游戏。在对系统进行详细需求分析的基础上,确定了系统的功能和性能要求,对游戏的菜单界面、屏幕绘制、时间控制、布局算法、连通算法、关卡设置、音效和动画进行了设计,并最终实现了一个界面友好、高效稳定和富有娱乐性的手机连连看益智小游戏。让人们在紧张的工作之余能够方便地放松心情。
关键词:Android;Java;手机;游戏;连连看
Abstract
Building Lianliankan
Abstract
With the mobile Internet anyway ,smart handheld devices are increasingly important inour daily life, a variety of mobile applications in the smart handheld device and the PADTablet PC applications.
The mobile game is the game which consumers use portable smart mobile devices anywhere, anytime to play. In recent years, the mobile gaming market has been developed greatly, mobile phone games have become the highest rates of mobile entertainment applications. Android is an open source mobile operating system of Google based on Linux platform. It is the first truly complete and open mobile software for mobile terminals. With the gradual decline of the Symbian OS, Android and iOS are splitting the world of mobile phone. It is the best mobile phone software platform for mobile Internet era. The research and development of the Android platform mobile phone game becomes a very interesting and development areas.
This paper through a preliminary study on the Android system architecture and application development, designed a small game called Lianliankan. Based on the detailed requests analysis of the system, it determined the functional and performance requirements of the system, then it design the game's menu interface, screen drawing, time control, the layout algorithm, connectivity algorithm, level set, sound and animation, finally it realized a mobile phone Lianliankan puzzle game which has friend interface, high efficiency and is stable and entertaining. Allow people to be able to relax after stressful work.
Key words: Android Java mobile Game Lianliankan
目录
目录
1 绪论 .................................................................................................................................. 1
1.1课题背景 ................................................................................................................ 1 1.2国内外研究现状 .................................................................................................... 2 1.3发展趋势 ................................................................................................................ 4 1.4课题研究意义 ........................................................................................................ 5 1.5论文结构安排 ........................................................................................................ 6 1.6本章小结 ................................................................................................................ 6 2 基础知识与开发技术 ...................................................................................................... 7
2.1 Android技术简介 .................................................................................................. 7
2.1.1 Android基本知识 ....................................................................................... 7 2.1.2 Android系统特点 ....................................................................................... 9 2.1.3 Android手机平台的优势 ......................................................................... 10 2.1.4 Android 手机游戏的市场价值 ................................................................ 11 2.2 Java技术简介 .............................................................................................. 12 2.3游戏使用技术 ...................................................................................................... 14
2.3.1主要技术问题 ........................................................................................... 14 2.4本章小结 .............................................................................................................. 15 3 系统分析与设计 ............................................................................................................ 16
3.1可行性分析 .......................................................................................................... 16
3.1.1操作可行性 ............................................................................................... 16 3.1.2技术可行性 ............................................................................................... 16 3.1.3经济可行性 ............................................................................................... 17 3.1.4社会可行性 ............................................................................................... 17 3.2功能需求分析 ...................................................................................................... 17 3.3系统基本流程 ...................................................................................................... 18
3.3.1 系统流程图 .............................................................................................. 18 3.3.2游戏详细过程流程图 ............................................................................... 19 3.4系统模块设计 ...................................................................................................... 20 3.5图形连通算法设计 .............................................................................................. 22 3.6系统风格定位 ...................................................................................................... 22 3.7本章小结 .............................................................................................................. 23 4 系统的设计与实现 ........................................................................................................ 24
4.1系统运行界面图 .................................................................................................. 24 4.2开发环境的搭建 .................................................................................................. 27 4.3单项功能的实现 .................................................................................................. 28
4.3.1消除图片动画实现: ............................................................................... 28