Home â€ē Projects â€ē Stronghold 3D

🏰 Stronghold 3D

Kingdom builder 3D ¡ 5 ⏠⏞⏪⏁⏴⏈ Campaign ¡ ā¸Ŗā¸°ā¸šā¸šā¸›āš‰ā¸­ā¸‡ā¸ā¸ąā¸™

📂 Games đŸ“Ļ 6 versions 📅 started 2026-07-08 🌐 https://codehub.sj88ai.com/stronghold-3d/
3dcity-buildercampaignBabylon.js3D

📖 Overview

Kingdom builder 3D ¡ 5 ⏠⏞⏪⏁⏴⏈ Campaign ¡ ā¸Ŗā¸°ā¸šā¸šā¸›āš‰ā¸­ā¸‡ā¸ā¸ąā¸™

đŸ› ī¸ Tech Stack

  • Babylon.js
  • 3D

đŸˇī¸ Tags

  • 3d
  • city-builder
  • campaign
v1.4

Stronghold 3D v1.4 — Hero Walk + Villagers + Quests

released 2026-07-08

đŸ—Ŗī¸ User Command

Created app stronghold-3d

🤖 AI Response

Shipped via ship.py — template: custom file

✅ What Changed

  • ["Initial release"]
📁 1 files 📝 +0 lines đŸ–ŧī¸ 0 screenshots 🚀 Live → https://codehub.sj88ai.com/stronghold-3d/
v1.3.1

Stronghold 3D v1.3.1 — Dizziness Fix

released 2026-07-08

đŸ—Ŗī¸ User Command

Created app stronghold-3d

🤖 AI Response

Shipped via ship.py — template: custom file

✅ What Changed

  • ["Initial release"]
v1.3.1 screenshot
📁 1 files 📝 +0 lines đŸ–ŧī¸ 1 screenshots 🚀 Live → https://codehub.sj88ai.com/stronghold-3d/
v1.3

🏰 Stronghold 3D v1.3 — Kingdom Builder + Campaign + Boss Mode

released 2026-07-08

đŸ—Ŗī¸ User Command

⏗⏺ C. Stronghold 3D v1.3 — Boss Battle Mode

🤖 AI Response

Added Boss Mode: 3 heroes (Knight/Mage/Archer) with unique ultimates, 3-phase Red Dragon (Ground Slam → Fire Breath → Frenzy), 3 difficulty (Normal/Hell/Inferno), 5 achievements including Dragon Slayer.

