This GitHub repository hosts the source code for a Tower Defense game developed using the Ursina game engine. Tower Defense games are popular for their strategic gameplay, and this project offers a unique take on the genre. In this game, players are tasked with defending a path against oncoming waves of enemies by strategically placing defensive towers.
-
Interactive Gameplay: Engage in a dynamic and interactive Tower Defense experience where you can click to place and upgrade towers to fend off waves of enemies.
-
Pathfinding: Implement a pathfinding algorithm to guide the enemies along a defined route on the grid, providing a challenging gaming experience.
-
Basic Lighting: Enhance the visual appeal of the game with the Ursina basic lighting shader, creating a realistic 3D environment.
-
Tower Placement: Strategically place and upgrade your defensive towers to maximize their effectiveness against incoming enemies. (Not ready yet)
-
Interactive Environment: Click on the grid to interact with the game world. Select and highlight specific cubes to mark your path or place towers.
-
Camera Control: The game features an EditorCamera that allows you to view the game world from a top-down perspective, giving you a clear view of the battlefield.
- Run the game and observe the 3D environment with its grid-based terrain.
- Click on the cubes to select and highlight the path for your enemies.
- Place towers to defend the path and defeat incoming waves of enemies. ((Not ready yet)
- Strategically upgrade your towers to fend off increasingly challenging waves. (Not ready yet)
- Monitor your progress and adapt your strategy to succeed in the game. (Not ready yet)
Contributions to this project are welcome. If you have ideas for improving the game, additional features, or bug fixes, please submit pull requests or open issues to discuss potential changes.
- Ursina: The game engine used to create the 3D environment, handle user input, and manage game logic.
- Python: The primary programming language for implementing game mechanics and logic.
To run the game locally, follow these steps:
- Clone this repository to your local machine.
- Make sure you have Python and Ursina installed.
- Run the game using the provided script or IDE of your choice.
This project is inspired by the Tower Defense genre and aims to provide an educational and entertaining experience for players interested in strategy games. Special thanks to the Ursina community for their support and contributions to the engine.
Feel free to explore the code, contribute to the project, or simply enjoy the game. Have fun defending your path against waves of enemies in this Tower Defense game built with Ursina!