随着数字化信息技术的普及,基于安卓的儿童游戏已经成为儿童教育的一种新的方式.以JAVA编程语言为基础,采用Eclipse、Android Studio作为前台开发工具,使用SQLite作为数据库开发工具,实现了基于Android系统的儿童蚂蚁迷宫游戏.游戏采用边缘检测算法用于判断蚂蚁是否超出屏幕边界,使用碰撞检测判定算法用于获得碰撞场景中所有可能的碰撞.游戏系统实现了游戏关卡选择设置、游戏音乐选择设置、游戏得分系统设置、游戏难度设计设置等主要功能,系统设计思路分明,游戏画面流畅,对开发儿童智商具有良好效果.%With the spread of digital information technology , the children′s game which based on Android has become a new way for children′s education .The paper selected Eclipse and Android Studio as the foreground development tool , and used SQLite as a database development tool .It also chose the implementation language of JAVA, and realized the development of children′s game which is based on Android operating system .The game uses edge detection algorithm to determine whether the ant exceeds the screen boundary , The collision detection algorithm is used to obtain all possible collisions in the collision scenario .The main function of the system in-clude the choice of game levels , game music module , scoring system , game difficulty design module and the oth-er design idea of the whole system to make the design of the system clear .Finally, the system is ported to An-droid phones and optimized for different resolution Android phones .The game functions are implemented , and the game goes smooth .It has a good effect on developing children′s intelligence .
展开▼