Android Port #64
Reference in New Issue
Block a user
No description provided.
Delete Branch "nutbuster/SnootGame:Monster-Update-6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See: https://booru.snootgame.xyz/post/1967 for proof of the android port working, excuse the performance since my Phone isn't that fast.
Throw all this text into this git's Wiki:
Guide on how to build the android mobile port on real hardware
Prerequisite
Get An acutal phone with developer mode enabled (rooting isn't required)
adb - Android Debug Bridge (optional)
scrcpy (optional, think of it as wired remote play or something) https://github.com/Genymobile/scrcpy
Steps
Install Java's OpenJDK8 Stuff - not to be confused with just only the OpenJRE
Install SDK & Create Keys - I think somewhere down the line you do get your freedoms violated because google and mobile phones in general but moving past that
Configuring
You can press on 'Configure' and go through this crap:
OR
copy this into '.android.json'
{"layout": null, "package": "cavemanon.snootgame", "include_pil": false, "numeric_version": "600", "expansion": false, "name": "Snoot Game", "update_always": true, "source": false, "icon_name": "SnootGame", "version": "6.0.0", "heap_size": "2", "update_icons": true, "permissions": ["VIBRATE"], "include_sqlite": false, "store": "none", "orientation": "sensorLandscape"}
Because for some dumb reason "google_play_key" & "google_play_salt" is in the same json build file, so the file isn't tracked. Oddly enough vibration is part of the permissions (the user won't be asked - some permissions have different levels, read the android developer docs for more info)
Toggle 'Release' instead of 'Debug' if you're going to distribute or don't care about debugging
Press 'Build Package' to build the apk file. Build & .. is only useful if you have usb debugging & adb installed & developer mode.
You can manually install the snootgame apk on your phone, copy the file over to your phone, then find the file and tap it, it should prompt installation of the apk.
Optional Recording with scrcpy
scrcpy is used to record/playback your phone's display easily onto your computer,
you can interact the phone with your mouse on the streamed display on your computer.
It still requires adb
Other documentation
https://www.renpy.org/doc/html/android.html
Phone Assets (all in the root folder)
android-icon_foreground.png
The foreground layer of the icon. This should be 432x432 pixels and transparent.
android-icon_background.png
The background layer of the icon. This should be 432x432 pixels and opaque.
android-presplash.jpg
The image that's used when the app is loading. This should be surrounded by a monocolored border. That border is expanded to fill the screen.
finally getting around to review this (was out for a month due to college shit, fuck college)
anywho, this is what I notice so far
UI here is a bit fucky, maybe move the entire box down a bit?
The space between the bottom of the screen and text box bugs me. Maybe putting the buttons at the top would be good? I don't mind being over-ruled on this one if other people think its fine as is.
the name box clips just a little bit
Other than that, looks fine. Anyone else wanna look at this one?
Namebox text doesn't clip, main menu buttons don't clip the logo.
Having buttons closer to the center of the screen is pretty weird, most of the UI in this world doesn't really do that, it always hugs towards the edge of the screen.
any other comments? Will get 24 hours then merge