Skip to content

Add SparkGameOpenWorld: fully fledged open world game template#352

Merged
Krilliac merged 1 commit intoWorkingfrom
claude/open-world-game-template-46dX2
Apr 3, 2026
Merged

Add SparkGameOpenWorld: fully fledged open world game template#352
Krilliac merged 1 commit intoWorkingfrom
claude/open-world-game-template-46dX2

Conversation

@Krilliac
Copy link
Copy Markdown
Owner

@Krilliac Krilliac commented Apr 3, 2026

New game module with 8 subsystems showcasing SparkEngine's open-world capabilities:

  • World: 8 biome regions (grasslands, forest, mountains, desert, tundra, swamp, coast, volcanic) with seamless streaming and origin rebasing
  • Player: survival mechanics (health, stamina, hunger, thirst, temperature), fast travel, compass
  • Exploration: 28 points of interest across all biomes, discovery/fog system, viewpoints, secrets, XP rewards
  • Wildlife: 12 animal species with herd behavior, predator-prey ecology, and horse/deer taming
  • Settlements: 8 NPC settlements with 30+ named NPCs (merchants, guards, elders), plus player camp building with 5 upgrade tiers
  • Gathering: 30 resource nodes across 8 biomes, 20 crafting recipes in 6 categories (tools, weapons, armor, consumables, building, alchemy)
  • Events: 8 dynamic world event types (bandit raids, stampedes, caravans, storms, dragon sightings) with cooldowns and participation tracking
  • Engine: full integration with save, AI (5 behavior trees), cinematic (2 sequences), weather, time-of-day, music (9 tracks), and event bus

30+ console commands for testing all systems. Builds clean, all tests pass.

https://claude.ai/code/session_0112wbRLE6xVGPtYvBPi5LXq

New game module with 8 subsystems showcasing SparkEngine's open-world
capabilities:

- World: 8 biome regions (grasslands, forest, mountains, desert, tundra,
  swamp, coast, volcanic) with seamless streaming and origin rebasing
- Player: survival mechanics (health, stamina, hunger, thirst, temperature),
  fast travel, compass
- Exploration: 28 points of interest across all biomes, discovery/fog system,
  viewpoints, secrets, XP rewards
- Wildlife: 12 animal species with herd behavior, predator-prey ecology,
  and horse/deer taming
- Settlements: 8 NPC settlements with 30+ named NPCs (merchants, guards,
  elders), plus player camp building with 5 upgrade tiers
- Gathering: 30 resource nodes across 8 biomes, 20 crafting recipes in 6
  categories (tools, weapons, armor, consumables, building, alchemy)
- Events: 8 dynamic world event types (bandit raids, stampedes, caravans,
  storms, dragon sightings) with cooldowns and participation tracking
- Engine: full integration with save, AI (5 behavior trees), cinematic
  (2 sequences), weather, time-of-day, music (9 tracks), and event bus

30+ console commands for testing all systems. Builds clean, all tests pass.

https://claude.ai/code/session_0112wbRLE6xVGPtYvBPi5LXq
@Krilliac Krilliac merged commit b0a462b into Working Apr 3, 2026
42 of 43 checks passed
@Krilliac Krilliac deleted the claude/open-world-game-template-46dX2 branch April 3, 2026 05:57
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Code Coverage (GCC + lcov)

Utils/Logger.cpp                          |21.8%    133| 0.0%    17|    -      0
Utils/Logger.h                            |18.2%    121| 0.0%    20|    -      0
Utils/MathUtils.cpp                       |    -      0|    -     0|    -      0
Utils/MemoryDebugger.h                    |13.3%    150| 0.0%    20|    -      0
Utils/MemoryMonitor.cpp                   | 9.6%    229| 0.0%    19|    -      0
Utils/MemoryMonitor.h                     |85.7%     14| 0.0%    12|    -      0
Utils/NetworkHealthMonitor.cpp            | 113%     15| 0.0%     2|    -      0
Utils/NetworkHealthMonitor.h              |    -      0|    -     0|    -      0
Utils/OpaqueHandle.h                      | 209%     11| 0.0%    15|    -      0
Utils/Profiler.cpp                        |14.2%    113| 0.0%    15|    -      0
Utils/Profiler.h                          |36.4%     33| 0.0%    12|    -      0
Utils/RandomEngine.h                      |29.3%     41| 0.0%    12|    -      0
Utils/Result.h                            | 100%     29| 0.0%    28|    -      0
Utils/RingBuffer.h                        | 108%     59| 0.0%    64|    -      0
Utils/ScopeGuard.h                        | 142%     36| 0.0%    51|    -      0
Utils/ScopedTimer.h                       |25.0%     12| 0.0%     3|    -      0
Utils/Serializer.h                        | 100%     48| 0.0%    42|    -      0
Utils/SparkConsole.cpp                    | 125%     32| 0.0%     6|    -      0
Utils/SparkConsole.h                      | 100%      2| 0.0%     2|    -      0
Utils/SparkError.h                        |10.9%     55| 0.0%     6|    -      0
Utils/SplinePath.h                        |    -      0|    -     0|    -      0
Utils/StackTrace.h                        |11.0%     73| 0.0%     8|    -      0
Utils/StateMachine.h                      |54.0%     63| 0.0%    32|    -      0
Utils/StringUtils.h                       |18.8%    112| 0.0%    21|    -      0
Utils/ThreadDebugger.h                    |12.8%    148| 0.0%    19|    -      0
Utils/ThreadSafeQueue.h                   |27.5%     40| 0.0%    11|    -      0
Utils/UUID.h                              |43.2%     37| 0.0%    16|    -      0
Utils/Validate.h                          |    -      0|    -     0|    -      0

[/home/runner/work/SparkEngine/SparkEngine/SparkSDK/Include/Spark/]
IEngineContext.h                          |6700%      1| 0.0%     1|    -      0
Version.h                                 |    -      0|    -     0|    -      0
================================================================================
                                    Total:|35.4%  12110| 0.0%  2439|    -      0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants