├── AndroidStudio
├── app
│ ├── .gitignore
│ ├── src
│ │ ├── main
│ │ │ ├── res
│ │ │ │ ├── values
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ ├── colors.xml
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ │ ├── ic_launcher.xml
│ │ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── xml
│ │ │ │ │ └── wallpaper.xml
│ │ │ │ ├── drawable-v24
│ │ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ └── drawable
│ │ │ │ │ └── ic_launcher_background.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── wallpaper
│ │ │ │ │ ├── SimpleWallpaperActivity.java
│ │ │ │ │ └── SimpleWallpaperService.java
│ │ │ └── AndroidManifest.xml
│ │ ├── test
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── wallpaper
│ │ │ │ └── ExampleUnitTest.java
│ │ └── androidTest
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── wallpaper
│ │ │ └── ExampleInstrumentedTest.java
│ ├── proguard-rules.pro
│ ├── build.gradle
│ └── app.iml
├── settings.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── README.md
├── local.properties
├── build.gradle
├── Wallpaper.iml
├── gradle.properties
├── gradlew.bat
└── gradlew
├── LibGDX
├── settings.gradle
├── gradle.properties
├── android
│ ├── libs
│ │ ├── x86
│ │ │ └── libgdx.so
│ │ ├── armeabi
│ │ │ └── libgdx.so
│ │ └── armeabi-v7a
│ │ │ └── libgdx.so
│ ├── assets
│ │ └── badlogic.jpg
│ ├── ic_launcher-web.png
│ ├── res
│ │ ├── drawable-hdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ │ └── ic_launcher.png
│ │ ├── values
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── xml
│ │ │ └── wallpaper.xml
│ ├── src
│ │ └── com
│ │ │ └── mygdx
│ │ │ └── game
│ │ │ └── android
│ │ │ ├── AndroidLauncher.java
│ │ │ └── Service.java
│ ├── project.properties
│ ├── proguard-project.txt
│ ├── AndroidManifest.xml
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── README.md
├── core
│ ├── build.gradle
│ └── src
│ │ └── com
│ │ └── mygdx
│ │ └── game
│ │ ├── MyGdxGame.java
│ │ └── LiveWallpaperScreen.java
├── local.properties
├── desktop
│ ├── src
│ │ └── com
│ │ │ └── mygdx
│ │ │ └── game
│ │ │ └── desktop
│ │ │ └── DesktopLauncher.java
│ └── build.gradle
├── test.iml
├── build.gradle
├── gradlew.bat
└── gradlew
├── Unity
├── Android Live Wallpaper
│ ├── ProjectSettings
│ │ ├── ProjectVersion.txt
│ │ ├── ClusterInputManager.asset
│ │ ├── NetworkManager.asset
│ │ ├── EditorBuildSettings.asset
│ │ ├── TimeManager.asset
│ │ ├── VFXManager.asset
│ │ ├── AudioManager.asset
│ │ ├── TagManager.asset
│ │ ├── EditorSettings.asset
│ │ ├── PresetManager.asset
│ │ ├── UnityConnectSettings.asset
│ │ ├── DynamicsManager.asset
│ │ ├── Physics2DSettings.asset
│ │ ├── NavMeshAreas.asset
│ │ ├── GraphicsSettings.asset
│ │ ├── QualitySettings.asset
│ │ ├── InputManager.asset
│ │ └── ProjectSettings.asset
│ ├── Assets
│ │ ├── Plugins
│ │ │ ├── Android
│ │ │ │ ├── res
│ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ ├── app_icon.png
│ │ │ │ │ │ ├── ic_launcher_background.png
│ │ │ │ │ │ ├── ic_launcher_foreground.png
│ │ │ │ │ │ ├── app_icon.png.meta
│ │ │ │ │ │ ├── ic_launcher_background.png.meta
│ │ │ │ │ │ └── ic_launcher_foreground.png.meta
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ ├── app_banner.png
│ │ │ │ │ │ └── app_banner.png.meta
│ │ │ │ │ ├── values-v21
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── styles.xml.meta
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml.meta
│ │ │ │ │ │ ├── styles.xml.meta
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── xml.meta
│ │ │ │ │ ├── xml
│ │ │ │ │ │ ├── simplewallpaper.xml.meta
│ │ │ │ │ │ └── simplewallpaper.xml
│ │ │ │ │ ├── values.meta
│ │ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ │ │ ├── app_icon.xml.meta
│ │ │ │ │ │ ├── app_icon_round.xml.meta
│ │ │ │ │ │ ├── app_icon.xml
│ │ │ │ │ │ └── app_icon_round.xml
│ │ │ │ │ ├── mipmap-mdpi.meta
│ │ │ │ │ ├── values-v21.meta
│ │ │ │ │ ├── drawable-xhdpi.meta
│ │ │ │ │ └── mipmap-anydpi-v26.meta
│ │ │ │ ├── AndroidManifest.xml.meta
│ │ │ │ ├── res.meta
│ │ │ │ ├── SimpleWallpaperService.java.meta
│ │ │ │ ├── UnityPlayerActivity.java.meta
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ ├── UnityPlayerActivity.java
│ │ │ │ └── SimpleWallpaperService.java
│ │ │ └── Android.meta
│ │ ├── Scenes
│ │ │ ├── SampleScene.unity.meta
│ │ │ └── SampleScene.unity
│ │ ├── Plugins.meta
│ │ └── Scenes.meta
│ ├── .gitignore
│ └── Packages
│ │ └── manifest.json
└── README.md
├── .gitignore
├── README.md
└── LICENSE
/AndroidStudio/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/LibGDX/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'desktop', 'android', 'core'
--------------------------------------------------------------------------------
/AndroidStudio/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 | rootProject.name='Wallpaper'
3 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2018.4.31f1
2 |
--------------------------------------------------------------------------------
/LibGDX/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.daemon=true
2 | org.gradle.jvmargs=-Xms128m -Xmx512m
3 | org.gradle.configureondemand=true
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Wallpaper
3 |
4 |
--------------------------------------------------------------------------------
/LibGDX/android/libs/x86/libgdx.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/libs/x86/libgdx.so
--------------------------------------------------------------------------------
/LibGDX/android/assets/badlogic.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/assets/badlogic.jpg
--------------------------------------------------------------------------------
/LibGDX/android/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/ic_launcher-web.png
--------------------------------------------------------------------------------
/LibGDX/android/libs/armeabi/libgdx.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/libs/armeabi/libgdx.so
--------------------------------------------------------------------------------
/LibGDX/android/libs/armeabi-v7a/libgdx.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/libs/armeabi-v7a/libgdx.so
--------------------------------------------------------------------------------
/LibGDX/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/AndroidStudio/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/LibGDX/android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LibGDX/android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LibGDX/android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LibGDX/android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/LibGDX/android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LibGDX/android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | my-gdx-game
5 |
6 |
7 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/AndroidStudio/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/app_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/app_icon.png
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/drawable-xhdpi/app_banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/drawable-xhdpi/app_banner.png
--------------------------------------------------------------------------------
/AndroidStudio/README.md:
--------------------------------------------------------------------------------
1 | This is live wallpaper template project for Android Studio.
2 |
3 | Just open it by selecting following in menu bar:
4 | File -> Open -> Path to CreatingLiveWallpapers/AndroidStudio
5 |
6 | Then, you're ready to go!
7 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Scenes/SampleScene.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8527d239e8dde6d4aa57c9576179b0ee
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!149 &1
4 | NetworkManager:
5 | m_ObjectHideFlags: 0
6 | m_DebugLevel: 0
7 | m_Sendrate: 15
8 | m_AssetToPrefab: {}
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 333214298bbfabb4da619e1cb6d90458
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Scenes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 84fc6bf41c6b84340ac246483f5b7a25
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bd6804599881dd04db1a258141b7f0e3
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/AndroidManifest.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bae8afb9816661448a83b9beb6e3a11c
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbeef/CreatingAndroidLiveWallpapers/HEAD/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values/strings.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7f1eba929c3029f43aa040b8cea051ef
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values/styles.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 75a09987b88ab94499205671c7098088
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes: []
8 | m_configObjects: {}
9 |
--------------------------------------------------------------------------------
/Unity/README.md:
--------------------------------------------------------------------------------
1 | This is live wallpaper template project for Unity.
2 |
3 | Just open it by selecting following in menu bar: File -> Open Project -> Open -> Path to CreatingLiveWallpapers/Unity/Android Live Wallpaper
4 |
5 | Then, you're ready to go!
6 |
--------------------------------------------------------------------------------
/LibGDX/README.md:
--------------------------------------------------------------------------------
1 | This is live wallpaper template project for LibGDX.
2 |
3 | Just open it (with either IntelliJ or Android Studio) by selecting following in menu bar:
4 | File -> Open -> Path to CreatingLiveWallpapers/LibGDX
5 |
6 | Then, you're ready to go!
7 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 22a398b1d754bdd469c069862df76446
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/app_icon.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 673535aa065fa5f409e677ead94a3a29
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values-v21/styles.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ceceec6bbbc10724293ab526821015b7
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 68f7ee6dbcf7ef843830847e8732a5ed
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/xml/simplewallpaper.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3e7ce235eda014f41be5c22809d22af2
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/drawable-xhdpi/app_banner.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b1391802901fe524aa3b7cfbb78496ac
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e494aee77da2e3449acf7eb282151556
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Live Wallpaper
4 | Game view
5 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-anydpi-v26/app_icon.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d5078622b1716ab4890b1ce1e91b4f5d
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 781ea889c2c132244a11e76b23f58e0e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values-v21.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 40e38dfa7a110594597b17cb61a6e7f2
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #008577
4 | #00574B
5 | #D81B60
6 |
7 |
--------------------------------------------------------------------------------
/LibGDX/core/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "java"
2 |
3 | sourceCompatibility = 1.6
4 | [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
5 |
6 | sourceSets.main.java.srcDirs = [ "src/" ]
7 |
8 |
9 | eclipse.project {
10 | name = appName + "-core"
11 | }
12 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/drawable-xhdpi.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d3d384a213a172a4e86c5f72503b6fa6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-anydpi-v26.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4aa2eb121d1bc6c4e85b507f09dec650
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-anydpi-v26/app_icon_round.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 15cacf0e7f36cbc4ebb68be3ebd39186
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/ic_launcher_background.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a76884969bd89df45a297f1a02af3602
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-mdpi/ic_launcher_foreground.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 512207e059630ce4a8b24f1a58e438a3
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | AndroidStudio/.idea
2 | AndroidStudio/.gradle
3 | AndroidStudio/app/build
4 |
5 | LibGDX/.idea
6 | LibGDX/.gradle
7 | LibGDX/desktop/build
8 | LibGDX/android/build
9 | LibGDX/core/build
10 |
11 | *.iml
12 |
13 | # Unity's .gitignore is in respective subdirectory.
14 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.1
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/AndroidStudio/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Sep 22 09:15:20 CEST 2019
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
7 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/LibGDX/android/res/xml/wallpaper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-anydpi-v26/app_icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/xml/wallpaper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/mipmap-anydpi-v26/app_icon_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/LibGDX/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sat Sep 21 13:08:26 CEST 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | #distributionUrl=http\://services.gradle.org/distributions/gradle-4.1-all.zip
7 |
8 | distributionUrl=http\://services.gradle.org/distributions/gradle-4.7-all.zip
9 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_RenderPipeSettingsPath:
10 | m_FixedTimeStep: 0.016666668
11 | m_MaxDeltaTime: 0.05
12 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/xml/simplewallpaper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/java/com/example/wallpaper/SimpleWallpaperActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.wallpaper;
2 |
3 | import android.app.Activity;
4 | import android.os.Bundle;
5 |
6 | public class SimpleWallpaperActivity extends Activity {
7 | @Override
8 | protected void onCreate(Bundle savedInstanceState) {
9 | super.onCreate(savedInstanceState);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/LibGDX/local.properties:
--------------------------------------------------------------------------------
1 | ## This file must *NOT* be checked into Version Control Systems,
2 | # as it contains information specific to your local configuration.
3 | #
4 | # Location of the SDK. This is only used by Gradle.
5 | # For customization when using a Version Control System, please read the
6 | # header note.
7 | #Sun Sep 22 20:42:58 CEST 2019
8 | sdk.dir=C\:\\Users\\dbeef\\AppData\\Local\\Android\\Sdk
9 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LibGDX/core/src/com/mygdx/game/MyGdxGame.java:
--------------------------------------------------------------------------------
1 | package com.mygdx.game;
2 |
3 | import com.badlogic.gdx.ApplicationAdapter;
4 | import com.badlogic.gdx.Game;
5 | import com.badlogic.gdx.Gdx;
6 | import com.badlogic.gdx.graphics.GL20;
7 | import com.badlogic.gdx.graphics.Texture;
8 | import com.badlogic.gdx.graphics.g2d.SpriteBatch;
9 |
10 | public class MyGdxGame extends Game {
11 | @Override
12 | public void create () {
13 | setScreen(new LiveWallpaperScreen(this));
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | m_Volume: 1
7 | Rolloff Scale: 1
8 | Doppler Factor: 1
9 | Default Speaker Mode: 2
10 | m_SampleRate: 0
11 | m_DSPBufferSize: 1024
12 | m_VirtualVoiceCount: 512
13 | m_RealVoiceCount: 32
14 | m_SpatializerPlugin:
15 | m_AmbisonicDecoderPlugin:
16 | m_DisableAudio: 0
17 | m_VirtualizeEffects: 1
18 |
--------------------------------------------------------------------------------
/LibGDX/desktop/src/com/mygdx/game/desktop/DesktopLauncher.java:
--------------------------------------------------------------------------------
1 | package com.mygdx.game.desktop;
2 |
3 | import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
4 | import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
5 | import com.mygdx.game.MyGdxGame;
6 |
7 | public class DesktopLauncher {
8 | public static void main (String[] arg) {
9 | LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
10 | new LwjglApplication(new MyGdxGame(), config);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/AndroidStudio/local.properties:
--------------------------------------------------------------------------------
1 | ## This file is automatically generated by Android Studio.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file should *NOT* be checked into Version Control Systems,
5 | # as it contains information specific to your local configuration.
6 | #
7 | # Location of the SDK. This is only used by Gradle.
8 | # For customization when using a Version Control System, please read the
9 | # header note.
10 | sdk.dir=C\:\\Users\\dbeef\\AppData\\Local\\Android\\Sdk
11 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/test/java/com/example/wallpaper/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.example.wallpaper;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/LibGDX/android/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
8 |
12 |
13 |
--------------------------------------------------------------------------------
/LibGDX/android/src/com/mygdx/game/android/AndroidLauncher.java:
--------------------------------------------------------------------------------
1 | package com.mygdx.game.android;
2 |
3 | import android.os.Bundle;
4 |
5 | import com.badlogic.gdx.backends.android.AndroidApplication;
6 | import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
7 | import com.mygdx.game.MyGdxGame;
8 |
9 | public class AndroidLauncher extends AndroidApplication {
10 | @Override
11 | protected void onCreate (Bundle savedInstanceState) {
12 | super.onCreate(savedInstanceState);
13 | AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
14 | initialize(new MyGdxGame(), config);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/LibGDX/android/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-19
15 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | - PostProcessing
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/AndroidStudio/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | google()
6 | jcenter()
7 |
8 | }
9 | dependencies {
10 | classpath 'com.android.tools.build:gradle:3.5.0'
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | google()
20 | jcenter()
21 |
22 | }
23 | }
24 |
25 | task clean(type: Delete) {
26 | delete rootProject.buildDir
27 | }
28 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 7
7 | m_ExternalVersionControlSupport: Visible Meta Files
8 | m_SerializationMode: 2
9 | m_LineEndingsForNewScripts: 2
10 | m_DefaultBehaviorMode: 0
11 | m_SpritePackerMode: 0
12 | m_SpritePackerPaddingPower: 1
13 | m_EtcTextureCompressorBehavior: 1
14 | m_EtcTextureFastCompressor: 1
15 | m_EtcTextureNormalCompressor: 2
16 | m_EtcTextureBestCompressor: 4
17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
18 | m_ProjectGenerationRootNamespace:
19 | m_UserGeneratedProjectSuffix:
20 | m_CollabEditorSettings:
21 | inProgressEnabled: 1
22 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/SimpleWallpaperService.java.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 94bf9e8d1c88f5940a08f9b57c4bddc7
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Android: Android
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Any:
21 | second:
22 | enabled: 0
23 | settings: {}
24 | - first:
25 | Editor: Editor
26 | second:
27 | enabled: 0
28 | settings:
29 | DefaultValueInitialized: true
30 | userData:
31 | assetBundleName:
32 | assetBundleVariant:
33 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/UnityPlayerActivity.java.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 235a3e349329b4c4d98d48eaa6413a0b
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Android: Android
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Any:
21 | second:
22 | enabled: 0
23 | settings: {}
24 | - first:
25 | Editor: Editor
26 | second:
27 | enabled: 0
28 | settings:
29 | DefaultValueInitialized: true
30 | userData:
31 | assetBundleName:
32 | assetBundleVariant:
33 |
--------------------------------------------------------------------------------
/AndroidStudio/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/LibGDX/test.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/androidTest/java/com/example/wallpaper/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.example.wallpaper;
2 |
3 | import android.content.Context;
4 | import androidx.test.platform.app.InstrumentationRegistry;
5 | import androidx.test.ext.junit.runners.AndroidJUnit4;
6 |
7 | import org.junit.Test;
8 | import org.junit.runner.RunWith;
9 |
10 | import static org.junit.Assert.*;
11 |
12 | /**
13 | * Instrumented test, which will execute on an Android device.
14 | *
15 | * @see Testing documentation
16 | */
17 | @RunWith(AndroidJUnit4.class)
18 | public class ExampleInstrumentedTest {
19 | @Test
20 | public void useAppContext() {
21 | // Context of the app under test.
22 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
23 |
24 | assertEquals("com.example.wallpaper", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/AndroidStudio/Wallpaper.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | m_DefaultList:
7 | - type:
8 | m_NativeTypeID: 108
9 | m_ManagedTypePPtr: {fileID: 0}
10 | m_ManagedTypeFallback:
11 | defaultPresets:
12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea,
13 | type: 2}
14 | - type:
15 | m_NativeTypeID: 1020
16 | m_ManagedTypePPtr: {fileID: 0}
17 | m_ManagedTypeFallback:
18 | defaultPresets:
19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6,
20 | type: 2}
21 | - type:
22 | m_NativeTypeID: 1006
23 | m_ManagedTypePPtr: {fileID: 0}
24 | m_ManagedTypeFallback:
25 | defaultPresets:
26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9,
27 | type: 2}
28 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CreatingAndroidLiveWallpapers
2 | Template projects for creating Android live wallpapers with Unity/Android Studio/LibGDX.
3 |
4 | Every tool has its own readme in its directory.
5 | Clone the repository, follow the instructions and proceed to making wallpaper in technology of your choice right away!
6 |
7 | For a technical description of how are those templates created, visit my blog:
8 |
9 | ```
10 | https://dbeef.lol/2019/09/29/the-offbeat-art-of-android-live-wallpapers/
11 |
12 | https://dbeef.lol/2019/09/29/creating-live-wallpaper-in-android-studio/
13 | https://dbeef.lol/2019/09/29/creating-live-wallpaper-in-unity/
14 | https://dbeef.lol/2019/09/29/creating-live-wallpaper-in-libgdx/
15 | ```
16 |
17 | ### Recognitions:
18 |
19 | PavelDoGreat for `WallpaperActivity.java` that defines Android Service, that references Unity's autogenerated Activity.
20 | https://github.com/PavelDoGreat/Unity-Android-Live-Wallpaper/blob/master/WallpaperActivity.java
21 |
--------------------------------------------------------------------------------
/AndroidStudio/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 29
5 | buildToolsVersion "29.0.2"
6 | defaultConfig {
7 | applicationId "com.example.wallpaper"
8 | minSdkVersion 15
9 | targetSdkVersion 29
10 | versionCode 1
11 | versionName "1.0"
12 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | implementation fileTree(dir: 'libs', include: ['*.jar'])
24 | implementation 'androidx.appcompat:appcompat:1.0.2'
25 | testImplementation 'junit:junit:4.12'
26 | androidTestImplementation 'androidx.test:runner:1.1.1'
27 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
28 | }
29 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 0
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Daniel Zalega
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/AndroidStudio/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app's APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Automatically convert third-party libraries to use AndroidX
19 | android.enableJetifier=true
20 |
21 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 8
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0
18 | m_ClothInterCollisionStiffness: 0
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 0
23 | m_ReuseCollisionCallbacks: 1
24 | m_ClothInterCollisionSettingsToggle: 0
25 | m_ContactPairsMode: 0
26 | m_BroadphaseType: 0
27 | m_WorldBounds:
28 | m_Center: {x: 0, y: 0, z: 0}
29 | m_Extent: {x: 250, y: 250, z: 250}
30 | m_WorldSubdivisions: 8
31 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # This .gitignore file should be placed at the root of your Unity project directory
3 | #
4 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
5 | #
6 | /[Ll]ibrary/
7 | /[Tt]emp/
8 | /[Oo]bj/
9 | /[Bb]uild/
10 | /[Bb]uilds/
11 | /[Ll]ogs/
12 | /[Mm]emoryCaptures/
13 |
14 | # Never ignore Asset meta data
15 | !/[Aa]ssets/**/*.meta
16 |
17 | # Uncomment this line if you wish to ignore the asset store tools plugin
18 | # /[Aa]ssets/AssetStoreTools*
19 |
20 | # Autogenerated Jetbrains Rider plugin
21 | [Aa]ssets/Plugins/Editor/JetBrains*
22 |
23 | # Visual Studio cache directory
24 | .vs/
25 |
26 | # Gradle cache directory
27 | .gradle/
28 |
29 | # Autogenerated VS/MD/Consulo solution and project files
30 | ExportedObj/
31 | .consulo/
32 | *.csproj
33 | *.unityproj
34 | *.sln
35 | *.suo
36 | *.tmp
37 | *.user
38 | *.userprefs
39 | *.pidb
40 | *.booproj
41 | *.svd
42 | *.pdb
43 | *.mdb
44 | *.opendb
45 | *.VC.db
46 |
47 | # Unity3D generated meta files
48 | *.pidb.meta
49 | *.pdb.meta
50 | *.mdb.meta
51 |
52 | # Unity3D generated file on crash reports
53 | sysinfo.txt
54 |
55 | # Builds
56 | *.apk
57 | *.unitypackage
58 |
59 | # Crashlytics generated file
60 | crashlytics-build.properties
61 |
62 |
--------------------------------------------------------------------------------
/LibGDX/desktop/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "java"
2 |
3 | sourceCompatibility = 1.6
4 | sourceSets.main.java.srcDirs = [ "src/" ]
5 |
6 | project.ext.mainClassName = "com.mygdx.game.desktop.DesktopLauncher"
7 | project.ext.assetsDir = new File("../android/assets");
8 |
9 | task run(dependsOn: classes, type: JavaExec) {
10 | main = project.mainClassName
11 | classpath = sourceSets.main.runtimeClasspath
12 | standardInput = System.in
13 | workingDir = project.assetsDir
14 | ignoreExitValue = true
15 | }
16 |
17 | task dist(type: Jar) {
18 | from files(sourceSets.main.output.classesDir)
19 | from files(sourceSets.main.output.resourcesDir)
20 | from {configurations.compile.collect {zipTree(it)}}
21 | from files(project.assetsDir);
22 |
23 | manifest {
24 | attributes 'Main-Class': project.mainClassName
25 | }
26 | }
27 |
28 | dist.dependsOn classes
29 |
30 | eclipse {
31 | project {
32 | name = appName + "-desktop"
33 | linkedResource name: 'assets', type: '2', location: 'PARENT-1-PROJECT_LOC/android/assets'
34 | }
35 | }
36 |
37 | task afterEclipseImport(description: "Post processing after project generation", group: "IDE") {
38 | doLast {
39 | def classpath = new XmlParser().parse(file(".classpath"))
40 | new Node(classpath, "classpathentry", [ kind: 'src', path: 'assets' ]);
41 | def writer = new FileWriter(file(".classpath"))
42 | def printer = new XmlNodePrinter(new PrintWriter(writer))
43 | printer.setPreserveWhitespace(true)
44 | printer.print(classpath)
45 | }
46 | }
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
20 |
21 |
22 |
23 |
24 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_AutoSimulation: 1
23 | m_QueriesHitTriggers: 1
24 | m_QueriesStartInColliders: 1
25 | m_ChangeStopsCallbacks: 0
26 | m_CallbacksOnDisable: 1
27 | m_ReuseCollisionCallbacks: 1
28 | m_AutoSyncTransforms: 0
29 | m_AlwaysShowColliders: 0
30 | m_ShowColliderSleep: 1
31 | m_ShowColliderContacts: 0
32 | m_ShowColliderAABB: 0
33 | m_ContactArrowScale: 0.2
34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
39 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/LibGDX/android/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
22 | -verbose
23 |
24 | -dontwarn android.support.**
25 | -dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication
26 | -dontwarn com.badlogic.gdx.utils.GdxBuild
27 | -dontwarn com.badlogic.gdx.physics.box2d.utils.Box2DBuild
28 | -dontwarn com.badlogic.gdx.jnigen.BuildTarget*
29 |
30 | -keepclassmembers class com.badlogic.gdx.backends.android.AndroidInput* {
31 | (com.badlogic.gdx.Application, android.content.Context, java.lang.Object, com.badlogic.gdx.backends.android.AndroidApplicationConfiguration);
32 | }
33 |
34 | -keepclassmembers class com.badlogic.gdx.physics.box2d.World {
35 | boolean contactFilter(long, long);
36 | void beginContact(long);
37 | void endContact(long);
38 | void preSolve(long, long);
39 | void postSolve(long, long);
40 | boolean reportFixture(long);
41 | float reportRayFixture(long, float, float, float, float, float);
42 | }
43 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.ads": "2.0.8",
4 | "com.unity.analytics": "3.2.3",
5 | "com.unity.collab-proxy": "1.2.15",
6 | "com.unity.package-manager-ui": "2.0.13",
7 | "com.unity.purchasing": "2.2.1",
8 | "com.unity.textmeshpro": "1.4.1",
9 | "com.unity.modules.ai": "1.0.0",
10 | "com.unity.modules.animation": "1.0.0",
11 | "com.unity.modules.assetbundle": "1.0.0",
12 | "com.unity.modules.audio": "1.0.0",
13 | "com.unity.modules.cloth": "1.0.0",
14 | "com.unity.modules.director": "1.0.0",
15 | "com.unity.modules.imageconversion": "1.0.0",
16 | "com.unity.modules.imgui": "1.0.0",
17 | "com.unity.modules.jsonserialize": "1.0.0",
18 | "com.unity.modules.particlesystem": "1.0.0",
19 | "com.unity.modules.physics": "1.0.0",
20 | "com.unity.modules.physics2d": "1.0.0",
21 | "com.unity.modules.screencapture": "1.0.0",
22 | "com.unity.modules.terrain": "1.0.0",
23 | "com.unity.modules.terrainphysics": "1.0.0",
24 | "com.unity.modules.tilemap": "1.0.0",
25 | "com.unity.modules.ui": "1.0.0",
26 | "com.unity.modules.uielements": "1.0.0",
27 | "com.unity.modules.umbra": "1.0.0",
28 | "com.unity.modules.unityanalytics": "1.0.0",
29 | "com.unity.modules.unitywebrequest": "1.0.0",
30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
31 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
32 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
33 | "com.unity.modules.unitywebrequestwww": "1.0.0",
34 | "com.unity.modules.vehicles": "1.0.0",
35 | "com.unity.modules.video": "1.0.0",
36 | "com.unity.modules.vr": "1.0.0",
37 | "com.unity.modules.wind": "1.0.0",
38 | "com.unity.modules.xr": "1.0.0"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/LibGDX/android/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
34 |
35 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/LibGDX/android/src/com/mygdx/game/android/Service.java:
--------------------------------------------------------------------------------
1 | package com.mygdx.game.android;
2 |
3 | import android.util.Log;
4 |
5 | import com.badlogic.gdx.ApplicationListener;
6 | import com.badlogic.gdx.Game;
7 | import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
8 | import com.badlogic.gdx.backends.android.AndroidLiveWallpaperService;
9 | import com.badlogic.gdx.backends.android.AndroidWallpaperListener;
10 | import com.mygdx.game.LiveWallpaperScreen;
11 | import com.mygdx.game.MyGdxGame;
12 |
13 | public class Service extends AndroidLiveWallpaperService {
14 |
15 | @Override
16 | public void onCreateApplication () {
17 | super.onCreateApplication();
18 |
19 | AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
20 | config.useCompass = false;
21 | config.useWakelock = false;
22 | config.useAccelerometer = false;
23 | config.getTouchEventsForLiveWallpaper = true;
24 |
25 | ApplicationListener listener = new MyGdxGame();
26 | initialize(listener, config);
27 | }
28 |
29 | public static class MyLiveWallpaperListener extends LiveWallpaperScreen implements AndroidWallpaperListener {
30 |
31 | public MyLiveWallpaperListener(Game game) {
32 | super(game);
33 | // TODO Auto-generated constructor stub
34 | }
35 |
36 | @Override
37 | public void offsetChange (float xOffset, float yOffset, float xOffsetStep, float yOffsetStep, int xPixelOffset, int yPixelOffset) {
38 | Log.i("LiveWallpaper test", "offsetChange(xOffset:"+xOffset+" yOffset:"+yOffset+" xOffsetSteep:"+xOffsetStep+" yOffsetStep:"+yOffsetStep+" xPixelOffset:"+xPixelOffset+" yPixelOffset:"+yPixelOffset+")");
39 | }
40 |
41 | @Override
42 | public void previewStateChange (boolean isPreview) {
43 | Log.i("LiveWallpaper test", "previewStateChange(isPreview:"+isPreview+")");
44 | }
45 | }
46 | }
--------------------------------------------------------------------------------
/LibGDX/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.2.1' //Minimum supported Gradle version is 4.6
9 | }
10 | }
11 |
12 | allprojects {
13 | apply plugin: "eclipse"
14 | apply plugin: "idea"
15 |
16 | version = '1.0'
17 | ext {
18 | appName = 'my-gdx-game'
19 | gdxVersion = '1.6.1'
20 | roboVMVersion = '1.2.0'
21 | box2DLightsVersion = '1.3'
22 | ashleyVersion = '1.4.0'
23 | aiVersion = '1.5.0'
24 | }
25 |
26 | repositories {
27 | google()
28 | mavenCentral()
29 | maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
30 | maven { url "https://oss.sonatype.org/content/repositories/releases/" }
31 | }
32 | }
33 |
34 | project(":desktop") {
35 | apply plugin: "java"
36 |
37 |
38 | dependencies {
39 | compile project(":core")
40 | compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
41 | compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
42 | }
43 | }
44 |
45 | project(":android") {
46 | apply plugin: "android"
47 |
48 | configurations { natives }
49 |
50 | dependencies {
51 | compile project(":core")
52 | compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
53 | natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
54 | natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
55 | natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
56 | }
57 | }
58 |
59 | project(":core") {
60 | apply plugin: "java"
61 |
62 |
63 | dependencies {
64 | compile "com.badlogicgames.gdx:gdx:$gdxVersion"
65 | }
66 | }
67 |
68 | tasks.eclipse.doLast {
69 | delete ".project"
70 | }
71 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
13 |
19 |
22 |
25 |
26 |
27 |
28 |
34 |
35 |
--------------------------------------------------------------------------------
/AndroidStudio/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/LibGDX/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/LibGDX/core/src/com/mygdx/game/LiveWallpaperScreen.java:
--------------------------------------------------------------------------------
1 | package com.mygdx.game;
2 |
3 | import com.badlogic.gdx.Game;
4 | import com.badlogic.gdx.Gdx;
5 | import com.badlogic.gdx.Screen;
6 | import com.badlogic.gdx.graphics.GL20;
7 | import com.badlogic.gdx.graphics.OrthographicCamera;
8 | import com.badlogic.gdx.graphics.Texture;
9 | import com.badlogic.gdx.graphics.Texture.TextureFilter;
10 | import com.badlogic.gdx.graphics.g2d.SpriteBatch;
11 | import com.badlogic.gdx.graphics.g2d.TextureRegion;
12 |
13 | import static com.badlogic.gdx.Gdx.gl;
14 |
15 | public class LiveWallpaperScreen implements Screen{
16 |
17 | public static final String ASSETS_PREFIX = "android/assets/";
18 | // public static final String ASSETS_PREFIX = "";
19 |
20 | Game game;
21 |
22 | OrthographicCamera camera;
23 | Texture textureBg;
24 | TextureRegion background;
25 | SpriteBatch batcher;
26 |
27 | public LiveWallpaperScreen(final Game game) {
28 | this.game = game;
29 |
30 | camera = new OrthographicCamera(320, 480);
31 | camera.position.set(camera.viewportWidth / 2, camera.viewportHeight / 2, 0);
32 |
33 | textureBg = new Texture(ASSETS_PREFIX + "badlogic.jpg");
34 | textureBg.setFilter(TextureFilter.Linear, TextureFilter.Linear);
35 | background = new TextureRegion(textureBg, 0, 0, 256, 512);
36 | batcher = new SpriteBatch();
37 | }
38 |
39 | @Override
40 | public void dispose() {
41 | // TODO Auto-generated method stub
42 |
43 | }
44 |
45 | @Override
46 | public void hide() {
47 | // TODO Auto-generated method stub
48 |
49 | }
50 |
51 | @Override
52 | public void pause() {
53 | // TODO Auto-generated method stub
54 |
55 | }
56 |
57 | private void draw(float delta) {
58 | gl.glClearColor(0, 0, 0, 1);
59 | gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
60 | camera.update();
61 |
62 | batcher.setProjectionMatrix(camera.combined);
63 | batcher.begin();
64 | batcher.draw(background, 0, 0,camera.viewportWidth, camera.viewportHeight);
65 | batcher.end();
66 | }
67 |
68 | private void update(float delta) {
69 | }
70 |
71 | @Override
72 | public void render(float delta) {
73 | update(delta);
74 | draw(delta);
75 | }
76 |
77 | @Override
78 | public void resize(int width, int height) {
79 | // TODO Auto-generated method stub
80 |
81 | }
82 |
83 | @Override
84 | public void resume() {
85 | // TODO Auto-generated method stub
86 |
87 | }
88 |
89 | @Override
90 | public void show() {
91 | // TODO Auto-generated method stub
92 |
93 | }
94 | }
95 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 12
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_AlwaysIncludedShaders:
32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
39 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
40 | - {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0}
41 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
42 | m_PreloadedShaders: []
43 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
44 | type: 0}
45 | m_CustomRenderPipeline: {fileID: 0}
46 | m_TransparencySortMode: 0
47 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
48 | m_DefaultRenderingPath: 1
49 | m_DefaultMobileRenderingPath: 1
50 | m_TierSettings: []
51 | m_LightmapStripping: 0
52 | m_FogStripping: 0
53 | m_InstancingStripping: 0
54 | m_LightmapKeepPlain: 1
55 | m_LightmapKeepDirCombined: 1
56 | m_LightmapKeepDynamicPlain: 1
57 | m_LightmapKeepDynamicDirCombined: 1
58 | m_LightmapKeepShadowMask: 1
59 | m_LightmapKeepSubtractive: 1
60 | m_FogKeepLinear: 1
61 | m_FogKeepExp: 1
62 | m_FogKeepExp2: 1
63 | m_AlbedoSwatchInfos: []
64 | m_LightsUseLinearIntensity: 0
65 | m_LightsUseColorTemperature: 0
66 | m_LogWhenShaderIsCompiled: 0
67 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
24 |
25 |
26 |
27 |
28 |
29 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/java/com/example/wallpaper/SimpleWallpaperService.java:
--------------------------------------------------------------------------------
1 | package com.example.wallpaper;
2 |
3 | import android.graphics.Canvas;
4 | import android.graphics.Color;
5 | import android.graphics.Paint;
6 | import android.os.Handler;
7 | import android.service.wallpaper.WallpaperService;
8 | import android.view.MotionEvent;
9 | import android.view.SurfaceHolder;
10 |
11 | public class SimpleWallpaperService extends WallpaperService {
12 |
13 | @Override
14 | public Engine onCreateEngine() {
15 | return new SimpleWallpaperEngine();
16 | }
17 |
18 | // Here drawing will happen.
19 | private class SimpleWallpaperEngine extends Engine {
20 |
21 | private final Handler handler = new Handler();
22 | private final Runnable drawRunner = new Runnable() {
23 | @Override
24 | public void run() {
25 | draw();
26 | }
27 | };
28 |
29 | private int width;
30 | private int height;
31 | private boolean visible = true;
32 |
33 | public SimpleWallpaperEngine() {
34 | handler.post(drawRunner);
35 | }
36 |
37 | @Override
38 | public void onVisibilityChanged(boolean visible) {
39 | this.visible = visible;
40 | if (visible) {
41 | handler.post(drawRunner);
42 | } else {
43 | handler.removeCallbacks(drawRunner);
44 | }
45 | }
46 |
47 | @Override
48 | public void onSurfaceDestroyed(SurfaceHolder holder) {
49 | super.onSurfaceDestroyed(holder);
50 | this.visible = false;
51 | handler.removeCallbacks(drawRunner);
52 | }
53 |
54 | @Override
55 | public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) {
56 | this.width = width;
57 | this.height = height;
58 | super.onSurfaceChanged(holder, format, width, height);
59 | }
60 |
61 | @Override
62 | public void onTouchEvent(MotionEvent event) {
63 | // do nothing
64 | }
65 |
66 | private void draw() {
67 | SurfaceHolder holder = getSurfaceHolder();
68 | Canvas canvas = null;
69 | try {
70 | canvas = holder.lockCanvas();
71 | if (canvas != null) {
72 |
73 | Paint paint = new Paint();
74 | paint.setAntiAlias(true);
75 | paint.setColor(Color.WHITE);
76 | paint.setStyle(Paint.Style.STROKE);
77 | paint.setStrokeJoin(Paint.Join.ROUND);
78 | paint.setStrokeWidth(10f);
79 |
80 | float widthQuater = width / 4;
81 | float heightQuater = height / 4;
82 |
83 | canvas.drawRect(widthQuater, height - heightQuater,
84 | width - widthQuater, heightQuater, paint);
85 | }
86 | } finally {
87 | if (canvas != null) holder.unlockCanvasAndPost(canvas);
88 | }
89 | handler.removeCallbacks(drawRunner);
90 | if (visible) handler.postDelayed(drawRunner, 5000);
91 | }
92 | }
93 | }
94 |
--------------------------------------------------------------------------------
/LibGDX/android/build.gradle:
--------------------------------------------------------------------------------
1 | android {
2 | buildToolsVersion "28.0.3"
3 | compileSdkVersion 28
4 | sourceSets {
5 | main {
6 | manifest.srcFile 'AndroidManifest.xml'
7 | java.srcDirs = ['src']
8 | aidl.srcDirs = ['src']
9 | renderscript.srcDirs = ['src']
10 | res.srcDirs = ['res']
11 | assets.srcDirs = ['assets']
12 | jniLibs.srcDirs = ['libs']
13 | }
14 |
15 | // instrumentTest.setRoot('tests')
16 | }
17 | defaultConfig {
18 | minSdkVersion 8
19 | }
20 | }
21 |
22 |
23 | // called every time gradle gets executed, takes the native dependencies of
24 | // the natives configuration, and extracts them to the proper libs/ folders
25 | // so they get packed with the APK.
26 | task copyAndroidNatives() {
27 | file("libs/armeabi/").mkdirs();
28 | file("libs/armeabi-v7a/").mkdirs();
29 | file("libs/x86/").mkdirs();
30 |
31 | configurations.natives.files.each { jar ->
32 | def outputDir = null
33 | if(jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
34 | if(jar.name.endsWith("natives-armeabi.jar")) outputDir = file("libs/armeabi")
35 | if(jar.name.endsWith("natives-x86.jar")) outputDir = file("libs/x86")
36 | if(outputDir != null) {
37 | copy {
38 | from zipTree(jar)
39 | into outputDir
40 | include "*.so"
41 | }
42 | }
43 | }
44 | }
45 |
46 | task run(type: Exec) {
47 | def path
48 | def localProperties = project.file("../local.properties")
49 | if (localProperties.exists()) {
50 | Properties properties = new Properties()
51 | localProperties.withInputStream { instr ->
52 | properties.load(instr)
53 | }
54 | def sdkDir = properties.getProperty('sdk.dir')
55 | if (sdkDir) {
56 | path = sdkDir
57 | } else {
58 | path = "$System.env.ANDROID_HOME"
59 | }
60 | } else {
61 | path = "$System.env.ANDROID_HOME"
62 | }
63 |
64 | def adb = path + "/platform-tools/adb"
65 | commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.mygdx.game.android/com.mygdx.game.android.AndroidLauncher'
66 | }
67 |
68 | // sets up the Android Eclipse project, using the old Ant based build.
69 | eclipse {
70 | // need to specify Java source sets explicitely, SpringSource Gradle Eclipse plugin
71 | // ignores any nodes added in classpath.file.withXml
72 | sourceSets {
73 | main {
74 | java.srcDirs "src", 'gen'
75 | }
76 | }
77 |
78 | jdt {
79 | sourceCompatibility = 1.6
80 | targetCompatibility = 1.6
81 | }
82 |
83 | classpath {
84 | plusConfigurations += [ project.configurations.compile ]
85 | containers 'com.android.ide.eclipse.adt.ANDROID_FRAMEWORK', 'com.android.ide.eclipse.adt.LIBRARIES'
86 | }
87 |
88 | project {
89 | name = appName + "-android"
90 | natures 'com.android.ide.eclipse.adt.AndroidNature'
91 | buildCommands.clear();
92 | buildCommand "com.android.ide.eclipse.adt.ResourceManagerBuilder"
93 | buildCommand "com.android.ide.eclipse.adt.PreCompilerBuilder"
94 | buildCommand "org.eclipse.jdt.core.javabuilder"
95 | buildCommand "com.android.ide.eclipse.adt.ApkBuilder"
96 | }
97 | }
98 |
99 | // sets up the Android Idea project, using the old Ant based build.
100 | idea {
101 | module {
102 | sourceDirs += file("src");
103 | scopes = [ COMPILE: [plus:[project.configurations.compile]]]
104 |
105 | iml {
106 | withXml {
107 | def node = it.asNode()
108 | def builder = NodeBuilder.newInstance();
109 | builder.current = node;
110 | builder.component(name: "FacetManager") {
111 | facet(type: "android", name: "Android") {
112 | configuration {
113 | option(name: "UPDATE_PROPERTY_FILES", value:"true")
114 | }
115 | }
116 | }
117 | }
118 | }
119 | }
120 | }
121 |
--------------------------------------------------------------------------------
/AndroidStudio/app/src/main/res/drawable/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
10 |
12 |
14 |
16 |
18 |
20 |
22 |
24 |
26 |
28 |
30 |
32 |
34 |
36 |
38 |
40 |
42 |
44 |
46 |
48 |
50 |
52 |
54 |
56 |
58 |
60 |
62 |
64 |
66 |
68 |
70 |
72 |
74 |
75 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/UnityPlayerActivity.java:
--------------------------------------------------------------------------------
1 | package com.android.wallpaper;
2 |
3 | import com.unity3d.player.*;
4 | import android.app.Activity;
5 | import android.content.Intent;
6 | import android.content.res.Configuration;
7 | import android.graphics.PixelFormat;
8 | import android.os.Bundle;
9 | import android.view.KeyEvent;
10 | import android.view.MotionEvent;
11 | import android.view.View;
12 | import android.view.Window;
13 | import android.view.WindowManager;
14 |
15 | public class UnityPlayerActivity extends Activity
16 | {
17 | protected UnityPlayer mUnityPlayer; // don't change the name of this variable; referenced from native code
18 |
19 | // Override this in your custom UnityPlayerActivity to tweak the command line arguments passed to the Unity Android Player
20 | // The command line arguments are passed as a string, separated by spaces
21 | // UnityPlayerActivity calls this from 'onCreate'
22 | // Supported: -force-gles20, -force-gles30, -force-gles31, -force-gles31aep, -force-gles32, -force-gles, -force-vulkan
23 | // See https://docs.unity3d.com/Manual/CommandLineArguments.html
24 | // @param cmdLine the current command line arguments, may be null
25 | // @return the modified command line string or null
26 | protected String updateUnityCommandLineArguments(String cmdLine)
27 | {
28 | return cmdLine;
29 | }
30 |
31 | // Setup activity layout
32 | @Override protected void onCreate(Bundle savedInstanceState)
33 | {
34 | requestWindowFeature(Window.FEATURE_NO_TITLE);
35 | super.onCreate(savedInstanceState);
36 |
37 | String cmdLine = updateUnityCommandLineArguments(getIntent().getStringExtra("unity"));
38 | getIntent().putExtra("unity", cmdLine);
39 |
40 | mUnityPlayer = new UnityPlayer(this);
41 | setContentView(mUnityPlayer);
42 | mUnityPlayer.requestFocus();
43 | }
44 |
45 | @Override protected void onNewIntent(Intent intent)
46 | {
47 | // To support deep linking, we need to make sure that the client can get access to
48 | // the last sent intent. The clients access this through a JNI api that allows them
49 | // to get the intent set on launch. To update that after launch we have to manually
50 | // replace the intent with the one caught here.
51 | setIntent(intent);
52 | }
53 |
54 | // Quit Unity
55 | @Override protected void onDestroy ()
56 | {
57 | mUnityPlayer.destroy();
58 | super.onDestroy();
59 | }
60 |
61 | // Pause Unity
62 | @Override protected void onPause()
63 | {
64 | super.onPause();
65 | mUnityPlayer.pause();
66 | }
67 |
68 | // Resume Unity
69 | @Override protected void onResume()
70 | {
71 | super.onResume();
72 | mUnityPlayer.resume();
73 | }
74 |
75 | @Override protected void onStart()
76 | {
77 | super.onStart();
78 | mUnityPlayer.start();
79 | }
80 |
81 | @Override protected void onStop()
82 | {
83 | super.onStop();
84 | mUnityPlayer.stop();
85 | }
86 |
87 | // Low Memory Unity
88 | @Override public void onLowMemory()
89 | {
90 | super.onLowMemory();
91 | mUnityPlayer.lowMemory();
92 | }
93 |
94 | // Trim Memory Unity
95 | @Override public void onTrimMemory(int level)
96 | {
97 | super.onTrimMemory(level);
98 | if (level == TRIM_MEMORY_RUNNING_CRITICAL)
99 | {
100 | mUnityPlayer.lowMemory();
101 | }
102 | }
103 |
104 | // This ensures the layout will be correct.
105 | @Override public void onConfigurationChanged(Configuration newConfig)
106 | {
107 | super.onConfigurationChanged(newConfig);
108 | mUnityPlayer.configurationChanged(newConfig);
109 | }
110 |
111 | // Notify Unity of the focus change.
112 | @Override public void onWindowFocusChanged(boolean hasFocus)
113 | {
114 | super.onWindowFocusChanged(hasFocus);
115 | mUnityPlayer.windowFocusChanged(hasFocus);
116 | }
117 |
118 | // For some reason the multiple keyevent type is not supported by the ndk.
119 | // Force event injection by overriding dispatchKeyEvent().
120 | @Override public boolean dispatchKeyEvent(KeyEvent event)
121 | {
122 | if (event.getAction() == KeyEvent.ACTION_MULTIPLE)
123 | return mUnityPlayer.injectEvent(event);
124 | return super.dispatchKeyEvent(event);
125 | }
126 |
127 | // Pass any events not handled by (unfocused) views straight to UnityPlayer
128 | @Override public boolean onKeyUp(int keyCode, KeyEvent event) { return mUnityPlayer.injectEvent(event); }
129 | @Override public boolean onKeyDown(int keyCode, KeyEvent event) { return mUnityPlayer.injectEvent(event); }
130 | @Override public boolean onTouchEvent(MotionEvent event) { return mUnityPlayer.injectEvent(event); }
131 | /*API12*/ public boolean onGenericMotionEvent(MotionEvent event) { return mUnityPlayer.injectEvent(event); }
132 | }
133 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Plugins/Android/SimpleWallpaperService.java:
--------------------------------------------------------------------------------
1 | package com.android.wallpaper;
2 |
3 | import android.annotation.TargetApi;
4 | import android.app.WallpaperColors;
5 | import android.content.res.Configuration;
6 | import android.graphics.Color;
7 | import android.os.Build;
8 | import android.service.wallpaper.WallpaperService;
9 | import android.util.Log;
10 | import android.view.MotionEvent;
11 | import android.view.SurfaceHolder;
12 | import android.view.WindowInsets;
13 | import android.content.Context;
14 |
15 | import com.unity3d.player.UnityPlayer;
16 |
17 | class MyUnityPlayer extends UnityPlayer
18 | {
19 | public MyUnityPlayer (Context var)
20 | {
21 | super(var);
22 | }
23 | }
24 |
25 | public class SimpleWallpaperService extends WallpaperService
26 | {
27 | MyUnityPlayer mUnityPlayer;
28 | int mVisibleSurfaces = 0;
29 |
30 | @Override public void onCreate ()
31 | {
32 | super.onCreate();
33 | mUnityPlayer = new MyUnityPlayer(getApplicationContext());
34 | }
35 |
36 | @Override public void onDestroy ()
37 | {
38 | mUnityPlayer.quit();
39 | super.onDestroy();
40 | }
41 |
42 | @Override public Engine onCreateEngine ()
43 | {
44 | return new MyEngine();
45 | }
46 |
47 | @Override public void onLowMemory ()
48 | {
49 | super.onLowMemory();
50 | mUnityPlayer.lowMemory();
51 | }
52 |
53 | @Override public void onTrimMemory(int level)
54 | {
55 | super.onTrimMemory(level);
56 | if (level == TRIM_MEMORY_RUNNING_CRITICAL)
57 | mUnityPlayer.lowMemory();
58 | }
59 |
60 | @Override public void onConfigurationChanged (Configuration newConfig)
61 | {
62 | super.onConfigurationChanged(newConfig);
63 | mUnityPlayer.configurationChanged(newConfig);
64 | }
65 |
66 | void Log (String message)
67 | {
68 | Log.d("LiveWallpaper", message);
69 | }
70 |
71 | class MyEngine extends Engine
72 | {
73 | SurfaceHolder mHolder;
74 | boolean isPreview = false;
75 |
76 | @Override public void onCreate (SurfaceHolder holder)
77 | {
78 | Log("Create");
79 | super.onCreate(holder);
80 | isPreview = isPreview();
81 | setTouchEventsEnabled(true);
82 | setOffsetNotificationsEnabled(false);
83 | mUnityPlayer.UnitySendMessage("AppController", "TriggerIsWallpaper", isPreview ? "true" : "false");
84 | }
85 |
86 | @Override public void onDestroy ()
87 | {
88 | Log("Destroy");
89 | super.onDestroy();
90 | }
91 |
92 | @Override public void onApplyWindowInsets (WindowInsets insets)
93 | {
94 | super.onApplyWindowInsets(insets);
95 | int insetTop = 40;
96 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
97 | insetTop = insets.getStableInsetTop();
98 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
99 | insetTop += 140;
100 | mUnityPlayer.UnitySendMessage("AppController", "ReceiveWindowInset", Integer.toString(insetTop));
101 | }
102 |
103 | @TargetApi(Build.VERSION_CODES.O_MR1)
104 | @Override public WallpaperColors onComputeColors ()
105 | {
106 | Color color = Color.valueOf(Color.BLACK);
107 | return new WallpaperColors(color, color, color);
108 | }
109 |
110 | @Override public void onSurfaceCreated (SurfaceHolder holder)
111 | {
112 | Log("SurfaceCreated");
113 | super.onSurfaceCreated(holder);
114 | mHolder = holder;
115 | }
116 |
117 | @Override public void onSurfaceChanged (SurfaceHolder holder, int format, int width, int height)
118 | {
119 | Log("SurfaceChanged, width: " + width + ", height: " + height);
120 | super.onSurfaceChanged(holder, format, width, height);
121 | mHolder = holder;
122 | mUnityPlayer.displayChanged(0, mHolder.getSurface());
123 | }
124 |
125 | @Override public void onVisibilityChanged (boolean visible)
126 | {
127 | Log("VisibilityChanged, isPreview: " + isPreview + ", visible: " + visible);
128 | super.onVisibilityChanged(visible);
129 |
130 | if (visible)
131 | {
132 | mVisibleSurfaces++;
133 | if (mHolder != null)
134 | mUnityPlayer.displayChanged(0, mHolder.getSurface());
135 | mUnityPlayer.windowFocusChanged(true);
136 | mUnityPlayer.resume();
137 | mUnityPlayer.UnitySendMessage("AppController", "TriggerVisible", isPreview ? "true" : "false");
138 | return;
139 | }
140 |
141 | mVisibleSurfaces--;
142 | mVisibleSurfaces = Math.max(mVisibleSurfaces, 0);
143 | if (mVisibleSurfaces == 0)
144 | {
145 | mUnityPlayer.displayChanged(0, null);
146 | mUnityPlayer.windowFocusChanged(false);
147 | mUnityPlayer.pause();
148 | }
149 | }
150 |
151 | @Override public void onSurfaceDestroyed (SurfaceHolder holder)
152 | {
153 | Log("SurfaceDestroyed");
154 | super.onSurfaceDestroyed(holder);
155 | }
156 |
157 | @Override public void onTouchEvent (MotionEvent event)
158 | {
159 | super.onTouchEvent(event);
160 | mUnityPlayer.injectEvent(event);
161 | }
162 | }
163 | }
164 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/QualitySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!47 &1
4 | QualitySettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 5
7 | m_CurrentQuality: 4
8 | m_QualitySettings:
9 | - serializedVersion: 2
10 | name: Very Low
11 | pixelLightCount: 0
12 | shadows: 0
13 | shadowResolution: 0
14 | shadowProjection: 1
15 | shadowCascades: 1
16 | shadowDistance: 15
17 | shadowNearPlaneOffset: 3
18 | shadowCascade2Split: 0.33333334
19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
20 | shadowmaskMode: 0
21 | blendWeights: 1
22 | textureQuality: 1
23 | anisotropicTextures: 0
24 | antiAliasing: 0
25 | softParticles: 0
26 | softVegetation: 0
27 | realtimeReflectionProbes: 0
28 | billboardsFaceCameraPosition: 0
29 | vSyncCount: 0
30 | lodBias: 0.3
31 | maximumLODLevel: 0
32 | particleRaycastBudget: 4
33 | asyncUploadTimeSlice: 2
34 | asyncUploadBufferSize: 16
35 | resolutionScalingFixedDPIFactor: 1
36 | excludedTargetPlatforms: []
37 | - serializedVersion: 2
38 | name: Low
39 | pixelLightCount: 0
40 | shadows: 0
41 | shadowResolution: 0
42 | shadowProjection: 1
43 | shadowCascades: 1
44 | shadowDistance: 20
45 | shadowNearPlaneOffset: 3
46 | shadowCascade2Split: 0.33333334
47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
48 | shadowmaskMode: 0
49 | blendWeights: 2
50 | textureQuality: 0
51 | anisotropicTextures: 0
52 | antiAliasing: 0
53 | softParticles: 0
54 | softVegetation: 0
55 | realtimeReflectionProbes: 0
56 | billboardsFaceCameraPosition: 0
57 | vSyncCount: 0
58 | lodBias: 0.4
59 | maximumLODLevel: 0
60 | particleRaycastBudget: 16
61 | asyncUploadTimeSlice: 2
62 | asyncUploadBufferSize: 16
63 | resolutionScalingFixedDPIFactor: 1
64 | excludedTargetPlatforms: []
65 | - serializedVersion: 2
66 | name: Medium
67 | pixelLightCount: 1
68 | shadows: 1
69 | shadowResolution: 0
70 | shadowProjection: 1
71 | shadowCascades: 1
72 | shadowDistance: 20
73 | shadowNearPlaneOffset: 3
74 | shadowCascade2Split: 0.33333334
75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
76 | shadowmaskMode: 0
77 | blendWeights: 2
78 | textureQuality: 0
79 | anisotropicTextures: 1
80 | antiAliasing: 0
81 | softParticles: 0
82 | softVegetation: 0
83 | realtimeReflectionProbes: 0
84 | billboardsFaceCameraPosition: 0
85 | vSyncCount: 1
86 | lodBias: 0.7
87 | maximumLODLevel: 0
88 | particleRaycastBudget: 64
89 | asyncUploadTimeSlice: 2
90 | asyncUploadBufferSize: 16
91 | resolutionScalingFixedDPIFactor: 1
92 | excludedTargetPlatforms: []
93 | - serializedVersion: 2
94 | name: High
95 | pixelLightCount: 2
96 | shadows: 2
97 | shadowResolution: 1
98 | shadowProjection: 1
99 | shadowCascades: 2
100 | shadowDistance: 40
101 | shadowNearPlaneOffset: 3
102 | shadowCascade2Split: 0.33333334
103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
104 | shadowmaskMode: 1
105 | blendWeights: 2
106 | textureQuality: 0
107 | anisotropicTextures: 1
108 | antiAliasing: 2
109 | softParticles: 0
110 | softVegetation: 1
111 | realtimeReflectionProbes: 1
112 | billboardsFaceCameraPosition: 1
113 | vSyncCount: 1
114 | lodBias: 1
115 | maximumLODLevel: 0
116 | particleRaycastBudget: 256
117 | asyncUploadTimeSlice: 2
118 | asyncUploadBufferSize: 16
119 | resolutionScalingFixedDPIFactor: 1
120 | excludedTargetPlatforms: []
121 | - serializedVersion: 2
122 | name: Very High
123 | pixelLightCount: 3
124 | shadows: 2
125 | shadowResolution: 2
126 | shadowProjection: 1
127 | shadowCascades: 2
128 | shadowDistance: 40
129 | shadowNearPlaneOffset: 3
130 | shadowCascade2Split: 0.33333334
131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
132 | shadowmaskMode: 1
133 | blendWeights: 4
134 | textureQuality: 0
135 | anisotropicTextures: 1
136 | antiAliasing: 4
137 | softParticles: 1
138 | softVegetation: 1
139 | realtimeReflectionProbes: 1
140 | billboardsFaceCameraPosition: 1
141 | vSyncCount: 1
142 | lodBias: 1.5
143 | maximumLODLevel: 0
144 | particleRaycastBudget: 1024
145 | asyncUploadTimeSlice: 2
146 | asyncUploadBufferSize: 16
147 | resolutionScalingFixedDPIFactor: 1
148 | excludedTargetPlatforms: []
149 | - serializedVersion: 2
150 | name: Ultra
151 | pixelLightCount: 4
152 | shadows: 2
153 | shadowResolution: 2
154 | shadowProjection: 1
155 | shadowCascades: 4
156 | shadowDistance: 150
157 | shadowNearPlaneOffset: 3
158 | shadowCascade2Split: 0.33333334
159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
160 | shadowmaskMode: 1
161 | blendWeights: 4
162 | textureQuality: 0
163 | anisotropicTextures: 1
164 | antiAliasing: 4
165 | softParticles: 1
166 | softVegetation: 1
167 | realtimeReflectionProbes: 1
168 | billboardsFaceCameraPosition: 1
169 | vSyncCount: 1
170 | lodBias: 2
171 | maximumLODLevel: 0
172 | particleRaycastBudget: 4096
173 | asyncUploadTimeSlice: 2
174 | asyncUploadBufferSize: 16
175 | resolutionScalingFixedDPIFactor: 1
176 | excludedTargetPlatforms: []
177 | m_PerPlatformDefaultQuality:
178 | Android: 2
179 | Nintendo 3DS: 5
180 | Nintendo Switch: 5
181 | PS4: 5
182 | PSP2: 2
183 | Standalone: 5
184 | Tizen: 2
185 | WebGL: 3
186 | WiiU: 5
187 | Windows Store Apps: 5
188 | XboxOne: 5
189 | iPhone: 2
190 | tvOS: 2
191 |
--------------------------------------------------------------------------------
/LibGDX/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/AndroidStudio/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/InputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!13 &1
4 | InputManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Axes:
8 | - serializedVersion: 3
9 | m_Name: Horizontal
10 | descriptiveName:
11 | descriptiveNegativeName:
12 | negativeButton: left
13 | positiveButton: right
14 | altNegativeButton: a
15 | altPositiveButton: d
16 | gravity: 3
17 | dead: 0.001
18 | sensitivity: 3
19 | snap: 1
20 | invert: 0
21 | type: 0
22 | axis: 0
23 | joyNum: 0
24 | - serializedVersion: 3
25 | m_Name: Vertical
26 | descriptiveName:
27 | descriptiveNegativeName:
28 | negativeButton: down
29 | positiveButton: up
30 | altNegativeButton: s
31 | altPositiveButton: w
32 | gravity: 3
33 | dead: 0.001
34 | sensitivity: 3
35 | snap: 1
36 | invert: 0
37 | type: 0
38 | axis: 0
39 | joyNum: 0
40 | - serializedVersion: 3
41 | m_Name: Fire1
42 | descriptiveName:
43 | descriptiveNegativeName:
44 | negativeButton:
45 | positiveButton: left ctrl
46 | altNegativeButton:
47 | altPositiveButton: mouse 0
48 | gravity: 1000
49 | dead: 0.001
50 | sensitivity: 1000
51 | snap: 0
52 | invert: 0
53 | type: 0
54 | axis: 0
55 | joyNum: 0
56 | - serializedVersion: 3
57 | m_Name: Fire2
58 | descriptiveName:
59 | descriptiveNegativeName:
60 | negativeButton:
61 | positiveButton: left alt
62 | altNegativeButton:
63 | altPositiveButton: mouse 1
64 | gravity: 1000
65 | dead: 0.001
66 | sensitivity: 1000
67 | snap: 0
68 | invert: 0
69 | type: 0
70 | axis: 0
71 | joyNum: 0
72 | - serializedVersion: 3
73 | m_Name: Fire3
74 | descriptiveName:
75 | descriptiveNegativeName:
76 | negativeButton:
77 | positiveButton: left shift
78 | altNegativeButton:
79 | altPositiveButton: mouse 2
80 | gravity: 1000
81 | dead: 0.001
82 | sensitivity: 1000
83 | snap: 0
84 | invert: 0
85 | type: 0
86 | axis: 0
87 | joyNum: 0
88 | - serializedVersion: 3
89 | m_Name: Jump
90 | descriptiveName:
91 | descriptiveNegativeName:
92 | negativeButton:
93 | positiveButton: space
94 | altNegativeButton:
95 | altPositiveButton:
96 | gravity: 1000
97 | dead: 0.001
98 | sensitivity: 1000
99 | snap: 0
100 | invert: 0
101 | type: 0
102 | axis: 0
103 | joyNum: 0
104 | - serializedVersion: 3
105 | m_Name: Mouse X
106 | descriptiveName:
107 | descriptiveNegativeName:
108 | negativeButton:
109 | positiveButton:
110 | altNegativeButton:
111 | altPositiveButton:
112 | gravity: 0
113 | dead: 0
114 | sensitivity: 0.1
115 | snap: 0
116 | invert: 0
117 | type: 1
118 | axis: 0
119 | joyNum: 0
120 | - serializedVersion: 3
121 | m_Name: Mouse Y
122 | descriptiveName:
123 | descriptiveNegativeName:
124 | negativeButton:
125 | positiveButton:
126 | altNegativeButton:
127 | altPositiveButton:
128 | gravity: 0
129 | dead: 0
130 | sensitivity: 0.1
131 | snap: 0
132 | invert: 0
133 | type: 1
134 | axis: 1
135 | joyNum: 0
136 | - serializedVersion: 3
137 | m_Name: Mouse ScrollWheel
138 | descriptiveName:
139 | descriptiveNegativeName:
140 | negativeButton:
141 | positiveButton:
142 | altNegativeButton:
143 | altPositiveButton:
144 | gravity: 0
145 | dead: 0
146 | sensitivity: 0.1
147 | snap: 0
148 | invert: 0
149 | type: 1
150 | axis: 2
151 | joyNum: 0
152 | - serializedVersion: 3
153 | m_Name: Horizontal
154 | descriptiveName:
155 | descriptiveNegativeName:
156 | negativeButton:
157 | positiveButton:
158 | altNegativeButton:
159 | altPositiveButton:
160 | gravity: 0
161 | dead: 0.19
162 | sensitivity: 1
163 | snap: 0
164 | invert: 0
165 | type: 2
166 | axis: 0
167 | joyNum: 0
168 | - serializedVersion: 3
169 | m_Name: Vertical
170 | descriptiveName:
171 | descriptiveNegativeName:
172 | negativeButton:
173 | positiveButton:
174 | altNegativeButton:
175 | altPositiveButton:
176 | gravity: 0
177 | dead: 0.19
178 | sensitivity: 1
179 | snap: 0
180 | invert: 1
181 | type: 2
182 | axis: 1
183 | joyNum: 0
184 | - serializedVersion: 3
185 | m_Name: Fire1
186 | descriptiveName:
187 | descriptiveNegativeName:
188 | negativeButton:
189 | positiveButton: joystick button 0
190 | altNegativeButton:
191 | altPositiveButton:
192 | gravity: 1000
193 | dead: 0.001
194 | sensitivity: 1000
195 | snap: 0
196 | invert: 0
197 | type: 0
198 | axis: 0
199 | joyNum: 0
200 | - serializedVersion: 3
201 | m_Name: Fire2
202 | descriptiveName:
203 | descriptiveNegativeName:
204 | negativeButton:
205 | positiveButton: joystick button 1
206 | altNegativeButton:
207 | altPositiveButton:
208 | gravity: 1000
209 | dead: 0.001
210 | sensitivity: 1000
211 | snap: 0
212 | invert: 0
213 | type: 0
214 | axis: 0
215 | joyNum: 0
216 | - serializedVersion: 3
217 | m_Name: Fire3
218 | descriptiveName:
219 | descriptiveNegativeName:
220 | negativeButton:
221 | positiveButton: joystick button 2
222 | altNegativeButton:
223 | altPositiveButton:
224 | gravity: 1000
225 | dead: 0.001
226 | sensitivity: 1000
227 | snap: 0
228 | invert: 0
229 | type: 0
230 | axis: 0
231 | joyNum: 0
232 | - serializedVersion: 3
233 | m_Name: Jump
234 | descriptiveName:
235 | descriptiveNegativeName:
236 | negativeButton:
237 | positiveButton: joystick button 3
238 | altNegativeButton:
239 | altPositiveButton:
240 | gravity: 1000
241 | dead: 0.001
242 | sensitivity: 1000
243 | snap: 0
244 | invert: 0
245 | type: 0
246 | axis: 0
247 | joyNum: 0
248 | - serializedVersion: 3
249 | m_Name: Submit
250 | descriptiveName:
251 | descriptiveNegativeName:
252 | negativeButton:
253 | positiveButton: return
254 | altNegativeButton:
255 | altPositiveButton: joystick button 0
256 | gravity: 1000
257 | dead: 0.001
258 | sensitivity: 1000
259 | snap: 0
260 | invert: 0
261 | type: 0
262 | axis: 0
263 | joyNum: 0
264 | - serializedVersion: 3
265 | m_Name: Submit
266 | descriptiveName:
267 | descriptiveNegativeName:
268 | negativeButton:
269 | positiveButton: enter
270 | altNegativeButton:
271 | altPositiveButton: space
272 | gravity: 1000
273 | dead: 0.001
274 | sensitivity: 1000
275 | snap: 0
276 | invert: 0
277 | type: 0
278 | axis: 0
279 | joyNum: 0
280 | - serializedVersion: 3
281 | m_Name: Cancel
282 | descriptiveName:
283 | descriptiveNegativeName:
284 | negativeButton:
285 | positiveButton: escape
286 | altNegativeButton:
287 | altPositiveButton: joystick button 1
288 | gravity: 1000
289 | dead: 0.001
290 | sensitivity: 1000
291 | snap: 0
292 | invert: 0
293 | type: 0
294 | axis: 0
295 | joyNum: 0
296 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/Assets/Scenes/SampleScene.unity:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!29 &1
4 | OcclusionCullingSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_OcclusionBakeSettings:
8 | smallestOccluder: 5
9 | smallestHole: 0.25
10 | backfaceThreshold: 100
11 | m_SceneGUID: 00000000000000000000000000000000
12 | m_OcclusionCullingData: {fileID: 0}
13 | --- !u!104 &2
14 | RenderSettings:
15 | m_ObjectHideFlags: 0
16 | serializedVersion: 9
17 | m_Fog: 0
18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19 | m_FogMode: 3
20 | m_FogDensity: 0.01
21 | m_LinearFogStart: 0
22 | m_LinearFogEnd: 300
23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26 | m_AmbientIntensity: 1
27 | m_AmbientMode: 0
28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30 | m_HaloStrength: 0.5
31 | m_FlareStrength: 1
32 | m_FlareFadeSpeed: 3
33 | m_HaloTexture: {fileID: 0}
34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35 | m_DefaultReflectionMode: 0
36 | m_DefaultReflectionResolution: 128
37 | m_ReflectionBounces: 1
38 | m_ReflectionIntensity: 1
39 | m_CustomReflection: {fileID: 0}
40 | m_Sun: {fileID: 170076734}
41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 11
47 | m_GIWorkflowMode: 0
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_TemporalCoherenceThreshold: 1
54 | m_EnvironmentLightingMode: 0
55 | m_EnableBakedLightmaps: 1
56 | m_EnableRealtimeLightmaps: 0
57 | m_LightmapEditorSettings:
58 | serializedVersion: 10
59 | m_Resolution: 2
60 | m_BakeResolution: 10
61 | m_AtlasSize: 512
62 | m_AO: 0
63 | m_AOMaxDistance: 1
64 | m_CompAOExponent: 1
65 | m_CompAOExponentDirect: 0
66 | m_Padding: 2
67 | m_LightmapParameters: {fileID: 0}
68 | m_LightmapsBakeMode: 1
69 | m_TextureCompression: 1
70 | m_FinalGather: 0
71 | m_FinalGatherFiltering: 1
72 | m_FinalGatherRayCount: 256
73 | m_ReflectionCompression: 2
74 | m_MixedBakeMode: 2
75 | m_BakeBackend: 1
76 | m_PVRSampling: 1
77 | m_PVRDirectSampleCount: 32
78 | m_PVRSampleCount: 256
79 | m_PVRBounces: 2
80 | m_PVRFilterTypeDirect: 0
81 | m_PVRFilterTypeIndirect: 0
82 | m_PVRFilterTypeAO: 0
83 | m_PVRFilteringMode: 1
84 | m_PVRCulling: 1
85 | m_PVRFilteringGaussRadiusDirect: 1
86 | m_PVRFilteringGaussRadiusIndirect: 5
87 | m_PVRFilteringGaussRadiusAO: 2
88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
90 | m_PVRFilteringAtrousPositionSigmaAO: 1
91 | m_ShowResolutionOverlay: 1
92 | m_LightingDataAsset: {fileID: 0}
93 | m_UseShadowmask: 1
94 | --- !u!196 &4
95 | NavMeshSettings:
96 | serializedVersion: 2
97 | m_ObjectHideFlags: 0
98 | m_BuildSettings:
99 | serializedVersion: 2
100 | agentTypeID: 0
101 | agentRadius: 0.5
102 | agentHeight: 2
103 | agentSlope: 45
104 | agentClimb: 0.4
105 | ledgeDropHeight: 0
106 | maxJumpAcrossDistance: 0
107 | minRegionArea: 2
108 | manualCellSize: 0
109 | cellSize: 0.16666667
110 | manualTileSize: 0
111 | tileSize: 256
112 | accuratePlacement: 0
113 | debug:
114 | m_Flags: 0
115 | m_NavMeshData: {fileID: 0}
116 | --- !u!1 &170076733
117 | GameObject:
118 | m_ObjectHideFlags: 0
119 | m_CorrespondingSourceObject: {fileID: 0}
120 | m_PrefabInternal: {fileID: 0}
121 | serializedVersion: 6
122 | m_Component:
123 | - component: {fileID: 170076735}
124 | - component: {fileID: 170076734}
125 | m_Layer: 0
126 | m_Name: Directional Light
127 | m_TagString: Untagged
128 | m_Icon: {fileID: 0}
129 | m_NavMeshLayer: 0
130 | m_StaticEditorFlags: 0
131 | m_IsActive: 1
132 | --- !u!108 &170076734
133 | Light:
134 | m_ObjectHideFlags: 0
135 | m_CorrespondingSourceObject: {fileID: 0}
136 | m_PrefabInternal: {fileID: 0}
137 | m_GameObject: {fileID: 170076733}
138 | m_Enabled: 1
139 | serializedVersion: 8
140 | m_Type: 1
141 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
142 | m_Intensity: 1
143 | m_Range: 10
144 | m_SpotAngle: 30
145 | m_CookieSize: 10
146 | m_Shadows:
147 | m_Type: 2
148 | m_Resolution: -1
149 | m_CustomResolution: -1
150 | m_Strength: 1
151 | m_Bias: 0.05
152 | m_NormalBias: 0.4
153 | m_NearPlane: 0.2
154 | m_Cookie: {fileID: 0}
155 | m_DrawHalo: 0
156 | m_Flare: {fileID: 0}
157 | m_RenderMode: 0
158 | m_CullingMask:
159 | serializedVersion: 2
160 | m_Bits: 4294967295
161 | m_Lightmapping: 1
162 | m_LightShadowCasterMode: 0
163 | m_AreaSize: {x: 1, y: 1}
164 | m_BounceIntensity: 1
165 | m_ColorTemperature: 6570
166 | m_UseColorTemperature: 0
167 | m_ShadowRadius: 0
168 | m_ShadowAngle: 0
169 | --- !u!4 &170076735
170 | Transform:
171 | m_ObjectHideFlags: 0
172 | m_CorrespondingSourceObject: {fileID: 0}
173 | m_PrefabInternal: {fileID: 0}
174 | m_GameObject: {fileID: 170076733}
175 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
176 | m_LocalPosition: {x: 0, y: 3, z: 0}
177 | m_LocalScale: {x: 1, y: 1, z: 1}
178 | m_Children: []
179 | m_Father: {fileID: 0}
180 | m_RootOrder: 1
181 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
182 | --- !u!1 &534669902
183 | GameObject:
184 | m_ObjectHideFlags: 0
185 | m_CorrespondingSourceObject: {fileID: 0}
186 | m_PrefabInternal: {fileID: 0}
187 | serializedVersion: 6
188 | m_Component:
189 | - component: {fileID: 534669905}
190 | - component: {fileID: 534669904}
191 | - component: {fileID: 534669903}
192 | m_Layer: 0
193 | m_Name: Main Camera
194 | m_TagString: MainCamera
195 | m_Icon: {fileID: 0}
196 | m_NavMeshLayer: 0
197 | m_StaticEditorFlags: 0
198 | m_IsActive: 1
199 | --- !u!81 &534669903
200 | AudioListener:
201 | m_ObjectHideFlags: 0
202 | m_CorrespondingSourceObject: {fileID: 0}
203 | m_PrefabInternal: {fileID: 0}
204 | m_GameObject: {fileID: 534669902}
205 | m_Enabled: 1
206 | --- !u!20 &534669904
207 | Camera:
208 | m_ObjectHideFlags: 0
209 | m_CorrespondingSourceObject: {fileID: 0}
210 | m_PrefabInternal: {fileID: 0}
211 | m_GameObject: {fileID: 534669902}
212 | m_Enabled: 1
213 | serializedVersion: 2
214 | m_ClearFlags: 1
215 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
216 | m_projectionMatrixMode: 1
217 | m_SensorSize: {x: 36, y: 24}
218 | m_LensShift: {x: 0, y: 0}
219 | m_GateFitMode: 2
220 | m_FocalLength: 50
221 | m_NormalizedViewPortRect:
222 | serializedVersion: 2
223 | x: 0
224 | y: 0
225 | width: 1
226 | height: 1
227 | near clip plane: 0.3
228 | far clip plane: 1000
229 | field of view: 60
230 | orthographic: 0
231 | orthographic size: 5
232 | m_Depth: -1
233 | m_CullingMask:
234 | serializedVersion: 2
235 | m_Bits: 4294967295
236 | m_RenderingPath: -1
237 | m_TargetTexture: {fileID: 0}
238 | m_TargetDisplay: 0
239 | m_TargetEye: 3
240 | m_HDR: 1
241 | m_AllowMSAA: 1
242 | m_AllowDynamicResolution: 0
243 | m_ForceIntoRT: 0
244 | m_OcclusionCulling: 1
245 | m_StereoConvergence: 10
246 | m_StereoSeparation: 0.022
247 | --- !u!4 &534669905
248 | Transform:
249 | m_ObjectHideFlags: 0
250 | m_CorrespondingSourceObject: {fileID: 0}
251 | m_PrefabInternal: {fileID: 0}
252 | m_GameObject: {fileID: 534669902}
253 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
254 | m_LocalPosition: {x: 0, y: 1, z: -10}
255 | m_LocalScale: {x: 1, y: 1, z: 1}
256 | m_Children: []
257 | m_Father: {fileID: 0}
258 | m_RootOrder: 0
259 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
260 |
--------------------------------------------------------------------------------
/AndroidStudio/app/app.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | generateDebugSources
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
--------------------------------------------------------------------------------
/Unity/Android Live Wallpaper/ProjectSettings/ProjectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!129 &1
4 | PlayerSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 15
7 | productGUID: 8ad3ea9fe81564a4ca3ce3a41e03f644
8 | AndroidProfiler: 0
9 | AndroidFilterTouchesWhenObscured: 0
10 | AndroidEnableSustainedPerformanceMode: 0
11 | defaultScreenOrientation: 4
12 | targetDevice: 2
13 | useOnDemandResources: 0
14 | accelerometerFrequency: 60
15 | companyName: DefaultCompany
16 | productName: Android Live Wallpaper
17 | defaultCursor: {fileID: 0}
18 | cursorHotspot: {x: 0, y: 0}
19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
20 | m_ShowUnitySplashScreen: 1
21 | m_ShowUnitySplashLogo: 1
22 | m_SplashScreenOverlayOpacity: 1
23 | m_SplashScreenAnimation: 1
24 | m_SplashScreenLogoStyle: 1
25 | m_SplashScreenDrawMode: 0
26 | m_SplashScreenBackgroundAnimationZoom: 1
27 | m_SplashScreenLogoAnimationZoom: 1
28 | m_SplashScreenBackgroundLandscapeAspect: 1
29 | m_SplashScreenBackgroundPortraitAspect: 1
30 | m_SplashScreenBackgroundLandscapeUvs:
31 | serializedVersion: 2
32 | x: 0
33 | y: 0
34 | width: 1
35 | height: 1
36 | m_SplashScreenBackgroundPortraitUvs:
37 | serializedVersion: 2
38 | x: 0
39 | y: 0
40 | width: 1
41 | height: 1
42 | m_SplashScreenLogos: []
43 | m_VirtualRealitySplashScreen: {fileID: 0}
44 | m_HolographicTrackingLossScreen: {fileID: 0}
45 | defaultScreenWidth: 1024
46 | defaultScreenHeight: 768
47 | defaultScreenWidthWeb: 960
48 | defaultScreenHeightWeb: 600
49 | m_StereoRenderingPath: 0
50 | m_ActiveColorSpace: 0
51 | m_MTRendering: 1
52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000
53 | iosShowActivityIndicatorOnLoading: -1
54 | androidShowActivityIndicatorOnLoading: -1
55 | iosAppInBackgroundBehavior: 0
56 | displayResolutionDialog: 1
57 | iosAllowHTTPDownload: 1
58 | allowedAutorotateToPortrait: 1
59 | allowedAutorotateToPortraitUpsideDown: 1
60 | allowedAutorotateToLandscapeRight: 1
61 | allowedAutorotateToLandscapeLeft: 1
62 | useOSAutorotation: 1
63 | use32BitDisplayBuffer: 1
64 | preserveFramebufferAlpha: 0
65 | disableDepthAndStencilBuffers: 0
66 | androidStartInFullscreen: 1
67 | androidRenderOutsideSafeArea: 0
68 | androidBlitType: 0
69 | defaultIsNativeResolution: 1
70 | macRetinaSupport: 1
71 | runInBackground: 1
72 | captureSingleScreen: 0
73 | muteOtherAudioSources: 0
74 | Prepare IOS For Recording: 0
75 | Force IOS Speakers When Recording: 0
76 | deferSystemGesturesMode: 0
77 | hideHomeButton: 0
78 | submitAnalytics: 1
79 | usePlayerLog: 1
80 | bakeCollisionMeshes: 0
81 | forceSingleInstance: 0
82 | resizableWindow: 0
83 | useMacAppStoreValidation: 0
84 | macAppStoreCategory: public.app-category.games
85 | gpuSkinning: 1
86 | graphicsJobs: 0
87 | xboxPIXTextureCapture: 0
88 | xboxEnableAvatar: 0
89 | xboxEnableKinect: 0
90 | xboxEnableKinectAutoTracking: 0
91 | xboxEnableFitness: 0
92 | visibleInBackground: 1
93 | allowFullscreenSwitch: 1
94 | graphicsJobMode: 0
95 | fullscreenMode: 1
96 | xboxSpeechDB: 0
97 | xboxEnableHeadOrientation: 0
98 | xboxEnableGuest: 0
99 | xboxEnablePIXSampling: 0
100 | metalFramebufferOnly: 0
101 | xboxOneResolution: 0
102 | xboxOneSResolution: 0
103 | xboxOneXResolution: 3
104 | xboxOneMonoLoggingLevel: 0
105 | xboxOneLoggingLevel: 1
106 | xboxOneDisableEsram: 0
107 | xboxOnePresentImmediateThreshold: 0
108 | switchQueueCommandMemory: 0
109 | switchQueueControlMemory: 16384
110 | switchQueueComputeMemory: 262144
111 | switchNVNShaderPoolsGranularity: 33554432
112 | switchNVNDefaultPoolsGranularity: 16777216
113 | switchNVNOtherPoolsGranularity: 16777216
114 | vulkanEnableSetSRGBWrite: 0
115 | m_SupportedAspectRatios:
116 | 4:3: 1
117 | 5:4: 1
118 | 16:10: 1
119 | 16:9: 1
120 | Others: 1
121 | bundleVersion: 0.1
122 | preloadedAssets: []
123 | metroInputSource: 0
124 | wsaTransparentSwapchain: 0
125 | m_HolographicPauseOnTrackingLoss: 1
126 | xboxOneDisableKinectGpuReservation: 1
127 | xboxOneEnable7thCore: 1
128 | isWsaHolographicRemotingEnabled: 0
129 | vrSettings:
130 | cardboard:
131 | depthFormat: 0
132 | enableTransitionView: 0
133 | daydream:
134 | depthFormat: 0
135 | useSustainedPerformanceMode: 0
136 | enableVideoLayer: 0
137 | useProtectedVideoMemory: 0
138 | minimumSupportedHeadTracking: 0
139 | maximumSupportedHeadTracking: 1
140 | hololens:
141 | depthFormat: 1
142 | depthBufferSharingEnabled: 1
143 | oculus:
144 | sharedDepthBuffer: 1
145 | dashSupport: 1
146 | lowOverheadMode: 0
147 | protectedContext: 0
148 | v2Signing: 0
149 | enable360StereoCapture: 0
150 | protectGraphicsMemory: 0
151 | enableFrameTimingStats: 0
152 | useHDRDisplay: 0
153 | m_ColorGamuts: 00000000
154 | targetPixelDensity: 30
155 | resolutionScalingMode: 0
156 | androidSupportedAspectRatio: 1
157 | androidMaxAspectRatio: 2.1
158 | applicationIdentifier:
159 | Android: com.android.wallpaper
160 | buildNumber: {}
161 | AndroidBundleVersionCode: 1
162 | AndroidMinSdkVersion: 16
163 | AndroidTargetSdkVersion: 0
164 | AndroidPreferredInstallLocation: 1
165 | aotOptions:
166 | stripEngineCode: 1
167 | iPhoneStrippingLevel: 0
168 | iPhoneScriptCallOptimization: 0
169 | ForceInternetPermission: 0
170 | ForceSDCardPermission: 0
171 | CreateWallpaper: 0
172 | APKExpansionFiles: 0
173 | keepLoadedShadersAlive: 0
174 | StripUnusedMeshComponents: 1
175 | VertexChannelCompressionMask: 4054
176 | iPhoneSdkVersion: 988
177 | iOSTargetOSVersionString: 9.0
178 | tvOSSdkVersion: 0
179 | tvOSRequireExtendedGameController: 0
180 | tvOSTargetOSVersionString: 9.0
181 | uIPrerenderedIcon: 0
182 | uIRequiresPersistentWiFi: 0
183 | uIRequiresFullScreen: 1
184 | uIStatusBarHidden: 1
185 | uIExitOnSuspend: 0
186 | uIStatusBarStyle: 0
187 | iPhoneSplashScreen: {fileID: 0}
188 | iPhoneHighResSplashScreen: {fileID: 0}
189 | iPhoneTallHighResSplashScreen: {fileID: 0}
190 | iPhone47inSplashScreen: {fileID: 0}
191 | iPhone55inPortraitSplashScreen: {fileID: 0}
192 | iPhone55inLandscapeSplashScreen: {fileID: 0}
193 | iPhone58inPortraitSplashScreen: {fileID: 0}
194 | iPhone58inLandscapeSplashScreen: {fileID: 0}
195 | iPadPortraitSplashScreen: {fileID: 0}
196 | iPadHighResPortraitSplashScreen: {fileID: 0}
197 | iPadLandscapeSplashScreen: {fileID: 0}
198 | iPadHighResLandscapeSplashScreen: {fileID: 0}
199 | appleTVSplashScreen: {fileID: 0}
200 | appleTVSplashScreen2x: {fileID: 0}
201 | tvOSSmallIconLayers: []
202 | tvOSSmallIconLayers2x: []
203 | tvOSLargeIconLayers: []
204 | tvOSLargeIconLayers2x: []
205 | tvOSTopShelfImageLayers: []
206 | tvOSTopShelfImageLayers2x: []
207 | tvOSTopShelfImageWideLayers: []
208 | tvOSTopShelfImageWideLayers2x: []
209 | iOSLaunchScreenType: 0
210 | iOSLaunchScreenPortrait: {fileID: 0}
211 | iOSLaunchScreenLandscape: {fileID: 0}
212 | iOSLaunchScreenBackgroundColor:
213 | serializedVersion: 2
214 | rgba: 0
215 | iOSLaunchScreenFillPct: 100
216 | iOSLaunchScreenSize: 100
217 | iOSLaunchScreenCustomXibPath:
218 | iOSLaunchScreeniPadType: 0
219 | iOSLaunchScreeniPadImage: {fileID: 0}
220 | iOSLaunchScreeniPadBackgroundColor:
221 | serializedVersion: 2
222 | rgba: 0
223 | iOSLaunchScreeniPadFillPct: 100
224 | iOSLaunchScreeniPadSize: 100
225 | iOSLaunchScreeniPadCustomXibPath:
226 | iOSUseLaunchScreenStoryboard: 0
227 | iOSLaunchScreenCustomStoryboardPath:
228 | iOSDeviceRequirements: []
229 | iOSURLSchemes: []
230 | iOSBackgroundModes: 0
231 | iOSMetalForceHardShadows: 0
232 | metalEditorSupport: 1
233 | metalAPIValidation: 1
234 | iOSRenderExtraFrameOnPause: 0
235 | appleDeveloperTeamID:
236 | iOSManualSigningProvisioningProfileID:
237 | tvOSManualSigningProvisioningProfileID:
238 | iOSManualSigningProvisioningProfileType: 0
239 | tvOSManualSigningProvisioningProfileType: 0
240 | appleEnableAutomaticSigning: 0
241 | iOSRequireARKit: 0
242 | iOSAutomaticallyDetectAndAddCapabilities: 1
243 | appleEnableProMotion: 0
244 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea
245 | templatePackageId: com.unity.template.3d@1.3.0
246 | templateDefaultScene: Assets/Scenes/SampleScene.unity
247 | AndroidTargetArchitectures: 5
248 | AndroidSplashScreenScale: 0
249 | androidSplashScreen: {fileID: 0}
250 | AndroidKeystoreName:
251 | AndroidKeyaliasName:
252 | AndroidBuildApkPerCpuArchitecture: 0
253 | AndroidTVCompatibility: 1
254 | AndroidIsGame: 1
255 | AndroidEnableTango: 0
256 | androidEnableBanner: 1
257 | androidUseLowAccuracyLocation: 0
258 | m_AndroidBanners:
259 | - width: 320
260 | height: 180
261 | banner: {fileID: 0}
262 | androidGamepadSupportLevel: 0
263 | resolutionDialogBanner: {fileID: 0}
264 | m_BuildTargetIcons: []
265 | m_BuildTargetPlatformIcons:
266 | - m_BuildTarget: Android
267 | m_Icons:
268 | - m_Textures: []
269 | m_Width: 432
270 | m_Height: 432
271 | m_Kind: 2
272 | m_SubKind:
273 | - m_Textures: []
274 | m_Width: 324
275 | m_Height: 324
276 | m_Kind: 2
277 | m_SubKind:
278 | - m_Textures: []
279 | m_Width: 216
280 | m_Height: 216
281 | m_Kind: 2
282 | m_SubKind:
283 | - m_Textures: []
284 | m_Width: 162
285 | m_Height: 162
286 | m_Kind: 2
287 | m_SubKind:
288 | - m_Textures: []
289 | m_Width: 108
290 | m_Height: 108
291 | m_Kind: 2
292 | m_SubKind:
293 | - m_Textures: []
294 | m_Width: 81
295 | m_Height: 81
296 | m_Kind: 2
297 | m_SubKind:
298 | - m_Textures: []
299 | m_Width: 192
300 | m_Height: 192
301 | m_Kind: 0
302 | m_SubKind:
303 | - m_Textures: []
304 | m_Width: 144
305 | m_Height: 144
306 | m_Kind: 0
307 | m_SubKind:
308 | - m_Textures: []
309 | m_Width: 96
310 | m_Height: 96
311 | m_Kind: 0
312 | m_SubKind:
313 | - m_Textures: []
314 | m_Width: 72
315 | m_Height: 72
316 | m_Kind: 0
317 | m_SubKind:
318 | - m_Textures: []
319 | m_Width: 48
320 | m_Height: 48
321 | m_Kind: 0
322 | m_SubKind:
323 | - m_Textures: []
324 | m_Width: 36
325 | m_Height: 36
326 | m_Kind: 0
327 | m_SubKind:
328 | - m_Textures: []
329 | m_Width: 192
330 | m_Height: 192
331 | m_Kind: 1
332 | m_SubKind:
333 | - m_Textures: []
334 | m_Width: 144
335 | m_Height: 144
336 | m_Kind: 1
337 | m_SubKind:
338 | - m_Textures: []
339 | m_Width: 96
340 | m_Height: 96
341 | m_Kind: 1
342 | m_SubKind:
343 | - m_Textures: []
344 | m_Width: 72
345 | m_Height: 72
346 | m_Kind: 1
347 | m_SubKind:
348 | - m_Textures: []
349 | m_Width: 48
350 | m_Height: 48
351 | m_Kind: 1
352 | m_SubKind:
353 | - m_Textures: []
354 | m_Width: 36
355 | m_Height: 36
356 | m_Kind: 1
357 | m_SubKind:
358 | m_BuildTargetBatching:
359 | - m_BuildTarget: Standalone
360 | m_StaticBatching: 1
361 | m_DynamicBatching: 0
362 | - m_BuildTarget: tvOS
363 | m_StaticBatching: 1
364 | m_DynamicBatching: 0
365 | - m_BuildTarget: Android
366 | m_StaticBatching: 1
367 | m_DynamicBatching: 0
368 | - m_BuildTarget: iPhone
369 | m_StaticBatching: 1
370 | m_DynamicBatching: 0
371 | - m_BuildTarget: WebGL
372 | m_StaticBatching: 0
373 | m_DynamicBatching: 0
374 | m_BuildTargetGraphicsAPIs:
375 | - m_BuildTarget: AndroidPlayer
376 | m_APIs: 0b00000008000000
377 | m_Automatic: 1
378 | - m_BuildTarget: iOSSupport
379 | m_APIs: 10000000
380 | m_Automatic: 1
381 | - m_BuildTarget: AppleTVSupport
382 | m_APIs: 10000000
383 | m_Automatic: 0
384 | - m_BuildTarget: WebGLSupport
385 | m_APIs: 0b000000
386 | m_Automatic: 1
387 | m_BuildTargetVRSettings:
388 | - m_BuildTarget: Standalone
389 | m_Enabled: 0
390 | m_Devices:
391 | - Oculus
392 | - OpenVR
393 | m_BuildTargetEnableVuforiaSettings: []
394 | openGLRequireES31: 0
395 | openGLRequireES31AEP: 0
396 | m_TemplateCustomTags: {}
397 | mobileMTRendering:
398 | Android: 1
399 | iPhone: 1
400 | tvOS: 1
401 | m_BuildTargetGroupLightmapEncodingQuality: []
402 | m_BuildTargetGroupLightmapSettings: []
403 | playModeTestRunnerEnabled: 0
404 | runPlayModeTestAsEditModeTest: 0
405 | actionOnDotNetUnhandledException: 1
406 | enableInternalProfiler: 0
407 | logObjCUncaughtExceptions: 1
408 | enableCrashReportAPI: 0
409 | cameraUsageDescription:
410 | locationUsageDescription:
411 | microphoneUsageDescription:
412 | switchNetLibKey:
413 | switchSocketMemoryPoolSize: 6144
414 | switchSocketAllocatorPoolSize: 128
415 | switchSocketConcurrencyLimit: 14
416 | switchScreenResolutionBehavior: 2
417 | switchUseCPUProfiler: 0
418 | switchApplicationID: 0x01004b9000490000
419 | switchNSODependencies:
420 | switchTitleNames_0:
421 | switchTitleNames_1:
422 | switchTitleNames_2:
423 | switchTitleNames_3:
424 | switchTitleNames_4:
425 | switchTitleNames_5:
426 | switchTitleNames_6:
427 | switchTitleNames_7:
428 | switchTitleNames_8:
429 | switchTitleNames_9:
430 | switchTitleNames_10:
431 | switchTitleNames_11:
432 | switchTitleNames_12:
433 | switchTitleNames_13:
434 | switchTitleNames_14:
435 | switchPublisherNames_0:
436 | switchPublisherNames_1:
437 | switchPublisherNames_2:
438 | switchPublisherNames_3:
439 | switchPublisherNames_4:
440 | switchPublisherNames_5:
441 | switchPublisherNames_6:
442 | switchPublisherNames_7:
443 | switchPublisherNames_8:
444 | switchPublisherNames_9:
445 | switchPublisherNames_10:
446 | switchPublisherNames_11:
447 | switchPublisherNames_12:
448 | switchPublisherNames_13:
449 | switchPublisherNames_14:
450 | switchIcons_0: {fileID: 0}
451 | switchIcons_1: {fileID: 0}
452 | switchIcons_2: {fileID: 0}
453 | switchIcons_3: {fileID: 0}
454 | switchIcons_4: {fileID: 0}
455 | switchIcons_5: {fileID: 0}
456 | switchIcons_6: {fileID: 0}
457 | switchIcons_7: {fileID: 0}
458 | switchIcons_8: {fileID: 0}
459 | switchIcons_9: {fileID: 0}
460 | switchIcons_10: {fileID: 0}
461 | switchIcons_11: {fileID: 0}
462 | switchIcons_12: {fileID: 0}
463 | switchIcons_13: {fileID: 0}
464 | switchIcons_14: {fileID: 0}
465 | switchSmallIcons_0: {fileID: 0}
466 | switchSmallIcons_1: {fileID: 0}
467 | switchSmallIcons_2: {fileID: 0}
468 | switchSmallIcons_3: {fileID: 0}
469 | switchSmallIcons_4: {fileID: 0}
470 | switchSmallIcons_5: {fileID: 0}
471 | switchSmallIcons_6: {fileID: 0}
472 | switchSmallIcons_7: {fileID: 0}
473 | switchSmallIcons_8: {fileID: 0}
474 | switchSmallIcons_9: {fileID: 0}
475 | switchSmallIcons_10: {fileID: 0}
476 | switchSmallIcons_11: {fileID: 0}
477 | switchSmallIcons_12: {fileID: 0}
478 | switchSmallIcons_13: {fileID: 0}
479 | switchSmallIcons_14: {fileID: 0}
480 | switchManualHTML:
481 | switchAccessibleURLs:
482 | switchLegalInformation:
483 | switchMainThreadStackSize: 1048576
484 | switchPresenceGroupId:
485 | switchLogoHandling: 0
486 | switchReleaseVersion: 0
487 | switchDisplayVersion: 1.0.0
488 | switchStartupUserAccount: 0
489 | switchTouchScreenUsage: 0
490 | switchSupportedLanguagesMask: 0
491 | switchLogoType: 0
492 | switchApplicationErrorCodeCategory:
493 | switchUserAccountSaveDataSize: 0
494 | switchUserAccountSaveDataJournalSize: 0
495 | switchApplicationAttribute: 0
496 | switchCardSpecSize: -1
497 | switchCardSpecClock: -1
498 | switchRatingsMask: 0
499 | switchRatingsInt_0: 0
500 | switchRatingsInt_1: 0
501 | switchRatingsInt_2: 0
502 | switchRatingsInt_3: 0
503 | switchRatingsInt_4: 0
504 | switchRatingsInt_5: 0
505 | switchRatingsInt_6: 0
506 | switchRatingsInt_7: 0
507 | switchRatingsInt_8: 0
508 | switchRatingsInt_9: 0
509 | switchRatingsInt_10: 0
510 | switchRatingsInt_11: 0
511 | switchLocalCommunicationIds_0:
512 | switchLocalCommunicationIds_1:
513 | switchLocalCommunicationIds_2:
514 | switchLocalCommunicationIds_3:
515 | switchLocalCommunicationIds_4:
516 | switchLocalCommunicationIds_5:
517 | switchLocalCommunicationIds_6:
518 | switchLocalCommunicationIds_7:
519 | switchParentalControl: 0
520 | switchAllowsScreenshot: 1
521 | switchAllowsVideoCapturing: 1
522 | switchAllowsRuntimeAddOnContentInstall: 0
523 | switchDataLossConfirmation: 0
524 | switchUserAccountLockEnabled: 0
525 | switchSystemResourceMemory: 16777216
526 | switchSupportedNpadStyles: 3
527 | switchNativeFsCacheSize: 32
528 | switchIsHoldTypeHorizontal: 0
529 | switchSupportedNpadCount: 8
530 | switchSocketConfigEnabled: 0
531 | switchTcpInitialSendBufferSize: 32
532 | switchTcpInitialReceiveBufferSize: 64
533 | switchTcpAutoSendBufferSizeMax: 256
534 | switchTcpAutoReceiveBufferSizeMax: 256
535 | switchUdpSendBufferSize: 9
536 | switchUdpReceiveBufferSize: 42
537 | switchSocketBufferEfficiency: 4
538 | switchSocketInitializeEnabled: 1
539 | switchNetworkInterfaceManagerInitializeEnabled: 1
540 | switchPlayerConnectionEnabled: 1
541 | ps4NPAgeRating: 12
542 | ps4NPTitleSecret:
543 | ps4NPTrophyPackPath:
544 | ps4ParentalLevel: 11
545 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000
546 | ps4Category: 0
547 | ps4MasterVersion: 01.00
548 | ps4AppVersion: 01.00
549 | ps4AppType: 0
550 | ps4ParamSfxPath:
551 | ps4VideoOutPixelFormat: 0
552 | ps4VideoOutInitialWidth: 1920
553 | ps4VideoOutBaseModeInitialWidth: 1920
554 | ps4VideoOutReprojectionRate: 60
555 | ps4PronunciationXMLPath:
556 | ps4PronunciationSIGPath:
557 | ps4BackgroundImagePath:
558 | ps4StartupImagePath:
559 | ps4StartupImagesFolder:
560 | ps4IconImagesFolder:
561 | ps4SaveDataImagePath:
562 | ps4SdkOverride:
563 | ps4BGMPath:
564 | ps4ShareFilePath:
565 | ps4ShareOverlayImagePath:
566 | ps4PrivacyGuardImagePath:
567 | ps4NPtitleDatPath:
568 | ps4RemotePlayKeyAssignment: -1
569 | ps4RemotePlayKeyMappingDir:
570 | ps4PlayTogetherPlayerCount: 0
571 | ps4EnterButtonAssignment: 1
572 | ps4ApplicationParam1: 0
573 | ps4ApplicationParam2: 0
574 | ps4ApplicationParam3: 0
575 | ps4ApplicationParam4: 0
576 | ps4DownloadDataSize: 0
577 | ps4GarlicHeapSize: 2048
578 | ps4ProGarlicHeapSize: 2560
579 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
580 | ps4pnSessions: 1
581 | ps4pnPresence: 1
582 | ps4pnFriends: 1
583 | ps4pnGameCustomData: 1
584 | playerPrefsSupport: 0
585 | enableApplicationExit: 0
586 | resetTempFolder: 1
587 | restrictedAudioUsageRights: 0
588 | ps4UseResolutionFallback: 0
589 | ps4ReprojectionSupport: 0
590 | ps4UseAudio3dBackend: 0
591 | ps4SocialScreenEnabled: 0
592 | ps4ScriptOptimizationLevel: 0
593 | ps4Audio3dVirtualSpeakerCount: 14
594 | ps4attribCpuUsage: 0
595 | ps4PatchPkgPath:
596 | ps4PatchLatestPkgPath:
597 | ps4PatchChangeinfoPath:
598 | ps4PatchDayOne: 0
599 | ps4attribUserManagement: 0
600 | ps4attribMoveSupport: 0
601 | ps4attrib3DSupport: 0
602 | ps4attribShareSupport: 0
603 | ps4attribExclusiveVR: 0
604 | ps4disableAutoHideSplash: 0
605 | ps4videoRecordingFeaturesUsed: 0
606 | ps4contentSearchFeaturesUsed: 0
607 | ps4attribEyeToEyeDistanceSettingVR: 0
608 | ps4IncludedModules: []
609 | monoEnv:
610 | splashScreenBackgroundSourceLandscape: {fileID: 0}
611 | splashScreenBackgroundSourcePortrait: {fileID: 0}
612 | spritePackerPolicy:
613 | webGLMemorySize: 256
614 | webGLExceptionSupport: 1
615 | webGLNameFilesAsHashes: 0
616 | webGLDataCaching: 1
617 | webGLDebugSymbols: 0
618 | webGLEmscriptenArgs:
619 | webGLModulesDirectory:
620 | webGLTemplate: APPLICATION:Default
621 | webGLAnalyzeBuildSize: 0
622 | webGLUseEmbeddedResources: 0
623 | webGLCompressionFormat: 1
624 | webGLLinkerTarget: 1
625 | webGLThreadsSupport: 0
626 | scriptingDefineSymbols: {}
627 | platformArchitecture: {}
628 | scriptingBackend: {}
629 | il2cppCompilerConfiguration: {}
630 | managedStrippingLevel: {}
631 | incrementalIl2cppBuild: {}
632 | allowUnsafeCode: 0
633 | additionalIl2CppArgs:
634 | scriptingRuntimeVersion: 1
635 | apiCompatibilityLevelPerPlatform: {}
636 | m_RenderingPath: 1
637 | m_MobileRenderingPath: 1
638 | metroPackageName: Template_3D
639 | metroPackageVersion:
640 | metroCertificatePath:
641 | metroCertificatePassword:
642 | metroCertificateSubject:
643 | metroCertificateIssuer:
644 | metroCertificateNotAfter: 0000000000000000
645 | metroApplicationDescription: Template_3D
646 | wsaImages: {}
647 | metroTileShortName:
648 | metroTileShowName: 0
649 | metroMediumTileShowName: 0
650 | metroLargeTileShowName: 0
651 | metroWideTileShowName: 0
652 | metroSupportStreamingInstall: 0
653 | metroLastRequiredScene: 0
654 | metroDefaultTileSize: 1
655 | metroTileForegroundText: 2
656 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0}
657 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628,
658 | a: 1}
659 | metroSplashScreenUseBackgroundColor: 0
660 | platformCapabilities: {}
661 | metroTargetDeviceFamilies: {}
662 | metroFTAName:
663 | metroFTAFileTypes: []
664 | metroProtocolName:
665 | metroCompilationOverrides: 1
666 | XboxOneProductId:
667 | XboxOneUpdateKey:
668 | XboxOneSandboxId:
669 | XboxOneContentId:
670 | XboxOneTitleId:
671 | XboxOneSCId:
672 | XboxOneGameOsOverridePath:
673 | XboxOnePackagingOverridePath:
674 | XboxOneAppManifestOverridePath:
675 | XboxOneVersion: 1.0.0.0
676 | XboxOnePackageEncryption: 0
677 | XboxOnePackageUpdateGranularity: 2
678 | XboxOneDescription:
679 | XboxOneLanguage:
680 | - enus
681 | XboxOneCapability: []
682 | XboxOneGameRating: {}
683 | XboxOneIsContentPackage: 0
684 | XboxOneEnableGPUVariability: 1
685 | XboxOneSockets: {}
686 | XboxOneSplashScreen: {fileID: 0}
687 | XboxOneAllowedProductIds: []
688 | XboxOnePersistentLocalStorageSize: 0
689 | XboxOneXTitleMemory: 8
690 | xboxOneScriptCompiler: 1
691 | XboxOneOverrideIdentityName:
692 | vrEditorSettings:
693 | daydream:
694 | daydreamIconForeground: {fileID: 0}
695 | daydreamIconBackground: {fileID: 0}
696 | cloudServicesEnabled:
697 | UNet: 1
698 | luminIcon:
699 | m_Name:
700 | m_ModelFolderPath:
701 | m_PortalFolderPath:
702 | luminCert:
703 | m_CertPath:
704 | m_PrivateKeyPath:
705 | luminIsChannelApp: 0
706 | luminVersion:
707 | m_VersionCode: 1
708 | m_VersionName:
709 | facebookSdkVersion: 7.9.4
710 | facebookAppId:
711 | facebookCookies: 1
712 | facebookLogging: 1
713 | facebookStatus: 1
714 | facebookXfbml: 0
715 | facebookFrictionlessRequests: 1
716 | apiCompatibilityLevel: 6
717 | cloudProjectId:
718 | framebufferDepthMemorylessMode: 0
719 | projectName:
720 | organizationId:
721 | cloudEnabled: 0
722 | enableNativePlatformBackendsForNewInputSystem: 0
723 | disableOldInputManagerSupport: 0
724 | legacyClampBlendShapeWeights: 0
725 |
--------------------------------------------------------------------------------