A Triangle Game

A Triangle Game is a game made by Dani for the Ludum Dare 45 game jam in 2 days.

## Mechanics

You are a triangle that you can move around by using W A S D. Pressing the space bar allows you to dash. Dashing into enemies kills them, and they either drop currency or a weapon. Touching enemies without dashing into them will make you take damage.

Dashing into crates or chests will allow you to get currency, a weapon or a powerup. If you obtain a weapon, click to shoot. As you get further into the game, the difficulty increases, resulting in more powerful enemies spawning.

## Enemies

The red and orange enemies drop 1-5\* coins while the yellow, blue, and pink enemies drop 2-7\* coins.
\* =rough estimate

* Red triangle (3HP, basic shooter enemy that hardly moves)
* Orange triangle (2HP, very weak melee enemy)
* Yellow triangle (3HP, shotgun-type enemy)
* Blue triangle (5HP\*, shooter enemy which fires a 4-6 shot burst and has advanced movement AI that allows it to dodge dashes to a degree)
* Pink triangle (3HP\*, sniper-type enemy that shoots a very powerful bullet and hardly moves, either instantly kills or cripples the player)
* White triangle (10 HP\*, can be a sniper, shooter or shotgun enemy with greater stats.)

## Powerups

* Helmet (Damage)
* Sneakers (Movement Speed)
* Heart (Health)
* Energy Drink (Attack Speed)

## Weapons

All weapons except the shotgun and the sniper rifle are dual wieldable, and can be found from crates or chests as single or dual. Dual wielded weapons provide an increased fire rate.

* M1911, Glock 17 (Handguns which deal low damage, have a moderate fire rate, and have low bullet velocity. The fire rate is higher when dual wielded)
* Colt Python (Revolver which deals medium damage and has a relatively low fire rate with moderate bullet velocity. The fire rate is moderate when dual wielded.)
* MK18 CQBR, AKM (Automatic Rifles which have high fire rates, deal medium damage, and have medium bullet velocity. The fire rates are even higher when they are dual wielded, making them very formidable.)
* Ithaca 37 (Shotgun with a relatively slow fire rate. Despite the slow rate of fire, the six pellet shots are good at destroying enemies)
* L96A1/AWM (Sniper rifle with an extremely slow fire rate but very high damage. It either instakills or cripples enemies. It's probably the rarest weapon in the game.)

## Crates and chests

Crates are common and usually drop one coin. Sometimes, you can get more coins and very rarely you can get a powerup or weapon.

Chests, unlike crates, are quite rare and drop a powerup or weapon. They cost coins to open and do not drop any coins when opened.

* Brown chest - will most likely contain a weapon
* Blue chest - will most likely contain a powerup
* Red chest - will most likely contain better weapons than the brown chest

## Map generation

The map generation has some rules, some of them are:

* The rooms with enemies in them have randomly generated walls.
* The "next room" cannot be adjacent to the first room. (Untrue, in one of my runs the "next room" was right next to the spawn of the first level spawn.)

## Bugs

There is only one bug that has been discovered.

* If you last hit with 2 or more bullets, the money you get is multiplied by the number of bullets that hit the enemy (it is easier to recreate this with a shotgun or dual assault rifles). This might be intentional to give the player a chance to recover by buying chests,.

## Trivia

* This is one of the 2 "shape games" not available for Android.
	+ The other one is Fair 'n Square.
* The original character was a parallelogram.
* This is Dani's first roguelike game, the other game being Muck.
* The game files are downloadable here: https://github.com/DaniDevy/LudumDare45

 2019
 On Hiatus
 VR Games