No description
Find a file
2024-12-08 01:51:09 -05:00
Assets maw sfx 2024-11-25 23:45:54 -05:00
Platforms initial hand tracking support 2024-12-08 01:51:09 -05:00
Projects/Android import signing props 2024-11-04 03:40:50 -05:00
src initial hand tracking support 2024-12-08 01:51:09 -05:00
.gitattributes ignore and track 2024-11-03 16:29:13 -05:00
.gitignore ignore third party fonts 2024-11-25 12:50:39 -05:00
android_icons.sh init commit after fatal local git file corruption 2024-11-03 16:30:32 -05:00
readme.md telescoping hanging rod 2024-12-08 01:23:08 -05:00
snake.csproj init commit after fatal local git file corruption 2024-11-03 16:30:32 -05:00

# 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