Android项目源码一款单机贪吃蛇小游戏

上传者: 40850126 | 上传时间: 2019-12-21 21:42:06 | 文件大小: 234KB | 文件类型: rar
Android项目源码一款单机小游戏,本项目是一款单机版本贪吃蛇游戏源码,应该说这个游戏太强大了,是一款android上的手机游戏, 可以学习下Canvas的功能,很多游戏场景都是基于Canvas画出来的。本项目UI设计的也很炫,项目中代码层次分明,大部分方法都加了详细的注释。(项目采用GBK编码)。

文件下载

资源详情

[{"title":"( 97 个子文件 234KB ) Android项目源码一款单机贪吃蛇小游戏","children":[{"title":"贪吃蛇","children":[{"title":"贪吃蛇","children":[{"title":"proj_snake","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"proj_snake.apk <span style='color:#111;'> 15.51KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"fit","children":[{"title":"snake","children":[{"title":"MainActivity.class <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 379B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"Node.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"SnakeView.class <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"SnakeView$1.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"Snake.class <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 10.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 172B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 382B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"default.properties <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"fit","children":[{"title":"snake","children":[{"title":"R.java <span style='color:#111;'> 635B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"fit","children":[{"title":"snake","children":[{"title":"Snake.java <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"SnakeView.java <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"Node.java <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 870B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 679B </span>","children":null,"spread":false}],"spread":true},{"title":"MySnake","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 9.98KB </span>","children":null,"spread":false},{"title":"Mysnake.apk <span style='color:#111;'> 16.95KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"fit","children":[{"title":"android","children":[{"title":"game","children":[{"title":"GameView.class <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"GameView$1.class <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"MyActivity$1.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"Node.class <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"MyActivity$4.class <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 501B </span>","children":null,"spread":false},{"title":"MyActivity$3.class <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"MyActivity.class <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"Snake.class <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"MyActivity$2.class <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 10.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 382B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"default.properties <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"fit","children":[{"title":"android","children":[{"title":"game","children":[{"title":"R.java <span style='color:#111;'> 642B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 208B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"fit","children":[{"title":"android","children":[{"title":"game","children":[{"title":"Snake.java <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"GameView.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"Node.java <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 828B </span>","children":null,"spread":false},{"title":"MyActivity.java <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 684B </span>","children":null,"spread":false}],"spread":false},{"title":"proj_snakes","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 13.63KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"deaboway","children":[{"title":"snake","children":[{"title":"R$layout.class <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"SnakeView$RefreshHandler.class <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"SnakeView.class <span style='color:#111;'> 9.11KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"SnakeView$Coordinate.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"Snake.class <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"TileView.class <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"proj_snakes.apk <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 22.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"redstar.png <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"icon.png <span style='color:#111;'> 7.33KB </span>","children":null,"spread":false},{"title":"yellowstar.png <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"greenstar.png <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"attrs.xml <span style='color:#111;'> 172B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"snake_layout.xml <span style='color:#111;'> 860B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"default.properties <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"deaboway","children":[{"title":"snake","children":[{"title":"R.java <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"deaboway","children":[{"title":"snake","children":[{"title":"Snake.java <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"SnakeView.java <span style='color:#111;'> 17.46KB </span>","children":null,"spread":false},{"title":"TileView.java <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 677B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明