-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate levels for each Android asset and use recommended locations.
- Loading branch information
1 parent
aa150d0
commit 2508f2e
Showing
36 changed files
with
87 additions
and
13 deletions.
There are no files selected for viewing
Binary file removed
BIN
-12.5 KB
...oGame.2D.StartKit.CSharp/___SafeGameName___.Android/Resources/Drawable/Icon.png
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+3.31 KB
....2D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-hdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.7 KB
...D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.48 KB
....2D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-mdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.7 KB
...D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.2 KB
...2D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.5 KB
....StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.55 KB
...D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.6 KB
...StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.86 KB
....StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+114 KB
...tartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
...2D.StartKit.CSharp/___SafeGameName___.Android/Resources/values/ic_launcher_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="ic_launcher_background">#9ACEEB</color> | ||
</resources> |
4 changes: 4 additions & 0 deletions
4
...ntent/MonoGame.2D.StartKit.CSharp/___SafeGameName___.Android/Resources/values/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">___SafeGameName___</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...nt/MonoGame.2D.StartKit.CSharp/___SafeGameName___.Core/Content/android-icons-generator.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/zsh | ||
|
||
# Declare a constant variables | ||
readonly resources_base_path="../../___SafeGameName___.Android/Resources" | ||
readonly drawable_resources_path="$resources_base_path/drawable-" | ||
readonly mdpi="mdpi" | ||
readonly hdpi="hdpi" | ||
readonly xhdpi="xhdpi" | ||
readonly xxhdpi="xxhdpi" | ||
readonly xxxhdpi="xxxhdpi" | ||
|
||
echo "Generating Android icons" | ||
|
||
echo "Generating Android splash screens" | ||
mkdir -p "$drawable_resources_path$mdpi" | ||
mkdir -p "$drawable_resources_path$hdpi" | ||
mkdir -p "$drawable_resources_path$xhdpi" | ||
mkdir -p "$drawable_resources_path$xxhdpi" | ||
mkdir -p "$drawable_resources_path$xxxhdpi" | ||
|
||
sips -Z 48 icon-1024.png -o "$drawable_resources_path$mdpi/icon.png" | ||
sips -Z 72 icon-1024.png -o "$drawable_resources_path$hdpi/icon.png" | ||
sips -Z 96 icon-1024.png -o "$drawable_resources_path$xhdpi/icon.png" | ||
sips -Z 144 icon-1024.png -o "$drawable_resources_path$xxhdpi/icon.png" | ||
sips -Z 192 icon-1024.png -o "$drawable_resources_path$xxxhdpi/icon.png" | ||
|
||
sips -Z 470 splash.png -o "$drawable_resources_path$mdpi/splash.png" | ||
sips -Z 640 splash.png -o "$drawable_resources_path$hdpi/splash.png" | ||
sips -Z 960 splash.png -o "$drawable_resources_path$xhdpi/splash.png" | ||
sips -Z 1440 splash.png -o "$drawable_resources_path$xxhdpi/splash.png" | ||
sips -Z 1920 splash.png -o "$drawable_resources_path$xxxhdpi/splash.png" | ||
|
||
echo "Android Generation Complete!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Binary file removed
BIN
-12.5 KB
...Blank.2D.StartKit.CSharp/___SafeGameName___.Android/Resources/Drawable/Icon.png
Binary file not shown.
Binary file added
BIN
+3.31 KB
....2D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-hdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.7 KB
...D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.48 KB
....2D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-mdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.7 KB
...D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.2 KB
...2D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.5 KB
....StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.55 KB
...D.StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.6 KB
...StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.86 KB
....StartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+114 KB
...tartKit.CSharp/___SafeGameName___.Android/Resources/drawable-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
...2D.StartKit.CSharp/___SafeGameName___.Android/Resources/values/ic_launcher_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="ic_launcher_background">#9ACEEB</color> | ||
</resources> |
4 changes: 4 additions & 0 deletions
4
...MonoGame.Blank.2D.StartKit.CSharp/___SafeGameName___.Android/Resources/values/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">___SafeGameName___</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...oGame.Blank.2D.StartKit.CSharp/___SafeGameName___.Core/Content/android-icons-generator.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/zsh | ||
|
||
# Declare a constant variables | ||
readonly resources_base_path="../../___SafeGameName___.Android/Resources" | ||
readonly drawable_resources_path="$resources_base_path/drawable-" | ||
readonly mdpi="mdpi" | ||
readonly hdpi="hdpi" | ||
readonly xhdpi="xhdpi" | ||
readonly xxhdpi="xxhdpi" | ||
readonly xxxhdpi="xxxhdpi" | ||
|
||
echo "Generating Android icons" | ||
|
||
echo "Generating Android splash screens" | ||
mkdir -p "$drawable_resources_path$mdpi" | ||
mkdir -p "$drawable_resources_path$hdpi" | ||
mkdir -p "$drawable_resources_path$xhdpi" | ||
mkdir -p "$drawable_resources_path$xxhdpi" | ||
mkdir -p "$drawable_resources_path$xxxhdpi" | ||
|
||
sips -Z 48 icon-1024.png -o "$drawable_resources_path$mdpi/icon.png" | ||
sips -Z 72 icon-1024.png -o "$drawable_resources_path$hdpi/icon.png" | ||
sips -Z 96 icon-1024.png -o "$drawable_resources_path$xhdpi/icon.png" | ||
sips -Z 144 icon-1024.png -o "$drawable_resources_path$xxhdpi/icon.png" | ||
sips -Z 192 icon-1024.png -o "$drawable_resources_path$xxxhdpi/icon.png" | ||
|
||
sips -Z 470 splash.png -o "$drawable_resources_path$mdpi/splash.png" | ||
sips -Z 640 splash.png -o "$drawable_resources_path$hdpi/splash.png" | ||
sips -Z 960 splash.png -o "$drawable_resources_path$xhdpi/splash.png" | ||
sips -Z 1440 splash.png -o "$drawable_resources_path$xxhdpi/splash.png" | ||
sips -Z 1920 splash.png -o "$drawable_resources_path$xxxhdpi/splash.png" | ||
|
||
echo "Android Generation Complete!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes