Adjusting metadata for release

This commit is contained in:
Gordon Pedersen 2023-05-23 09:32:35 +10:00
parent 36d30107d0
commit a7d87919b0
10 changed files with 16 additions and 3 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
settings-debug.txt settings-debug.txt
screenshot*.png

View file

@ -8,7 +8,7 @@ def init(args)
if args.gtk.platform?(:mobile) if args.gtk.platform?(:mobile)
args.gtk.set_window_fullscreen(true) args.gtk.set_window_fullscreen(true)
end end
end end
# Code that runs every game tick (mainly just calling other ticks) # Code that runs every game tick (mainly just calling other ticks)
def tick(args) def tick(args)
@ -29,6 +29,16 @@ def tick(args)
scene.tick(args) if scene.tick_in_background || scene == args.state.scene_stack.last scene.tick(args) if scene.tick_in_background || scene == args.state.scene_stack.last
end end
if args.inputs.keyboard.key_down.home
screenshot_file_name = 'screenshot.png'
screenshot_file_count = 0
while $gtk.read_file(screenshot_file_name)
screenshot_file_count += 1
screenshot_file_name = "screenshot#{screenshot_file_count}.png"
end
args.outputs.screenshots << { x: 0, y: 0, w: args.grid.w, h: args.grid.h, path: screenshot_file_name }
end
debug_tick(args) debug_tick(args)
rescue FinishTick rescue FinishTick
end end

BIN
metadata/cover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
metadata/feature.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 KiB

BIN
metadata/feature_w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 KiB

View file

@ -1,8 +1,8 @@
devid=death.au devid=deathau
devtitle=death.au devtitle=death.au
gameid=cube-tube gameid=cube-tube
gametitle=Cube Tube gametitle=Cube Tube
version=0.1-dev version=0.1.0
icon=metadata/icon.png icon=metadata/icon.png
# === Flags available at all licensing tiers === # === Flags available at all licensing tiers ===

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
metadata/icon-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
metadata/tile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -15,6 +15,8 @@ if not exist ./%CurrDirName%.keystore (
if exist ./%CurrDirName%-android.apk ( if exist ./%CurrDirName%-android.apk (
echo "Signing apk..." echo "Signing apk..."
call "C:\Program Files (x86)\Android\android-sdk\build-tools\32.0.0\apksigner.bat" sign -ks %CurrDirName%.keystore %CurrDirName%-android.apk call "C:\Program Files (x86)\Android\android-sdk\build-tools\32.0.0\apksigner.bat" sign -ks %CurrDirName%.keystore %CurrDirName%-android.apk
echo "Signing aab..."
call jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore %CurrDirName%.keystore %CurrDirName%-googleplay.aab %CurrDirName%
) else ( ) else (
ECHO "no apk?" ECHO "no apk?"
ECHO ./%CurrDirName%-android.apk ECHO ./%CurrDirName%-android.apk