Skip to content

radami2006/java_game_towers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlberTower Defense

Java Swing tower defense game built as an object-oriented programming project.

Features

  • Real-time tower defense gameplay with enemies, towers, projectiles and waves.
  • Multiple enemy types with different behaviors, including bosses and support enemies.
  • Upgradeable towers with different targeting and attack mechanics.
  • Map selection and an in-game map creator/editor.
  • Save slots, settings, sound effects and help screens.
  • Asset-based rendering for maps, enemies, towers, UI panels and audio.

Project Structure

  • src/: Java source code, game resources and assets.
  • documentacion/: implementation notes and feature documentation.
  • config/: local runtime configuration. User settings and saves are ignored by git.

Requirements

  • JDK 17 or newer.

Build

From the repository root:

PowerShell:

New-Item -ItemType Directory -Force out
Get-ChildItem -Recurse src -Filter *.java | ForEach-Object { $_.FullName } | Set-Content sources.txt
javac -encoding UTF-8 -d out @sources.txt

Bash:

mkdir -p out
find src -name "*.java" > sources.txt
javac -encoding UTF-8 -d out @sources.txt

Run

PowerShell or Bash:

java -cp out Main

The game expects to be run from the repository root so it can load assets from src/assets and resources from src/resources.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages