找回密码
 立即注册
the代码codestudents | Unity3D 2022-11-13 95 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
这是个Android塔防游戏,Eclipse项目。首要声明自己是学生,不以赚豆为目的,仅仅教师要我们写的,就放到网上了,目的是帮同学们在敷衍教师这种写项目的工作的时候,可以学习怎样些游戏。当然本游戏是可以玩的,界面也算手机塔防游戏里边很炫的。这个项目从4月28号开始写,现在仍然在写的过程中,所以存在很多问题,优化也没做的很好,很多
特效,每关卡设计都是相同的,由于仅仅测试,我们组同学的数据设计和资料没跟上,音效现在只要背景音乐,所以会后续更新。然后代码中很多注释,值得说一下的是类的成员变量定义绝大部分用的public属性,这是写代码的忌讳,不过为了求方便就这样做了,代码框架也很乱,其中部分函数由于在构思的时候写上去了,后来又没用,就没删。里边涉及到线程的是用,和容器,特别是要命的线程安全等问题,从前由于NULLPOINTER_exception纠结了好多天。最后,QQ是2446777141,由于代码2个星期后要交,所以到时一定会优化,注释也会完整,代码也会标准,想要的同学或许想一同讨论的同学可以q我。本资料共包括以下附件:

(This is an Android tower defense game, an Eclipse project. First of all, declare that they are students, not for the purpose of earning beans. Just what the teacher asked us to write, they put it on the Internet, so as to help students learn how to play games when they are perfunctory with the teacher's work of writing projects. Of course, this game can be played, and the interface is also very cool in the mobile phone tower defense game. This project has been written since April 28. It is still in the process of writing, so there are many problems. The optimization has not been done well
For special effects, the design of each level is the same. Because only testing, the data design and information of our group of students did not keep up. Now the sound effect only needs background music, so it will be updated later. Then there are many comments in the code. It is worth mentioning that most of the member variable definitions of the class use the public attribute, which is a taboo for writing code. However, this is done for convenience, and the code framework is also very messy. Some of the functions were written when they were conceived, but later they were useless, so they were not deleted. It involves thread usage and containers, especially critical thread safety. Previously, NULLPOINTER_ The exception has been tangled for many days. Finally, the QQ number is 2446777141. Since the code will be handed in in two weeks, it will be optimized, the comments will be complete, and the code will be standard. Students who want to discuss the code may ask me. This document includes the following annexes:)

[下载]10065533814.rar




上一篇:2048安卓游戏源码(来自Github)
下一篇:【分享】Android3D引擎+国外的3D竞赛类游戏Alien+Runner源码