This is a game for js13kGames. It's my first time submitting a game, and also my first time seriously messing around with HTML Canvas! You can play the game here.
js13kGames is a yearly "game jam" event, in which participants are challenged to create a game within the limits of 13kb. Each year, there is a different theme to make your game about. This year, the theme was "The 13th Century."
The 13th Century was a chunk of time during which, according to Wikipedia, pretty much only war happened. In this game, you play a pacifist who's just trying to survive. While a bunch of enemies attack you, your goal is to simply parry their attacks.
- Move your sword with the mouse.
- Rotate with Q or E.
- Parry enemy attacks by intersecting the enemy sword for half a second.
- Try to create perpendicular angles between both swords (i.e. make a 'cross' or 'x' shape). This will give you a higher score.
- If you don't parry the enemy sword in time, it will attack you, lowering your score.
-
Peasant: Slow, but unpredictable.
-
Barbarian: Quick, but predictable.
-
Paladin: Like the barbarian, but smarter.
-
Archer: Long-ranged sniper.
-
Duelist: Skilled and precise.
-
Dual Wielder: High-speed assassin.
- For sound effects, I used the awesome ZzFX (github).
- For collision detection, I am very thankful to Qixotl LFC for making this tutorial video. I also found Pikuma's video very informative.
I'm now aware that monitors can have different refresh rates... I made this on a 60hz monitor. Currently, for users with 120hz screens, this game will be 2x more difficult :) Hoping to patch this eventually.