✅ What Changed

  • ["\ud83d\udc09 Stronghold 3D v1.3 \u2014 Boss Battle Mode", "", "\ud83d\udc09 NEW: Red Dragon Boss Battle", "- 3-phase dragon AI:", " \u2022 Phase 1 (HP 100\u219266%): Ground Slam", " \u2022 Phase 2 (HP 66\u219233%): Fire Breath (cone visual + +25% dmg)", " \u2022 Phase 3 (HP 33\u21920%): Frenzy \u2014 Tail Swipe / Frenzy Bite / Wing Beat", "- 1200 base HP \u00d7 difficulty mult (1.0 / 1.6 / 2.5)", "", "\ud83d\udc51 3 Hero Classes (selectable)", "- \ud83d\udde1\ufe0f Knight (\u0e2d\u0e31\u0e28\u0e27\u0e34\u0e19): 280 HP \u00b7 28 ATK \u00b7 \ud83d\udee1\ufe0f Divine Strike (3 hits \u00d7 90 dmg, CD 5)", "- \ud83d\udd2e Mage (\u0e08\u0e2d\u0e21\u0e40\u0e27\u0e17): 200 HP \u00b7 18 ATK \u00b7 \u2604\ufe0f Meteor (120 AOE, CD 6)", "- \ud83c\udff9 Archer (\u0e19\u0e32\u0e22\u0e1e\u0e23\u0e32\u0e19): 230 HP \u00b7 22 ATK \u00b7 \ud83c\udf27\ufe0f Arrow Volley (5 hits + poison 3 turns, CD 5)", "", "\ud83d\udd25 3 Difficulty Modes", "- \ud83c\udf31 \u0e1b\u0e01\u0e15\u0e34 (Normal): 1x HP, 1x ATK, +200\ud83e\ude99 +30\u2b50", "- \ud83d\udd25 \u0e19\u0e23\u0e01 (Hell): 1.6x HP, 1.3x ATK, +500\ud83e\ude99 +80\u2b50", "- \u2620\ufe0f \u0e2d\u0e40\u0e27\u0e08\u0e35 (Inferno): 2.5x HP, 1.7x ATK, +1000\ud83e\ude99 +180\u2b50", "", "\ud83c\udfc6 6 Achievements", "- first_boss: beat Normal", "- hell_slayer: beat Hell", "- dragon_slayer: beat Inferno (legendary)", "- knight_used / mage_used / archer_used: use each class", "", "\ud83c\udfae Battle Controls", "- \u2694\ufe0f Attack (basic damage, 15% variance)", "- \ud83d\udee1\ufe0f Defend (50% reduction for 2 turns)", "- \u2728 Ultimate (class-specific, has CD)", "", "\ud83c\udfac Battle Polish", "- Hero attack/defend/ultimate animations", "- Dragon hit shake + phase transition", "- Fire Breath cone visual (CSS gradient clip-path)", "- Live battle log (last 5 lines)", "- HP bars with smooth animation", "- Phase indicator (1/3, 2/3, 3/3)", "", "\ud83d\udcbe Save migration", "- Auto-migrates stronghold3d_v12 \u2192 stronghold3d_v13", "- New field: achievements[]", "", "\ud83c\udf93 Tutorial", "- Now 8 steps (added Boss Mode intro)", "- Recommends Dragon Slayer as ultimate goal", "", "File: 70KB \u2192 98KB (+28KB)", "Version: v1.2 \u2192 v1.3"]
v1.3 screenshot
📁 1 files 📝 +0 lines đŸ–ŧī¸ 1 screenshots 🚀 Live → https://codehub.sj88ai.com/stronghold-3d/
v1.2

🏰 Stronghold 3D v1.2 — Kingdom Builder + Campaign

released 2026-07-08

đŸ—Ŗī¸ User Command

⏗⏺ A-1 (Campaign) āšƒā¸™ Stronghold 3D = āš€ā¸ā¸Ąā¸Ēā¸Ąā¸šā¸šā¸Ŗā¸“āšŒā¸—ā¸ąā¸™ā¸—ā¸ĩ

🤖 AI Response

Added v1.2 Campaign mode: 5 missions (Orc Camp → Dragon Peaks), fame system, battle scene with arrows, incoming raids with auto-defense, loot tables (Iron Shield, Dragon Scale), tutorial updated to 8 steps.

