PixelBastion TD
- Utilità
-
Yu Zhang
I am a senior practitioner in Fintech industry.
And I have done a lot of academic research on financial markets.
From 2012, I work as a Quant.
Forex, stock and futures are my main trading varieties.
I can use MQL4, MQL5, C++, MySql, and Python. - Versione: 1.0
- Attivazioni: 20
# Pixel Bastion TD · Native 2D Classic Strategy Tower Defense for MT5
> **Experience deep tactical Tower Defense directly on your MetaTrader 5 chart! Manage gold interest, unlock powerful tower specializations, and deploy game-changing spells during market downtimes.**
---
### 🌟 Game Overview
**Pixel Bastion TD** is a fully featured, standalone 2D pixel-art strategy tower defense game built natively for MetaTrader 5. As the commander of the elven frontier, your mission is to protect the fortress from waves of invading void monstrosities. Construct diverse defenses across strategic chokepoints, exploit elemental armor weaknesses, manage economic investments, research mutually exclusive Tier-3 specializations, and cast battlefield-clearing spells!
**100% Pure Mouse Control: 0 DLLs, 0 External Files, 0 Trading Risk!** Powered strictly by MT5’s built-in `<Canvas\Canvas.mqh>` software rasterization engine. It reads no market ticks, requires no internet connection, accesses no account balances, and executes no trades. Perfectly safe, endlessly replayable, and lightweight.
---
### 🔥 Key Features
1. **Native Chart Rasterization & Crisp Retro Aesthetics**
- High-performance double-buffered rendering at **1280 × 800** logical resolution with nearest-neighbor scaling.
- Hand-coded procedural pixel graphics: lush foliage, stone platforms, diverse turrets, monster sprites, and visual spells are all drawn directly in code—no external image assets or fonts needed.
2. **Three Tactical Maps & Three Difficulty Levels**
- **Verdant Corridor**: 1856px winding route with adjacent parallel lanes, optimal for crossfire killzones.
- **Twilight Crossing**: 1504px compact autumn terrain with short travel distances, demanding rapid burst DPS.
- **Frost Fortress**: 1632px snowbound landscape with isolated firing zones and distinct defense perimeters.
- **3 Difficulty Tiers**: Casual (390g / 25 HP / 78% mob HP), Standard (320g / 20 HP), Challenging (280g / 16 HP / 125% mob HP). Best scores and cleared waves are recorded independently per map and difficulty.
3. **Five Defense Towers with 10 Mutually Exclusive Specializations**
Upgrade your towers through 3 tiers, choosing between two game-changing Masteries at Tier 3:
- 🏹 **Ranger Crossbow (75g)**: Rapid physical single-target fire, ideal for light armor.
- *Gale Repeater*: Halves attack cooldown to unleash a torrential storm of bolts.
- *Hawkeye Ballista*: Tremendous range, crushing armor-penetrating damage, and long-range sniping.
- 💣 **Dwarven Cannon (115g)**: Ballistic AOE devastation (Cannot hit flying Wraiths).
- *Cluster Artillery*: Greatly expands explosion radius for overwhelming crowd suppression.
- *Molten Mortar*: Detonations leave lingering scorch fields on the battlefield.
- ❄️ **Frost Spire (90g)**: Magic damage with potent slowing debuffs.
- *Heart of Permafrost*: Supercharges slow effect up to 58% lasting 3.2 seconds.
- *Ice-Shatter Prism*: Inflicts massive bonus damage against slowed or frozen targets.
- ⚡ **Storm Coil (135g)**: Arcing chain lightning bouncing across clustered packs.
- *Chain Tempest*: Arcs up to 6 targets with minimal damage decay.
- *Thunder Focus*: Sacrifices bouncing to deliver rapid, devastating single-target lightning strikes.
- 🧪 **Alchemist Lab (100g)**: Magic direct damage + poison damage over time + armor erosion.
- *Plague Concoction*: Widespread toxic miasma with severe armor-stripping capabilities.
- *Midas Formula*: Slain poisoned enemies yield +3 bonus gold, accelerating economic growth.
4. **Four Smart Targeting Priorities & 70% Refund**
- Configure targeting for each individual tower: **First**, **Strongest (Highest HP)**, **Weakest (Lowest HP)**, or **Closest**.
- Resell any tower at any time to recover **70% of total invested gold** (including upgrade costs) for flexible tactical repositioning.
5. **Seven Unique Monster Types & Radar Forecasting**
- **Moss Slime** (Swarm infantry), **Swift Wolf** (High-speed sprinter), **Armored Beast** (High physical armor; costs 2 HP if leaked), **Floating Wraith** (Flying ghost, immune to artillery and takes only 35% damage from crossbows; weak to magic), **Healing Shaman** (AoE heal for allies; interrupted by freeze), **Spore Splitter** (Splits into two mini-slimes upon death), and the **Ancient Treant** (Boss on waves 6, 12, 18 and every 6 waves in Endless Mode; controls resistant; costs 6 HP if leaked).
- Bottom-right radar displays full previews of upcoming wave compositions, counts, and modifiers.
6. **Three Powerful Active Commander Spells**
- ☄️ **Meteor Strike**: Target any road tile to drop a devastating meteor dealing `110 + (Wave × 18)` magic AOE damage (36s base CD).
- 🧊 **Frost Nova**: Instantly freezes all regular monsters for 3.2s (1.3s on bosses) to halt breaches (46s base CD).
- 🏰 **Fortress Repair**: Instantly repairs 4 castle HP (wastes no cooldown when full; 60s base CD).
*(Each successfully cleared wave grants an extra 8-second cooldown reduction to all skills!)*
7. **Economy Interest & Roguelike Relics**
- **Compound Interest**: Earn 5% cash interest on unspent gold between waves (capped at 30g max).
- **Flawless & Quickstart Bonuses**: +15g for zero-leak waves; up to +20g for calling waves early.
- **Choose-1-of-3 Relics**: Unlock powerful passive artifacts every 3 waves (Damage, Attack Speed, Range, Cooldown Reduction, Bonus Income, Instant Gold, Max HP, and DOT Amplification).
- **Endless Mode**: After conquering wave 18, claim 120g and an extra relic to test your defense against infinite escalating swarms!
---
### 🎮 Mouse-Only Controls
- **Building Towers**: Click an empty stone pad, then pick a tower card from the right panel. Alternatively, select a card first and click a pad.
- **Upgrading & Specializing**: Click any existing tower to inspect its range, damage, rate of fire, and targeting mode. Upgrade to Tier 2 for general stat boosts; choose between two unique Masteries at Tier 3.
- **Targeting Modes**: Click the targeting button on the selected tower's panel to cycle priorities.
- **Casting Spells**: Click an active spell on the right sidebar. For Meteor Strike, click any highlighted path tile to deliver payload.
- **Speed & Waves**: Toggle game speed between **1x, 2x, and 3x** at any moment. Call waves manually or toggle Auto-Wave mode.
- **Menu & Pause**: Access in-game Help `[?]`, Pause `[Ⅱ]`, or Quit with a single click.
---
### ⚙️ Input Parameters
| Parameter | Default | Range | Description |
| :--- | :---: | :---: | :--- |
| `InpMap` | 1 | 1 ~ 3 | **Initial Map**. 1: Verdant Corridor, 2: Twilight Crossing, 3: Frost Fortress (Can be switched in-game). |
| `InpDifficulty` | 2 | 1 ~ 3 | **Initial Difficulty**. 1: Casual, 2: Standard, 3: Challenging. |
| `InpFramesPerSecond` | 30 | 15 ~ 60 | **Display FPS Cap**. Independent of battle simulation ticks. 25~30 FPS is recommended for low-spec PCs. |
| `InpMaxScale` | 1.5 | 0.75 ~ 2.0 | **Max Auto-Fit Scaling**. Automatically centers and fits chart window up to this multiplier. |
---
### 🛡️ Cleanliness & Safe Execution (Zero Risk)
- **Zero DLLs**: Requires no Windows API extensions or "Allow DLL imports" permission.
- **Zero Trading Interaction**: Standalone loop executes offline or when markets are closed. Reads no accounts, balances, or quotes.
- **Clean State Restoration**: Removing the script or exiting cleanly restores your chart’s original background color, candles, quick navigation, and mouse scroll settings with zero leftover chart objects.
- **Recommended Workspace**: Best experienced with a chart area of **1100 × 690** or higher (1280 × 800 optimal). Auto-pauses if resized below 900 × 560.
