A strategic space tower defense game where humanity's survival depends on your tactical prowess A performance-optimized game demonstrating low-latency programming techniques applicable to electronic trading systems
Invasion Defender is a space tower defense game where you command humanity's last line of defense against an overwhelming alien invasion. Deploy strategic ship formations, manage resources, and upgrade your fleet to protect Earth and reclaim the galaxy.
An alien armada is sweeping across the galaxy, conquering planet after planet. Earth stands in their path.
As Commander, you must:
- ๐ก๏ธ Protect the construction of the Armageddon - humanity's ultimate weapon
- ๐ Defend space stations and planets from relentless alien waves
- ๐ Scan and reclaim conquered worlds
- โ๏ธ Eliminate alien headquarters before they establish a foothold
- ๐ฅ Find and destroy the alien homeworld
The fate of humanity rests in your hands.
Invasion Defender combines classic tower defense with space combat strategy:
- Strategic Deployment: Position defensive ships at key chokepoints to intercept enemy waves
- Resource Management: Earn currency by destroying enemies; spend wisely to deploy more powerful ships
- Progressive Difficulty: Face increasingly challenging waves with smarter AI and tougher enemies
- Multiple Ship Classes: Choose from light, medium, and heavy fighters, each with unique roles
- Upgrade System: Enhance ships with improvements to damage, armor, shields, speed, and more
Fast, agile interceptors perfect for early-game defense and swarm tactics.
- Examples: Wolf, H'bakoran, Vzencar, Wordvlu
- Strengths: Low cost, high speed, quick deployment
- Weaknesses: Light armor, lower firepower
Balanced all-purpose ships that form the backbone of your fleet.
- Examples: Tzaykan, Kherlir, Xenon, J'kapilax
- Strengths: Versatile, good damage-to-cost ratio
- Weaknesses: No extreme specialization
Devastating capital ships with powerful weapons and thick armor.
- Examples: Uzanyx, Cromwell, Typhoon, Nexus
- Strengths: High damage, extreme durability, shields
- Weaknesses: Expensive, slower deployment
Customize your ships with strategic upgrades:
| Upgrade | Effect | Trade-off |
|---|---|---|
| Speed | Increases movement speed | May reduce stability |
| Fire Range | Extends weapon reach | May decrease fire rate |
| Damage | Boosts weapon power | May increase energy consumption |
| Fire Rate | Increases shots per second | May reduce accuracy |
| Armor | Improves hull durability | May slow the ship |
| Shield | Adds energy shielding | May reduce other stats |
Choose wisely - each upgrade affects ship balance and requires strategic planning.
-
Construction Defense ๐๏ธ
Protect the space station while it constructs the Armageddon mothership -
Scanning Operations ๐ญ
Guard the destroyer as it searches for conquered planets -
Planet Destruction ๐ฃ
Escort the Armageddon while it destroys enemy-controlled worlds -
Planetary Defense ๐
Intercept alien invasion forces before they conquer new colonies
- โ 12+ Unique Player Ships - Each with distinct stats, turrets, and upgrade paths
- โ 15+ Enemy Types - Light scouts, heavy cruisers, and challenging boss encounters
- โ Story-Driven Campaign - Immersive narrative with mission dialogs
- โ Strategic Depth - Balanced gameplay requiring tactical thinking
- โ Multiple Difficulty Levels - Progressive challenge as enemies grow stronger
- โ Bilingual Support - English and Simplified Chinese
- โ Cross-Platform - iOS, Android, Windows, Linux
Prepare to face diverse alien threats:
- ๐ธ Light Scouts - Fast, evasive, overwhelming in numbers
- ๐ Medium Cruisers - Balanced firepower and durability
- ๐ฐ๏ธ Heavy Battleships - Devastating weapons, high health pools
- ๐ฝ Boss Units - Multi-turret behemoths with unique abilities
- ๐ Progressive Scaling - Enemies grow stronger in later missions
| Detail | Info |
|---|---|
| Engine | Cocos2d-x |
| Languages | C++, Objective-C |
| Platforms | iOS, Android, Windows, Linux |
| Development | January 2014 - September 2015 |
| Developer | Adilson Dias |
- Lock-free multithreading for game state updates
- Memory pool allocation to avoid garbage collection pauses
- Cache-friendly data structures for optimal CPU performance
- SIMD optimizations for vector calculations
- Sub-millisecond frame timing consistency
- Event-driven architecture similar to order matching engines
- Deterministic game loop for predictable latency
- Efficient collision detection algorithms
- Real-time rendering pipeline with minimal jitter
- Spatial hashing for fast collision queries (similar to order book lookups)
- Priority queues for event scheduling
- Object pooling for memory efficiency
- State machines for game logic
InvasionDefender/
โโโ Classes/ # Core game source code
โ โโโ core/ # Game systems (ships, bullets, levels, waves)
โ โโโ enemy/ # Enemy AI and behaviors
โ โโโ player/ # Player ships, stations, planets
โ โโโ gui/ # User interface components
โ โโโ hud/ # Heads-up display elements
โโโ Resources/ # Game assets and data
โ โโโ gamedata.xml # Ship configurations and stats
โ โโโ dialogs.xml # Story text and mission briefings
โ โโโ sound/ # Audio and music files
โโโ scenes/ # Cocos Studio scene files
โโโ proj.ios_mac/ # iOS and macOS projects
โโโ proj.android/ # Android project files
โโโ proj.win32/ # Windows project files
โโโ proj.linux/ # Linux project files
Each ship features detailed attributes:
- Damage - Base weapon power per shot
- Armor - Hull integrity and hit points
- Fire Rate - Shots per second
- Fire Range - Maximum engagement distance
- Shield - Energy shield capacity
- Move Speed - Movement rate multiplier
- Deploy Cost - Resources required to deploy
- Upgrade Slots - Available enhancement slots
- Turret Config - Weapon positions and projectile types
Invasion Defender is available on the Apple App Store for free.
โ ๏ธ Note: The game was released in 2015 and may not function correctly on modern devices after 10 years.
โ ๏ธ Archive Notice: This repository contains the original source code and assets. Not all dependencies are included, and the project may not build in its current state without additional setup.
- Cocos2d-x framework (original version used during development)
- Platform-specific build tools (Xcode, Android Studio, Visual Studio, etc.)
- Required dependencies and libraries
ยฉ 2015 Adilson Dias. All rights reserved.
Developer: Adilson Dias
Years: 2014-2015
Framework: Cocos2d-x
Special thanks to the Cocos2d-x community and all players who supported Invasion Defender during its release.
Made with โค๏ธ and lots of โ
Defend. Upgrade. Conquer.