✅ What Changed

  • ["\ud83c\udff0 Stronghold 3D v1.2 \u2014 Campaign Mode", "", "\u2694\ufe0f NEW: 5-Mission Campaign", "- Orc Camp (easy, 6 enemies, +5\u2b50 +80\ud83e\ude99)", "- Bandit Hideout (med, 8 enemies, +12\u2b50 +180\ud83e\ude99 + Iron Shield)", "- Troll Bridge (med, 7 enemies, +20\u2b50 +280\ud83e\ude99 + Steel Sword)", "- Vampire Castle (hard, 9 enemies, +35\u2b50 +400\ud83e\ude99 + Vampire Fang)", "- Dragon Peaks (epic, Red Dragon, +80\u2b50 +800\ud83e\ude99 + Dragon Scale)", "", "\ud83d\udee1\ufe0f Raid Defense System", "- Auto-spawns incoming raid every ~4 days based on strength", "- 5 raid templates: Goblins \u2192 Wolves \u2192 Bandits \u2192 Orcs \u2192 Vampires", "- Fights battle modal when raid arrives", "- Win = +Fame + gold; Lose = -Pop -15% gold", "- Visual raid warning banner at top", "", "\ud83c\udfaf Battle Scene", "- 3D-feel arena with castle sprite + marching soldiers", "- HP bars with smooth animation", "- Arrow projectile animations (ally gold, enemy red)", "- Battle log: live combat messages", "- Victory/Defeat overlay with rewards", "", "\ud83d\udcca HUD Updates", "- New \u2694\ufe0f Fame stat (gold color)", "- Right toolbar: \u2694\ufe0f Campaign button (purple)", "- Campaign modal: 4-stat strip + 5 mission cards in grid", "", "\ud83d\udc8e Loot System", "- Random drops post-victory (chance-based)", "- Loot descriptions persist via completedMissions[]", "- Replay missions any time", "", "\ud83c\udf93 Tutorial expanded", "- Now 8 steps (added Campaign tab + Raid defense)", "- Dot indicators auto-shrink for longer sets", "", "\ud83d\udd27 Technical", "- Save key migrated stronghold3d_v11 \u2192 stronghold3d_v12", "- Battle state machine: every 850ms tick", "- Army = (5 base + barracks Lv \u00d7 5 + Lv3+ House \u00d7 2)", "- Defense = (10 base + tower Lv \u00d7 5)", "- Auto-unlock missions when fame/wins threshold met", "", "File: 38KB \u2192 70KB (+32KB)", "Version: v1.1 \u2192 v1.2 \u2014 Complete Campaign game loop."]
v1.2 screenshot
📁 1 files 📝 +0 lines đŸ–ŧī¸ 1 screenshots 🚀 Live → https://codehub.sj88ai.com/stronghold-3d/
v1.1

🏰 Stronghold 3D v1.1 - Babylon Kingdom

released 2026-07-08

đŸ—Ŗī¸ User Command

ā¸§ā¸˛ā¸‡āšā¸œā¸™ā¸—ā¸ŗ stronghold-3d āšƒā¸Ģāš‰āš€ā¸Ĩāšˆā¸™āš„ā¸”āš‰ā¸ˆā¸Ŗā¸´ā¸‡

🤖 AI Response

Added end-day button + production + pop growth, upgrade/demolish panel on click, ghost preview on hover, tutorial overlay, star bobbing animation, level scaling 1.15x, pulse stat animations

✅ What Changed

  • ["\ud83c\udff0 Stronghold 3D v1.1 \u2014 Make it actually playable!", "", "\u23ed\ufe0f END DAY BUTTON (bottom-left gradient pill)", "- Triggers production (gold + population)", "- Shows '+X\ud83e\ude99 next' preview based on current buildings", "- Stat panels pulse when values change", "- Sound effect + toast notification", "- Random merchant event every 4 days (+10% gold bonus)", "", "\ud83d\udcc8 PROGRESSION", "- Population grows 15% of (cap - current) per day", "- Gold production from buildings (calculated per day)", "- Day counter increments", "- Save/load to localStorage", "", "\u2b06\ufe0f UPGRADE MECHANIC (click existing building)", "- Floating panel near building with:", " - Building name + current level", " - Production stats", " - Upgrade button (LvN+1 with cost preview)", " - Demolish button (refund 30% \u00d7 level)", "- Lv5: shows \u2b50 MAX LEVEL \u2b50", "- Keep can't be demolished", "- Level scaling: 1.15x size per level", "- Lv5: pulsing star above", "", "\ud83d\udc7b GHOST PREVIEW", "- Green transparent box when hover is valid placement", "- Red when invalid (collision or out of bounds)", "- Snaps to 2-unit grid", "- Updates in real-time on pointermove", "", "\ud83c\udf93 TUTORIAL OVERLAY (6 steps)", "- 'Welcome' \u2192 'Pick building' \u2192 'Click ground' \u2192 'Click existing' \u2192 'End Day' \u2192 'Start!'", "- Dots indicator", "- 'Next \u2192' button", "- Saved in localStorage so only shows once", "", "\u2728 POLISH", "- Star bobbing animation on Lv5 buildings", "- Star rotation", "- Subtle day cycle (sun intensity oscillates)", "- Picker metadata for upgrade detection", "- Close upgrade panel on outside click", "", "\ud83d\udcca STATS COMPLETE", "- Day / Pop / Bld (count) / Gold", "- All in top bar", "- Production preview in End Day button", "", "\ud83d\udd0a SOUND EFFECTS", "- build chirp \u00b7 upgrade arpeggio \u00b7 demolish drop \u00b7 endday whoosh \u00b7 click tone", "", "\ud83d\udcbe Save format changed \u2192 v1.0 saves cleared on first load", "Single HTML 39KB (Babylon CDN)"]
