snake/readme.md

78 lines
No EOL
2.7 KiB
Markdown

- [fb passthrough resource](https://www.aesiio.com/blog/passthrough-dot-net-core)
- [fb passthrough tool source](https://github.com/StereoKit/StereoKit/blob/master/Examples/StereoKitTest/Tools/PassthroughFBExt.cs)
```shell
# local fish function to get around the repeating auth check
auto_ssh
# track lfs
git lfs track "*.mp3"
git lfs track "*.glb"
git lfs track "*.png"
ffmpeg -i input.ogg output.wav
# update icon from svg
magick -background none -density 256x256 Raw/icon.svg -define icon:auto-resize=256,128,64,48,32,16 Platforms/Net/App.ico
./android_icons.sh Raw/icon.svg
adb devices
adb tcpip 5555
adb shell ip -f inet addr show wlan0
adb connect 192.168.1.219
# publish build
# increment version in Platforms/Android/AndroidManifest.xml
dotnet publish -c Release Projects/Android/snake.Android.csproj
# adb install Projects/Android/bin/Release/net7.0-android/com.dofdev.snake-Signed.apk
# upload quest
source .env
./ovr-platform-util upload-quest-build -a $APP_ID -s $APP_SECRET --apk $APK_PATH -c alpha -n "message"
# debug
adb logcat | grep com.dofdev.snake
# install a specific android platform
sdkmanager "platforms;android-33" "build-tools;33.0.0"
```
```
todo
target audience/experience
~13-18-year-olds who enjoy competitive, skill-based, solo gaming
seated experience on the Meta Quest 3/3S
moderate learning curve
stylized visuals
fun to play daily for a couple weeks or so
playable with a half engaging vid or conversation in the background
make depth easier to judge
pseudo light source is coming from your face (maybe at a diagonal *higher up* angler fish)
benchmark
need to be able to play without moving/turning the box
DepthTest Material.DepthTest { get; set; }
you could use DepthTest.Greater to draw a glow that indicates an object is behind something.
start music on egg eat
to keep prior tutorial phase focused and a strong indication that auto move has kicked in
my tempo (zen mode *after initial release*)
on l_con tap (a) btn to step, and repeatedly to set tempo
once a tempo has been set you can stop tapping and you'll coast at that tempo
if you tap again it resets the tempo latch, so if you just tapped once it's an easy way to pause
and if you keep tapping you can control your pace and find a new tempo
long press (a) or tap (b) btn
to switch into coasting on tempo, in order to maintain the most control in ramping up and down speed with tapping without the tempo kicking in prematurely
this makes it easier to play alongside a video, as your attention span can drift in and out
and you can take tougher parts slower
bug(s)
snake can accidentally cover the menu
```