skulls/README.md

1.5 KiB

Skulls is simple Columns-like strategy game developed in Golang with the Ebiten library (for Android)

ex2
gomobile, build .apk for development and testing:
  
// Navigate to skulls/ and generate a .apk with skullsgomobile/:
gomobile build -target=android github.com/rootVIII/skulls/skullsgomobile

// Install the newly created .apk into an already running Android Emulator (from Android Studio):
adb -s emulator-5554  install skullsgomobile.apk

// view logging output from the game:
adb logcat

// Note that I use a pixel4 emulator. I have an alias stored in my profile to open it easily via terminal:
alias pixel4='$ANDROID_HOME/emulator/emulator -avd "Pixel_4_API_30"'
  
ebitenmobile, build .aar for Android Studio binding:
  
// Navigate to skulls/ and generate the .aar binding:
ebitenmobile bind -target android -javapkg com.<your username>.skulls -o skulls.aar github.com/rootVIII/skulls/skullsebitenbind
  
  • All development/debugging was done with the gomobile tool and adb.
  • Font used for text: RADIOLAND.TTF
  • All assets (images, audio, and font) were converted to []byte using file2byteslice

This was developed on macOS Big Sur.


Author: rootVIII 2021