Factory Brawl

Thumbnail for Factory Brawl.

Factory Brawl is a Scratch game by hungrydemons. In it, the player must defeat five bosses to get a score at the end. They can move with arrow keys, and automatically shoot attacks at the nearest enemy. The player can also press space to cycle through three weapons. (Each does the same amount of damage, but some stay longer, doing repeated damage.)

## Weapons

There are three weapons:

* Rapid - Shoots many bullets quickly with decent accuracy every 3 to 5 ticks. (There are 30 ticks in a second.)
* Big - Shoots a large tracking and fast moving missile. It explodes on contact. Is fired in a 1 in player health plus 5 chance every tick, meaning it fires much faster when the player has lower health.
* Bomb - Shoots two bombs every (50 to 60 minus (player health times 3) ticks, meaning it fires faster at higher health. The bombs explode with a large radius which stays around for some time, even when it's invisible.

Generally, Rapid is the best weapons for the first few bosses, but at lower health the player should use Big.

## Bosses

There are currently 5 bosses in the game. Defeating one summons the next one.

1. A simple boss that summons a saw every around every ten seconds. Saws move quickly and bounce off the edges. They have very low health. The boss also bounces off the edges of the screen very slowly and has low health.
2. This boss is shaped like a triangle. It follows the player, (It is a good idea to circle it) but when hit enough times can change into its enrage form, which moves much faster but is more difficult to turn. In this enraged form, when it goes out one edge it comes out the other. It also has no cap to its momentum and can get out of control. During the enraged form, it takes much more damage.
3. This boss has the most attacks out of any boss. It cycles through them, starting on a random one. Sometimes, it skips a phase in rotation. It takes 350 to 550 ticks to switch phases. (Once or twice.)
	1. Summons saws and stays fairly still.
	2. Shoots four bullets at once with a small bit of spin on them multiple times.
	3. Bounces around the map, occasionally stopping to shoot four spinning bullets.
	4. Bounces around the map.
	5. Shoots four bullets at once multiple times without any spin.
	6. Shoots bullets with lots of spin on them, so much that they for a shield around the boss. (Bullets block the player's attacks and can also set off bombs.) Then, the shield gradually dissipates and shoots at the player.
4. A boss with spinning shields around it. They go in and out. It starts with four, then at lower health summons four more, then again when it's almost defeated. It can be easily defeated by moving into the top left of the screen, where no shields can reach the player.
5. This boss spins quickly, getting faster at lower health. It shoots two bullets in opposite directions as it spins, and takes a massive amount of knockback, though always moving back into the center. At half health, it begins to only shoot at the player. Circling it during this phase is very effective. Beating it stops the game.

## Score

The player's score is calculated at the end of the game.

* -15 for each damage the player took.
* -3 every two seconds.
* +Hits (Hitting an enemy multiple times counts) out of your shots made, divided by 100, rounded up.
* Bosses are worth score. (50, 100, 150, 100, and 200, respectively)
* Saws increase your score by 5 upon death.

There is a cloud variable with a high score inside the project.