Skip to content

MohammedYashHossain/KTD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KTD - Kaiju Tower Defense

Python Pygame License Repository

A tower defense game based on my love for Kaiju. Built with Python and Pygame, showcasing object-oriented programming, game development, and real-time system design.


Key Features

Combat System

  • Multiple tower types
  • Unique attack patterns
  • Special abilities
  • AOE damage

Enemy Types

  • Various kaiju monsters (based on the Godzilla franchise)
  • Boss battles
  • Special abilities
  • Health scaling

Game Systems

  • Resource management
  • Wave progression
  • Path finding
  • Audio integration

Technical Architecture

Core Systems

  • Object-oriented design
  • Event handling
  • Collision detection
  • Resource management

Performance

  • Efficient rendering
  • Memory management
  • Asset optimization
  • Frame rate control

UI/UX

  • Clean retro interface
  • Informative HUD
  • Interactive tooltips
  • Visual feedback

Technologies

Python Pygame Vector2D OOP Event Systems

Getting Started

System Requirements

  • Python 3.8 or higher
  • Windows, macOS, or Linux operating system
  • Minimum 2GB RAM
  • Graphics card with OpenGL support

Installation Steps

  1. Install Python

    • Download and install Python from python.org
    • Make sure to check "Add Python to PATH" during installation
    • Verify installation by opening a terminal/command prompt and typing:
    python --version
  2. Clone or Download the Repository

    • Option 1: Clone using Git
    git clone https://github.com/MohammedYashHossain/KTD.git
    cd KTD
  3. Install Dependencies

    # For Windows
    python -m pip install -r requirements.txt
    
    # For macOS/Linux
    python3 -m pip install -r requirements.txt
  4. Launch the Game

    # For Windows
    python main.py
    
    # For macOS/Linux
    python3 main.py

Troubleshooting

  • If python command is not found:

    • Make sure Python is installed correctly
    • Try using py instead of python on Windows
    • Check if Python is added to your system's PATH
  • If you get pygame installation errors:

    • Try updating pip: python -m pip install --upgrade pip
    • Install pygame separately: python -m pip install pygame
  • If the game window doesn't appear:

    • Check if your graphics drivers are up to date
    • Make sure you have OpenGL support
    • Try running in a different terminal/command prompt

For additional help, please create an issue on the repository.

Controls

Basic Controls

  • Left Click: Place towers
  • Right Click: Toggle sell mode
  • ESC: Return to menu

Game Management

  • Auto Skip: Quick waves
  • Tower Selection: Shop panel
  • Sell Mode: Right click

Project Structure

KTD/
├── 🎯 main.py           # Game entry and main loop
├── ⚙️ game_manager.py   # Core game logic
├── 🖥️ ui_manager.py     # UI/UX handling
├── 🗼 tower.py         # Tower mechanics
├── 👾 enemy.py         # Enemy behaviors
├── 🎯 projectile.py    # Projectile system
└── 🎨 assets/          # Game resources

Developer

Mohammed Y. Hossain
Portfolio LinkedIn Email


This project was developed as a demonstration of game development and software engineering principles.

Releases

No releases published

Packages

No packages published

Languages