Android 贪吃蛇(完整工程+注释+改进)触屏可以体验

上传者: ruan_xiao | 上传时间: 2019-12-21 21:01:00 | 文件大小: 94KB | 文件类型: rar
前很久就看到贪吃蛇这个游戏。但是google给的例子还是2.2时候的例子。并且还用着模拟器上的方向键来控制。对整个工程进行了梳理。并改进成触屏可以玩的。可以参考博客:http://blog.csdn.net/ruan_xiao/article/details/7844670

文件下载

资源详情

[{"title":"( 47 个子文件 94KB ) Android 贪吃蛇(完整工程+注释+改进)触屏可以体验","children":[{"title":"Snake","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 15.87KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"redstar.png <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"right.png <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"bottom.png <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"yellowstar.png <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"greenstar.png <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"top.png <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"left.png <span style='color:#111;'> 227B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":null,"spread":false}],"spread":true},{"title":"Snake.apk <span style='color:#111;'> 21.31KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"android","children":[{"title":"snake","children":[{"title":"BuildConfig.class <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"SnakeView$RefreshHandler.class <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"SnakeView.class <span style='color:#111;'> 10.17KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 617B </span>","children":null,"spread":false},{"title":"SnakeView$Coordinate.class <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"Snake.class <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"TileView.class <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 10.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"redstar.png <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"right.png <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"bottom.png <span style='color:#111;'> 431B </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},{"title":"top.png <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"left.png <span style='color:#111;'> 452B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"drawable","children":null,"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"attrs.xml <span style='color:#111;'> 808B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":null,"spread":false},{"title":"layout","children":[{"title":"snake_layout.xml <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"android","children":[{"title":"snake","children":[{"title":"BuildConfig.java <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"tests","children":[{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"android","children":[{"title":"snake","children":[{"title":"SnakeTest.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"build.properties <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"android","children":[{"title":"snake","children":[{"title":"Snake.java <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"SnakeView.java <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false},{"title":"TileView.java <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • zhangzhiqiang0 :
    谢谢你,非常非常感谢。
    2019-05-05
  • zhangzhiqiang0 :
    谢谢你,非常非常感谢。
    2019-05-05
  • haowenjun1856 :
    可以,很好用
    2018-10-08
  • haowenjun1856 :
    可以,很好用
    2018-10-08
  • weixin_38660965 :
    可以用,谢谢
    2018-07-12
  • weixin_38660965 :
    可以用,谢谢
    2018-07-12
  • qq_21370143 :
    可用资源,学习了,感谢分享
    2018-06-18
  • qq_21370143 :
    可用资源,学习了,感谢分享
    2018-06-18
  • qq_37032076 :
    可以,谢谢资源。
    2018-05-08
  • qq_37032076 :
    可以,谢谢资源。
    2018-05-08

免责申明

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