/JianQi_Game

2D endless mode game

Primary LanguageJavaScript

Sword Soul Game(剑气碧烟横)

This is a 2D endless mode arcade game. You are a hero who keeps fighting various fo monsters. During game process, you can get items to power up your health and skills. To get higher score, you need to beat as many enemies as you could. But at first, make sure you can survive.

Live

https://xinyzhang9.github.io/jianqi/bin/index.html

Features

  • Endless mode: enemies are generated automatically based on your current difficulty level
  • Level upgrade: level upgrades when your score is high enough to make the game more challenging.
  • Super moves: your MP is accumulated by time. When it is half-full or full, you can release supermoves to clear enemies.
  • Extra items: when you beat the boss, you can get a random item, either increase your hp or power up your attack skills.
  • Easy uI: game infomation or tips are present. Just follow them.

To do list

  • make UI more attractive
  • migrate to mobile version

Get it run locally

clone or download this repo
cd [path to this repo]
(I assume you have installed python)
python -m SimpleHTTPServer 8000
open your browser at localhost:8000/bin/index.html

Game instructions

S: Sword Wave(普通攻击), requires 0 MP
A: Sword Trap(剑阵陷阱), requires 5 MP
D: Sword Soul(剑气穿心), requries 10 MP
ESC: Pause/Resume game

Tips

Since the game difficulty is growing as you kill more enemies. Sometiems you can avoid battle and choose the boss to kill, which gives you item to level up your attacking abilities. After your attacking skill becomes 3(max), you can survive longer in the coming battles.

Use A and D to kill boss, don't waste your MP.

Screenshots

alt tag alt tag