diff --git a/docs/ARCHITECTURE_OVERVIEW.md b/docs/ARCHITECTURE_OVERVIEW.md
index 87fe2c69..df19a4b4 100644
--- a/docs/ARCHITECTURE_OVERVIEW.md
+++ b/docs/ARCHITECTURE_OVERVIEW.md
@@ -8,23 +8,39 @@ Complete technical architecture of the AeThex Engine ecosystem.
AeThex is a complete game development platform consisting of three core components:
-```
-┌────────────────────────────────────────────────────────────────┐
-│ AeThex Platform │
-├────────────────────────────────────────────────────────────────┤
-│ │
-│ ┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐ │
-│ │ AeThex Engine │ │ Studio IDE │ │ Cloud Services │ │
-│ │ │ │ │ │ │ │
-│ │ • Game Runtime │ │ • Browser │ │ • Auth │ │
-│ │ • Editor │ │ • Collab │ │ • Multiplayer │ │
-│ │ • Cloud SDK │ │ • Live View │ │ • Saves │ │
-│ │ • AI Module │ │ • Assets │ │ • Analytics │ │
-│ └─────────────────┘ └──────────────┘ └──────────────────┘ │
-│ ↕ ↕ ↕ │
-│ C++/GDScript TypeScript/React Node.js/Go │
-│ │
-└────────────────────────────────────────────────────────────────┘
+```mermaid
+graph TB
+ subgraph Platform["⚡ AeThex Platform"]
+ subgraph Engine["AeThex Engine
(C++/GDScript)"]
+ E1[Game Runtime]
+ E2[Editor]
+ E3[Cloud SDK]
+ E4[AI Module]
+ end
+
+ subgraph Studio["Studio IDE
(TypeScript/React)"]
+ S1[Browser-Based]
+ S2[Collaboration]
+ S3[Live Preview]
+ S4[Asset Manager]
+ end
+
+ subgraph Cloud["Cloud Services
(Node.js/Go)"]
+ C1[Authentication]
+ C2[Multiplayer]
+ C3[Cloud Saves]
+ C4[Analytics]
+ end
+ end
+
+ Engine <-->|WebSocket/HTTP| Studio
+ Engine <-->|REST API| Cloud
+ Studio <-->|API Gateway| Cloud
+
+ style Engine fill:#00ffff22,stroke:#00ffff,stroke-width:2px
+ style Studio fill:#ff00ff22,stroke:#ff00ff,stroke-width:2px
+ style Cloud fill:#00ffff22,stroke:#00ffff,stroke-width:2px
+ style Platform fill:#00000000,stroke:#ffffff,stroke-width:1px
```
---
@@ -33,21 +49,46 @@ AeThex is a complete game development platform consisting of three core componen
Based on Godot Engine 4.3-stable with AeThex-specific modules.
+> [!NOTE]
+> The engine core is written in C++ with GDScript as the primary scripting language. All cloud and AI features are accessible via simple GDScript APIs.
+
### Architecture Layers
+```mermaid
+graph TD
+ subgraph Layer4["Application Layer"]
+ Game[Game Code
GDScript/C#/C++]
+ end
+
+ subgraph Layer3["SDK Layer"]
+ SDK[AeThex Cloud SDK
GDScript APIs]
+ end
+
+ subgraph Layer2["Module Layer"]
+ M1[aethex_cloud]
+ M2[aethex_ai]
+ M3[aethex_studio]
+ M4[aethex_analytics]
+ end
+
+ subgraph Layer1["Engine Layer"]
+ E1[Rendering]
+ E2[Physics]
+ E3[Audio]
+ E4[Networking]
+ E5[Scripting]
+ E6[Scene System]
+ end
+
+ Game --> SDK
+ SDK --> M1 & M2 & M3 & M4
+ M1 & M2 & M3 & M4 --> E1 & E2 & E3 & E4 & E5 & E6
+
+ style Layer4 fill:#00ffff22,stroke:#00ffff
+ style Layer3 fill:#ff00ff22,stroke:#ff00ff
+ style Layer2 fill:#00ffff22,stroke:#00ffff
+ style Layer1 fill:#ff00ff22,stroke:#ff00ff
```
-┌────────────────────────────────────────────┐
-│ Game Code (GDScript/C#) │ ← Developer's game
-├────────────────────────────────────────────┤
-│ AeThex Cloud SDK (GDScript) │ ← Cloud API
-├────────────────────────────────────────────┤
-│ AeThex Modules (C++) │ ← Cloud/AI/Studio
-│ • aethex_cloud • aethex_ai │
-│ • aethex_studio • aethex_analytics │
-├────────────────────────────────────────────┤
-│ Godot Core Engine (C++) │ ← Game engine
-│ • Rendering • Physics • Audio │
-│ • Networking • Scripting • Scene System │
├────────────────────────────────────────────┤
│ Platform Layer (OS-specific) │ ← Windows/Linux/Mac
└────────────────────────────────────────────┘
diff --git a/docs/EXPORTING_GAMES.md b/docs/EXPORTING_GAMES.md
index e19545b4..2b8da359 100644
--- a/docs/EXPORTING_GAMES.md
+++ b/docs/EXPORTING_GAMES.md
@@ -2,6 +2,9 @@
This guide covers exporting your AeThex game to all supported platforms: Windows, Linux, macOS, Web (HTML5), and Android.
+> [!TIP]
+> Start with web exports for quick testing and distribution. Windows and Linux exports are easiest for desktop games.
+
---
## Overview
@@ -13,10 +16,42 @@ AeThex supports exporting to:
Each platform has specific requirements and optimization considerations.
+```mermaid
+graph TD
+ Game[🎮 Your Game] --> Export{Export Target}
+
+ Export -->|Desktop| Windows[🖥️ Windows]
+ Export -->|Desktop| Linux[🐧 Linux]
+ Export -->|Desktop| Mac[🍎 macOS]
+ Export -->|Web| HTML5[🌐 HTML5]
+ Export -->|Mobile| Android[📱 Android]
+
+ Windows --> Steam[Steam]
+ Windows --> Itch[itch.io]
+ Linux --> Steam
+ Linux --> Itch
+ Mac --> AppStore[App Store]
+ HTML5 --> Web[Web Hosting]
+ Android --> PlayStore[Google Play]
+
+ style Game fill:#00ffff22,stroke:#00ffff
+ style Windows fill:#ff00ff22,stroke:#ff00ff
+ style Linux fill:#00ffff22,stroke:#00ffff
+ style Mac fill:#ff00ff22,stroke:#ff00ff
+ style HTML5 fill:#00ffff22,stroke:#00ffff
+ style Android fill:#ff00ff22,stroke:#ff00ff
+```
+
+> [!NOTE]
+> Each platform requires specific export templates. Download them from the editor or the AeThex website.
+
---
## Before Exporting
+> [!WARNING]
+> Always test your game in release mode before exporting. Some bugs only appear in release builds due to optimizations and different code paths.
+
### 1. Test Your Game
Always test thoroughly before exporting:
diff --git a/docs/GAME_DEVELOPMENT.md b/docs/GAME_DEVELOPMENT.md
index 7504eb63..9320824d 100644
--- a/docs/GAME_DEVELOPMENT.md
+++ b/docs/GAME_DEVELOPMENT.md
@@ -2,6 +2,9 @@
This guide covers the core game development concepts and systems in AeThex Engine.
+> [!TIP]
+> New to game development? Start with the Scene System and Node Hierarchy sections. These are the foundation of everything in AeThex.
+
## Scene System
### What is a Scene?
@@ -13,6 +16,22 @@ A **scene** is a collection of nodes organized in a tree structure. Scenes are t
- Items
- Prefabs/templates
+```mermaid
+graph TD
+ Scene[🎬 Scene File
.tscn] --> Root[Root Node]
+ Root --> Child1[Child Node 1]
+ Root --> Child2[Child Node 2]
+ Root --> Child3[Child Node 3]
+ Child2 --> GrandChild1[Grandchild 1]
+ Child2 --> GrandChild2[Grandchild 2]
+
+ style Scene fill:#00ffff22,stroke:#00ffff
+ style Root fill:#ff00ff22,stroke:#ff00ff
+```
+
+> [!NOTE]
+> Scenes can be nested inside other scenes. This allows you to create reusable components and maintain a clean project structure.
+
### Working with Scenes
**Creating Scenes:**
@@ -37,6 +56,9 @@ var packed_scene = load("res://levels/next_level.tscn")
get_tree().change_scene_to_packed(packed_scene)
```
+> [!WARNING]
+> Always use `change_scene_to_file()` or `change_scene_to_packed()` to switch scenes. Manually removing and adding root nodes can cause issues with signal connections and autoloads.
+
**Scene Lifecycle:**
- `_enter_tree()` - Called when node enters the scene tree
- `_ready()` - Called when node and children are ready
@@ -121,6 +143,33 @@ get_tree().call_group("enemies", "take_damage", 10)
**Signals** are AeThex's implementation of the observer pattern. They allow nodes to communicate without tight coupling.
+```mermaid
+sequenceDiagram
+ participant Player
+ participant Enemy
+ participant UI
+
+ Player->>Player: take_damage(10)
+ Player->>Player: emit_signal("health_changed", 90)
+ Player->>UI: health_changed(90)
+ UI->>UI: update_health_bar(90)
+
+ Note over Player,UI: Signals enable loose coupling
+
+ Player->>Player: health reaches 0
+ Player->>Player: emit_signal("player_died")
+ Player->>UI: player_died
+ Player->>Enemy: player_died
+ UI->>UI: show_game_over()
+ Enemy->>Enemy: celebrate()
+
+ style Player fill:#00ffff22,stroke:#00ffff
+ style UI fill:#ff00ff22,stroke:#ff00ff
+```
+
+> [!TIP]
+> Signals are perfect for situations where you want multiple systems to react to an event without creating dependencies between them.
+
### Built-in Signals
**Common Node Signals:**
@@ -133,6 +182,9 @@ get_tree().call_group("enemies", "take_damage", 10)
- `Area2D.body_exited(body)` - Another body left the area
- `Button.pressed()` - Button was clicked
+> [!NOTE]
+> Most built-in nodes come with useful signals. Check the documentation for each node type to see what signals are available.
+
### Creating Custom Signals
```gdscript
diff --git a/docs/_coverpage.md b/docs/_coverpage.md
new file mode 100644
index 00000000..574a9b72
--- /dev/null
+++ b/docs/_coverpage.md
@@ -0,0 +1,103 @@
+
+
+
+ The cloud-first game engine that makes
+ multiplayer, cloud saves, and AI features trivial.
+