A downloadable game for Windows

English -----------------------------------------------------------------------------------

Diner Defense is a tower defense game, try to survive the hordes of hungry clients with your food turrets.

So this game was made to work on two things, AI and Procedural generation.

Basically, I made it so a spawn point and a goal spawn at a  random points in a 12X12 grid. Then made an A* algorithm to find the fastest path between eachother. populate that with path tiles, and the rest of the grid with city tiles. 

The proceed to pass the path of the A*  to the NPC so they follow the quickest path to the goal. The turrets also have three modes, target the closet enemy, target the enemy with the lowest health, target the enemy with the highest health. 

The controls are simple, click on a button to grab a turret.  if you have enough money you can place it, click on any constructed turret to change its mode. Zoom in and out with the mouse wheel.

Español -------------------------------------------------------------------------------------

Diner Defense es un juego de tower defense. Intenta sobrevivir a las hordas de clientes hambrientos con tus torretas de comida.

Este juego fue creado para trabajar en dos aspectos: la inteligencia artificial y la generación procedural.

Básicamente, hice que un punto de aparición y un objetivo se generen en ubicaciones aleatorias dentro de una cuadrícula de 12x12. Luego, implementé un algoritmo A* para encontrar el camino más rápido entre ellos. Ese camino se llena con tiles de camino, mientras que el resto de la cuadrícula se rellena con tiles de ciudad.

Después, el camino generado por el algoritmo A* se pasa a los NPC para que sigan la ruta más rápida hacia el objetivo.

Las torretas tienen tres modos de ataque: Apuntar al enemigo más cercano. Apuntar al enemigo con menos vida. Apuntar al enemigo con más vida.

Los controles son simples: haz clic en un botón para seleccionar una torreta. Si tienes suficiente dinero, podrás colocarla. Haz clic en cualquier torreta construida para cambiar su modo. Usa la rueda del ratón para acercar o alejar la vista.


Download

Download
diner-defense-win.zip 163 MB
Version 1 83 days ago

Leave a comment

Log in with itch.io to leave a comment.