/js13k-TheLastSpartan

Arcade hack n' slash survival game. An entry for the 2020 js13kgames competition.

Primary LanguageTypeScriptMIT LicenseMIT

The Last Spartan

The Last Spartan

Arcade hack n' slash survival game set in ancient Sparta, 404 B.C. An entry for the 2020 js13kgames competition -- themed "404."

Description

Cut your enemies to pieces and defend your homeland! Can you, the last Spartan Hoplite of your battalion, earn an honorable death across thousands of procedurally generated battlefields?

No retreat. No surrender. No way out alive. Kill as many Athenians as you can before you meet the same fate. Then try again.

The Last Spartan

Controls

For QWERTY keyboards

  • Move - W, A, S, D
  • Attack - J or Left Mouse Button (LMB)
  • Block - K or Right Mouse Button (RMB)
  • Jump - Space
  • Spartan Charge - K + J / RMB + LMB
  • Ground Pound - Space + J / Space + LMB
  • Pause - P

Otherwise, follow the onscreen prompts.

Rest from battle to regain your health and stamina. Health and stamina are represented onscreen by the red and blue bars, respectively.

Use your spartan charge and ground pound attacks to stun your enemies and gain the upper hand.

Browser Support

Chrome latest, Edge latest, Safari latest, FireFox latest

For best results, use Chrome.

Credits:

Noise: NoiseJs by Seph Gentle

SFX: ZzFX by Frank Force

Running the game

npm i
npm start