首页 移动开发 Android     /    Android俄罗斯方块简单源码

Android俄罗斯方块简单源码

上传者: qin_xiang_lin | 上传时间:2025/8/11 6:55:14 | 文件大小:11.35MB | 文件类型:zip
Android俄罗斯方块简单源码
直接可以跑,源码有超详细的注释。
玩着俄罗斯方块的的时候有背景歌曲。
【最好使用真机测试,不然可能会报错】简单代码如下,注释可谓详尽至极啊: Handlerm_handler=null;//负责接收消息 Timertimer=null;//负责发送消息 Datadata=null;//存放游戏的数据,即二维数组,并负责二维数组的运算 MediaPlayerm_MediaPlayer=null;//音乐播放器 GestureDetectorm_detector=null;//手势 SharedPreferencesm_sp=null;//用于存储最高分等 StringfileName="Data";//存放游戏一些数据,最高分、难度、音乐、触摸屏 finalStringHIGH_SCORE="highscore"; finalStringGAME_HARD="gamehard";//存放游戏难度 finalStringGAME_MUSIC="gamemusic";//游戏音乐 finalStringTOUCH_SCREEM="touchscreem";//触屏开关Android经典游戏源码,不容错误,代码详细,适合想要搞游戏开发的人进行学习 本软件ID:7982043

文件下载

资源详情

