Skip to content

twistezo/ninja-vs-zombie

Repository files navigation

Ninja vs Zombie

Description

Android/Desktop 2D platform animated game

Tools

Java, libGDX, Photoshop

Features

  • keys/touch steering
  • random generating enemies
  • enemies following player
  • health/killed bars
  • FPS counter
  • debug mode (actor bounds, drag’n’drop player)

Build/Run

Android:

1. Create `local.properties` file with android SKD path:
   sdk.dir=C\:\\Users\\*YOUR_USERNAME*\\AppData\\Local\\Android\\Sdk
2. Generate .apk:
   gradlew android:assembleRelease
3. Generated .apk path:
   /android/build/outputs/apk/

Desktop:

1. Generate .jar:
   gradlew desktop:dist or ./gradlew desktop:dist
2. Generated .jar path:
   /desktop/build/libs/
3. To run:
   gradlew desktop:run or ./gradlew desktop:run

Screenshots