📁 1 files 📝 +0 lines đŸ–ŧī¸ 0 screenshots 🚀 Live → https://codehub.sj88ai.com/stronghold-3d/
v1.0

🏰 Stronghold 3D - Babylon.js Kingdom

released 2026-07-08

đŸ—Ŗī¸ User Command

ā¸—ā¸ŗāšƒā¸Ģāš‰ā¸Ē⏧ā¸ĸā¸”āš‰ā¸§ā¸ĸ Babylon.js

🤖 AI Response

Built single-file Babylon.js 3D kingdom with real 3D meshes, shadow generator, particle effects on placement, day/night toggle, auto-rotating isometric camera, glowing emissive materials

✅ What Changed

  • ["\ud83c\udff0 Stronghold 3D \u2014 Babylon.js Kingdom", "", "\ud83c\udfae 3D ENGINE", "- Babylon.js v5+ via CDN (https://cdn.babylonjs.com/babylon.js)", "- WebGL rendering", "- Real 3D meshes (Box, Cylinder, Sphere, Polyhedron)", "- ArcRotateCamera with auto-orbit", "- Exponential shadow maps (2048x2048)", "", "\u2600\ufe0f LIGHTING (3-point)", "- HemisphericLight (sky+ground)", "- DirectionalLight (sun) \u2014 moves with day cycle", "- PointLight (warm glow at center)", "", "\ud83c\udff0 3D BUILDINGS", "- Keep: 4-corner castle with cone roof + flag pole + flag cloth", "- House: pink body + wooden roof + glowing window", "- Farm: yellow field + 6 random crop spheres", "- Tower: blue cylinder + gold cap", "- Barracks: wooden building + flag", "", "\u2728 EFFECTS", "- ParticleSystem on placement (50 yellow/pink particles, gravity)", "- Glowing emissive materials (gold/pink/purple/cyan)", "- Day/night cycle via hemispheric light intensity", "- Tree decorations: cylinder trunk + sphere leaves", "- Rock decorations: dodecahedron polyhedra", "", "\ud83c\udfaf INTERACTION", "- Bottom bar: 5 building types with cost preview", "- Click building \u2192 select mode", "- Click ground \u2192 place (snaps to 2-unit grid, collision check)", "- Right toolbar: Build / Rotate / Day-Night / Reset", "", "\ud83d\udcbe Auto-save to localStorage", "\ud83c\udfa8 Dark purple sky + gold/pink accents", "Single HTML, 23KB (Babylon loads from CDN)"]
📁 1 files 📝 +0 lines đŸ–ŧī¸ 0 screenshots 🚀 Live → https://codehub.sj88ai.com/stronghold-3d/
📚 CodeHub - version-controlled code, screens & AI instructions
Storage: /mnt/16tb/codehub/ ¡ SSL: Let's Encrypt ¡ Server: nginx ¡ Built: 2026-07-09 15:28 UTC
AI Instructions ¡ Stats ¡ Search ¡ Diff ¡ Roadmap ¡ Admin ¡ Home