• 大小: 4.42MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-18
  • 语言: Java
  • 标签:

资源简介

用Android Studio软件进行开发,可以控制游戏人物跳跃和蹲下来躲过障碍,且可以保留历史最高分。

资源截图

代码片段和文件信息

package com.zys.ellio;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumented test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.zys.simpleandroidgdf“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         815  2018-04-20 15:11  EllioAndroid\.gitignore
     目录           0  2018-04-12 19:25  EllioAndroid\app\
     文件           8  2018-04-09 12:17  EllioAndroid\app\.gitignore
     文件         880  2018-04-09 12:17  EllioAndroid\app\build.gradle
     目录           0  2018-04-09 12:17  EllioAndroid\app\libs\
     文件         772  2018-04-09 12:17  EllioAndroid\app\proguard-rules.pro
     目录           0  2018-04-12 19:19  EllioAndroid\app\release\
     文件     3023126  2018-04-12 19:19  EllioAndroid\app\release\app-release.apk
     文件         234  2018-04-12 19:19  EllioAndroid\app\release\output.json
     目录           0  2018-04-09 12:17  EllioAndroid\app\src\
     目录           0  2018-04-09 12:17  EllioAndroid\app\src\androidTest\
     目录           0  2018-04-09 12:17  EllioAndroid\app\src\androidTest\java\
     目录           0  2018-04-09 12:17  EllioAndroid\app\src\androidTest\java\com\
     目录           0  2018-04-12 16:24  EllioAndroid\app\src\androidTest\java\com\zys\
     目录           0  2018-04-12 16:43  EllioAndroid\app\src\androidTest\java\com\zys\ellio\
     文件         747  2018-04-12 16:43  EllioAndroid\app\src\androidTest\java\com\zys\ellio\ExampleInstrumentedTest.java
     目录           0  2018-04-12 16:06  EllioAndroid\app\src\main\
     文件         896  2018-04-12 16:06  EllioAndroid\app\src\main\AndroidManifest.xml
     目录           0  2018-04-12 18:14  EllioAndroid\app\src\main\assets\
     文件     1679524  2014-07-25 18:08  EllioAndroid\app\src\main\assets\bgmusic.mp3
     文件        3299  2014-06-03 03:49  EllioAndroid\app\src\main\assets\block.png
     文件        1318  2014-06-03 03:49  EllioAndroid\app\src\main\assets\cloud1.png
     文件        1305  2014-06-03 03:49  EllioAndroid\app\src\main\assets\cloud2.png
     文件        8500  2014-06-03 03:52  EllioAndroid\app\src\main\assets\duck.png
     文件        3007  2014-06-03 03:49  EllioAndroid\app\src\main\assets\grass.png
     文件       19602  2014-06-03 03:49  EllioAndroid\app\src\main\assets\hit.wav
     文件        8875  2014-06-03 03:49  EllioAndroid\app\src\main\assets\jump.png
     文件       19554  2014-06-03 03:49  EllioAndroid\app\src\main\assets\onjump.wav
     文件        3892  2014-06-03 03:49  EllioAndroid\app\src\main\assets\run_anim1.png
     文件        3876  2014-06-03 03:49  EllioAndroid\app\src\main\assets\run_anim2.png
     文件        3760  2014-06-03 03:49  EllioAndroid\app\src\main\assets\run_anim3.png
............此处省略75个文件信息

评论

共有 条评论

相关资源