They Come at Night

I updated the game, and now it has day and night, 20 levels, and power-ups. The range of the automatic shooters changes depending on the darkness. Now you can shoot with the space bar, and the enemies have a health bar.

The game is about defending a tower that can be attacked from all sides. There are multiple weapons and enemy types. You can also build walls to hold back the enemies. The weapon in the center of the tower can be controlled with the mouse, while the weapons in other directions shoot automatically. However, they only fire when the enemy is in the light. You can expand the light radius with money. The game is controlled solely with the mouse. - Left-click to shoot from the tower - Right-click on the tower opens the wall-building menu, then left-click to build the wall if you have enough money. A right-click on an existing wall removes it and refunds some money. With the right mouse button, you can change the weapon in the tower. Depending on the icon, the left mouse button can be used to buy, repair, or sell in the tower.

Controls:

  • Left-click:
    • Shoot from the tower.
    • Buy, repair, or sell in the tower (depending on the icon).
  • Right-click:
    • Opens the wall-building menu when clicking on the tower.
    • Change the weapon in the tower.
    • Removes an existing wall when right-clicking on it (refunds some money).
  • Building Walls:
    • Right-click to open the wall-building menu.
    • Left-click to place a wall if you have enough money.

Create Your Own Waves

For the Windows and Linux versions, you can create your own waves. To do this, download the example file. The wave files must be named wave followed by the corresponding wave number, e.g., wave15.txt. Following the same pattern, you can create an image with recommendations for the next wave, e.g., wave15.png. Please use the example file, as the files in the game have terrible column headers—they were just for me and are full of spelling and typing errors, and I couldn’t decide on a single language ;-).

Note: The line headers must remain in the file.

Structure:

  1. Block 1: Here, you set general data. It's important that the light cone and max angle must always be a multiple of 45, so 45, 90, 135, 180, etc. Don't forget to specify the number of the last wave.
  2. Block 2: This block sets the automatic enemies. As soon as enemiesToDefeat is greater than 0, enemies are automatically generated, and the game is won when the number of enemies in enemiesToDefeat is reached. sword, bow, and catapult can be 0 or 1. 0 means this enemy type should not be generated. WARNING: If you use this function, you must include every enemy type in Block 4 at least once, regardless of whether it should be generated or not.
  3. Block 3: Here, you configure your weapons. Each set of 3 lines corresponds to a weapon slot, from top to bottom: Center, North, West, South, and East. The 1st line is the Archer, the 2nd is the Cannon, and the 3rd is the Catapult. Important: Per slot, one (and only one) weapon must be set to true; this will be preselected at the beginning of the game.
  4. Block 4: The enemies. The Wait ms indicates the time delay between enemies. Pos x and Pos y are the spawn points. The game has a resolution of 640 x 576. Enemy type 0 is the swordsman, 1 is the archer, and 2 is the catapult.


Download

Download
they_come_at_night_linux.zip 2.4 MB
Download
they_come_at_night_win.zip 32 MB
Download
wave1.txt 1.3 kB

Leave a comment

Log in with itch.io to leave a comment.