[{"title":"(91个子文件11.35MB)Android俄罗斯方块简单源码","children":[{"title":"源码说明.txt <span style='color:#111;'>928B</span>","children":null,"spread":false},{"title":"Tetris","children":[{"title":"AndroidManifest.xml <span style='color:#111;'>2.43KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"menu.xml <span style='color:#111;'>1.23KB</span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'>302B</span>","children":null,"spread":false},{"title":"setting.xml <span style='color:#111;'>1.92KB</span>","children":null,"spread":false},{"title":"gamerun.xml <span style='color:#111;'>3.03KB</span>","children":null,"spread":false}],"spread":true},{"title":"raw","children":[{"title":"music.mp3 <span style='color:#111;'>3.06MB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'>261B</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":null,"spread":false},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'>201B</span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'>332B</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"background.jpg <span style='color:#111;'>31.03KB</span>","children":null,"spread":false},{"title":"loading.jpg <span style='color:#111;'>54.64KB</span>","children":null,"spread":false},{"title":"menu.jpg <span style='color:#111;'>29.04KB</span>","children":null,"spread":false},{"title":"my_tetris.png <span style='color:#111;'>18.75KB</span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'>7.48KB</span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'>275B</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'>389B</span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'>221B</span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'>218B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>695B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"tetris","children":[{"title":"MainActivity.java <span style='color:#111;'>960B</span>","children":null,"spread":false},{"title":"GameView.java <span style='color:#111;'>2.04KB</span>","children":null,"spread":false},{"title":"ShapView.java <span style='color:#111;'>1.13KB</span>","children":null,"spread":false},{"title":"StateFang.java <span style='color:#111;'>3.15KB</span>","children":null,"spread":false},{"title":"GameActivity.java <span style='color:#111;'>10.19KB</span>","children":null,"spread":false},{"title":"MenuActivity.java <span style='color:#111;'>5.44KB</span>","children":null,"spread":false},{"title":"Data.java <span style='color:#111;'>4.16KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'>781B</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"tetris","children":[{"title":"GameActivity$11.class <span style='color:#111;'>1.29KB</span>","children":null,"spread":false},{"title":"GameActivity$5.class <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"GameActivity$6.class <span style='color:#111;'>755B</span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'>1.10KB</span>","children":null,"spread":false},{"title":"GameActivity$MyGestureDetector.class <span style='color:#111;'>1.52KB</span>","children":null,"spread":false},{"title":"GameActivity$9.class <span style='color:#111;'>1.12KB</span>","children":null,"spread":false},{"title":"ShapView.class <span style='color:#111;'>1.60KB</span>","children":null,"spread":false},{"title":"MenuActivity$4$1.class <span style='color:#111;'>820B</span>","children":null,"spread":false},{"title":"MenuActivity$2$2.class <span style='color:#111;'>820B</span>","children":null,"spread":false},{"title":"MenuActivity$3$1.class <span style='color:#111;'>1.76KB</span>","children":null,"spread":false},{"title":"GameView.class <span style='color:#111;'>2.17KB</span>","children":null,"spread":false},{"title":"MenuActivity$2.class <span style='color:#111;'>2.05KB</span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'>329B</span>","children":null,"spread":false},{"title":"GameActivity$8.class <span style='color:#111;'>756B</span>","children":null,"spread":false},{"title":"MenuActivity$4$2.class <span style='color:#111;'>960B</span>","children":null,"spread":false},{"title":"MenuActivity$2$1.class <span style='color:#111;'>1.35KB</span>","children":null,"spread":false},{"title":"StateFang.class <span style='color:#111;'>2.44KB</span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'>629B</span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'>1.17KB</span>","children":null,"spread":false},{"title":"GameActivity$2.class <span style='color:#111;'>820B</span>","children":null,"spread":false},{"title":"MenuActivity$1.class <span style='color:#111;'>1024B</span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'>460B</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>316B</span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'>407B</span>","children":null,"spread":false},{"title":"GameActivity$1.class <span style='color:#111;'>944B</span>","children":null,"spread":false},{"title":"Data.class <span style='color:#111;'>3.69KB</span>","children":null,"spread":false},{"title":"GameActivity$12.class <span style='color:#111;'>707B</span>","children":null,"spread":false},{"title":"GameActivity$7.class <span style='color:#111;'>1.09KB</span>","children":null,"spread":false},{"title":"MenuActivity$3.class <span style='color:#111;'>2.91KB</span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'>907B</span>","children":null,"spread":false},{"title":"GameActivity.class <span style='color:#111;'>6.82KB</span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'>448B</span>","children":null,"spread":false},{"title":"GameActivity$13.class <span style='color:#111;'>1.56KB</span>","children":null,"spread":false},{"title":"MenuActivity$4.class <span style='color:#111;'>1.76KB</span>","children":null,"spread":false},{"title":"GameActivity$10.class <span style='color:#111;'>757B</span>","children":null,"spread":false},{"title":"MenuActivity.class <span style='color:#111;'>2.50KB</span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'>364B</span>","children":null,"spread":false},{"title":"GameActivity$3.class <span style='color:#111;'>1.51KB</span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'>437B</span>","children":null,"spread":false},{"title":"MenuActivity$3$2.class <span style='color:#111;'>820B</span>","children":null,"spread":false},{"title":"GameActivity$4.class <span style='color:#111;'>777B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>509B</span>","children":null,"spread":false},{"title":"R$raw.class <span style='color:#111;'>362B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"NSDK-NEWIAD-SV=521&KV=621.apk-209be196e79297ac042d9a7c16f456eb.jar <span style='color:#111;'>400.31KB</span>","children":null,"spread":false},{"title":"android-support-v4-e51d6c852c058f4f224c86ebd4309838.jar <span style='color:#111;'>148.28KB</span>","children":null,"spread":false},{"title":"android-support-v4-a858dcd52186c7b221167218c5585a83.jar <span style='color:#111;'>148.28KB</span>","children":null,"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'>2.43KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-mdpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"my_tetris.png <span style='color:#111;'>9.07KB</span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'>5.82KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"drawable-xxhdpi","children":null,"spread":false}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'>120B</span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'>618.20KB</span>","children":null,"spread":false},{"title":"Tetris.apk <span style='color:#111;'>3.74MB</span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'>3.19MB</span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'>491B</span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'>563B</span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'>50.19KB</span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'>57B</span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>177B</span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"NSDK-NEWIAD-SV=521&KV=621.apk.jar <span style='color:#111;'>401.61KB</span>","children":null,"spread":false},{"title":"android-support-v4.jar <span style='color:#111;'>383.94KB</span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'>842B</span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"tetris","children":[{"title":"R.java <span style='color:#111;'>3.78KB</span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'>152B</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • qq_33491550:
    还行吧,适合新手2020-03-30
  • qq_33491550:
    还行吧,适合新手2020-03-30
  • qq_36289370:
    不错,很好的2018-12-27
  • qq_36289370:
    不错,很好的2018-12-27
  • qq_38193533:
    用不了。。2018-02-20
  • qq_38193533:
    用不了。。2018-02-20
  • zgmsh007:
    不错的资源,适合初学者使用2017-10-17
  • zgmsh007:
    不错的资源,适合初学者使用2017-10-17
  • cc__1996:
    哪位大神知不知道为什么我的运行闪退了?2016-08-27
  • Strange_CC:
    哪位大神知不知道为什么我的运行闪退了?2016-08-27

免责申明

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