找回密码
 立即注册
android开发 2022-11-07 51 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Android版植物大战僵尸源文件,内含技术文档,说明晰实现细节。各个包的说明:com.tarena.monster首要是关于游戏过程控制包com.tarena.monster.actor首要存放一切人物(精灵)初始化的类com.tarena.monster.engine游戏引擎,模板类,游戏中一切的类都是承继这个包中类com.tarena.monster.script游戏脚本类,关于响应时刻时刻和用户点击界面响应;com.tarena.monster.util游戏工具类,记录各种算法,游戏参数com.tarena.monster.otheractor特殊的人物(精灵)com.tarena.monster.otherscript特殊的游戏脚本com.tarena.monster游戏控制过程类包,游戏过程控制Main类主Activity定义了很多boolean值用来开关游戏中各种过程;定义了多个Handle关于其他类改动Main的游戏阶段。(载入阶段)(种子库设置阶段)(游戏正式开始)至代码段109~272传递用户响应事件给一切人物(精灵)至代码段139~158以及游戏主频线程时刻事件发送人物至代码段274~360MonsterScene剧本类读取文本文件,断定怪物进场次序。还有更多说明请下载后文档。

(The Android version of the Bot vs. Zombie source file contains technical documents that clarify implementation details. Description of each package: com.tarena.master is mainly about the game process control package com.tarena.master. actor, which mainly stores the com.tarena.master. engine game engine and template class initialized by all characters (genies). All the classes in the game are inherited from the com.tarena.master. script game script class in this package, and about the response time, moment and user click interface response; Com.tarena.menster.util game tool class, recording various algorithms, game parameters com.tarena.menster.otheractor special characters (genie) com.tarena.menster.otherscript special game script com.tarena monster game control process class package. The Main Activity of the game process control class defines many boolean values to switch various processes in the game; Multiple Handles are defined to change the game stage of Main for other classes. (Loading stage) (seed bank setting stage) (the game officially starts) to code segment 109~272 to transfer user response events to all characters (sprites) to code segment 139~158, and to send characters to code segment 274~360 MonsterScene script class to read the text file, and determine the entry order of monsters. For more instructions, please download the following document.)

[下载]12002431874.rar




上一篇:Android手机中的仿QQ聊天软件,基于Java代码
下一篇:Fireworks烟花特效-Android源码版