THE LIVING WORLD
2.5D Persistent Life-Simulation RPG
Master Game Design Document — Performance-First Expo Edition
Target Platform: Android first, iOS second Technology Direction: Expo + React Native + TypeScript Game Presentation: 2.5D / Isometric / Stylized Primary Device: Low-to-mid-range mobile Secondary Platform: PC/Web only if technically practical later Core Fantasy: Live a life inside a world that continues living without you.
1. HIGH-LEVEL VISION
One-sentence pitch
A persistent 2.5D living-world RPG where the player begins as an ordinary person and can build any life they want while thousands of simulated people, businesses, factions and communities continue evolving around them.
The player is not the chosen hero.
The player is not automatically a king.
The player starts as:
Nobody.
They can become:
- farmer
- merchant
- craftsman
- soldier
- mercenary
- hunter
- trader
- thief
- smuggler
- politician
- noble
- landowner
- business owner
- guild leader
- military commander
- faction leader
- ruler
Or simply live a peaceful life.
2. DESIGN PILLARS
Everything in the game must support these pillars.
Pillar 1 — The World Lives Without You
NPCs have:
- jobs
- homes
- schedules
- relationships
- families
- goals
- money
- possessions
- needs
- reputations
- memories
They continue doing things whether the player watches them or not.
Pillar 2 — Player Freedom
There should be no single correct way to play.
The player can decide:
"What kind of person do I want to become?"
Pillar 3 — Emergent Stories
The game should create situations rather than simply present scripted quests.
Example:
A farmer loses his harvest.
↓
He cannot pay his debt.
↓
His shop closes.
↓
His family becomes poor.
↓
His son joins a mercenary group.
↓
The son eventually becomes a military officer.
↓
Years later, that officer controls an important city.
The player might have caused the original event.
Pillar 4 — Consequences
Actions should matter.
If the player:
- steals
- helps
- betrays
- marries
- buys property
- starts businesses
- joins factions
- kills someone
- starts wars
- changes prices
- becomes wealthy
the world remembers.
Pillar 5 — Performance First
Performance is not something added after gameplay.
Performance is a design constraint from day one.
Never design a system and then ask:
"Can the phone handle this?"
Instead ask:
"How can we achieve the same gameplay with less computation?"
3. WHAT THE GAME IS NOT
This project is NOT:
- a full 3D open-world RPG
- a 3D MMO
- a 3D physics sandbox
- a game with 10,000 animated NPCs simultaneously
- a traditional Civilization clone
- a spreadsheet simulator
- a linear RPG
- a fixed quest-list game
- a giant React component tree
The target is:
A living 2.5D world with deep simulation and selective visual detail.
4. CORE GAME LOOP
The fundamental loop is:
LIVE
↓
EXPLORE
↓
WORK / TRADE / FIGHT / SOCIALIZE
↓
EARN RESOURCES
↓
MAKE DECISIONS
↓
BUILD RELATIONSHIPS
↓
GAIN REPUTATION
↓
ACQUIRE PROPERTY
↓
CREATE OPPORTUNITIES
↓
WORLD REACTS
↓
NEW EVENTS
↓
NEW GOALS
↓
LIVE
There is no mandatory "win".
The player's life is the progression system.
5. STARTING THE GAME
The player creates a character.
Character creation
Minimum launch system:
- name
- appearance preset
- body type
- hair
- hair color
- skin tone
- clothing
- starting background
Background examples:
Farmer
Starts with:
- farming knowledge
- basic tools
- village reputation
Apprentice
Starts with:
- crafting knowledge
- mentor relationship
Wanderer
Starts with:
- exploration knowledge
- low social reputation
Soldier
Starts with:
- combat skill
- military connection
Merchant
Starts with:
- trading skill
- small amount of capital
Street Child
Starts with:
- stealth
- street contacts
- low reputation
Background changes starting conditions, not destiny.
6. NO CLASS SYSTEM
The player develops skills through actions.
If they repeatedly farm:
Farming increases.
If they repeatedly fight:
Combat increases.
If they trade:
Commerce increases.
If they negotiate:
Diplomacy increases.
Skills should emerge from play.
7. SKILL SYSTEM
Potential skills:
Physical
- Strength
- Agility
- Endurance
- Speed
Combat
- Sword
- Spear
- Bow
- Shield
- Unarmed
- Tactics
Production
- Farming
- Mining
- Woodworking
- Smithing
- Cooking
- Tailoring
- Construction
Social
- Persuasion
- Trading
- Leadership
- Intimidation
- Deception
Survival
- Hunting
- Tracking
- Foraging
- Navigation
Criminal
- Stealing
- Lockpicking
- Smuggling
- Sneaking
8. CHARACTER PROGRESSION
No traditional level treadmill should dominate the game.
Progression comes from:
- skills
- equipment
- relationships
- property
- money
- reputation
- social rank
- businesses
- faction membership
- titles
- influence
A farmer with 30 years of experience can be more important than a level-50 fighter.
9. NEEDS SYSTEM
NPCs can have lightweight needs:
- hunger
- energy
- safety
- money
- social interaction
- housing
- work
- entertainment
But these must NOT be simulated every frame.
Needs are updated through scheduled ticks.
Example:
Hourly:
Energy
Daily:
Food
Money
Work satisfaction
Social status
Weekly:
Housing
Health trends
Relationships
Monthly:
Economic status
Migration pressure
Family changes
10. NPC ARCHITECTURE
NPCs are divided into simulation tiers.
Tier 0 — Abstract Population
Millions theoretically possible.
Stored as aggregate values.
Example:
Town A
Population: 8,421
Farmers: 2,100
Workers: 3,400
Merchants: 420
Soldiers: 600
Children: 1,200
Elderly: 701
No individual AI.
Tier 1 — Simulated NPC
Important NPCs exist as individual data.
Examples:
- shopkeepers
- nobles
- faction leaders
- family members
- quest characters
- nearby residents
They have:
- identity
- relationships
- occupation
- home
- schedule
- money
- inventory
- goals
Tier 2 — Active NPC
NPC is close enough to the player to require detailed behavior.
They can:
- walk
- interact
- work
- talk
- fight
- flee
- react
Tier 3 — Rendered NPC
Only NPCs currently visible need rendering.
This is the most expensive tier.
The game should constantly promote/demote NPCs between tiers.
11. NPC LOD
NPC simulation LOD:
PLAYER DISTANCE
0–20m
FULL AI
20–50m
SIMPLIFIED AI
50–150m
SCHEDULE SIMULATION
150m+
AGGREGATE SIMULATION
Exact distances must be benchmarked.
The principle is more important than the exact numbers.
12. NPC DAILY LIFE
Each NPC can have a schedule.
Example:
06:00 Wake
06:30 Breakfast
07:00 Travel to farm
08:00 Work
12:00 Lunch
13:00 Work
17:00 Return
18:00 Market
20:00 Tavern
22:00 Home
23:00 Sleep
But schedules are not hardcoded animations.
They are goals.
If something interrupts the schedule:
NPC adapts.
13. NPC DECISION SYSTEM
NPCs use utility-based decision making.
Example:
Current Situation
Hunger = high
Energy = medium
Money = low
Work time = active
Danger = low
Possible actions:
Eat score 92
Work score 71
Sleep score 20
Socialize score 35
Travel score 12
Choose highest appropriate action.
This creates believable behavior without expensive AI.
14. RELATIONSHIP SYSTEM
Every important NPC can have relationships.
Types:
- stranger
- acquaintance
- friend
- close friend
- rival
- enemy
- spouse
- parent
- child
- sibling
- employer
- employee
- customer
- supplier
- lord
- subject
Relationships have scores.
Example:
Trust: 72
Respect: 61
Fear: 4
Affection: 80
Debt: 200
15. MEMORY SYSTEM
Important events become memories.
Example:
NPC: Hasan
Memory:
Player saved him from bandits
Year: 12
Importance: 90
Another:
Player stole from him
Year: 14
Importance: 80
NPC reactions can reference memories.
This creates continuity.
16. FAMILY SYSTEM
NPCs can have:
- parents
- children
- spouses
- siblings
- grandparents
Important families can persist across generations.
Family traits:
- wealth
- reputation
- political influence
- occupation
- property
- alliances
17. GENERATIONAL SIMULATION
Characters age.
Children grow.
Adults work.
Elders retire.
Eventually characters die.
New generations replace them.
The world therefore changes over decades.
18. DEATH
Death should matter.
Causes:
- age
- disease
- combat
- accidents
- starvation
- crime
- disasters
Important NPC deaths create events.
Example:
"Master Yusuf died at age 74."
His business may:
- pass to his son
- be sold
- collapse
- become a family dispute
19. WORLD TIME
The game uses:
- minutes
- hours
- days
- weeks
- months
- years
But simulation frequency changes depending on importance.
20. REAL-TIME WORLD
While the player is actively playing:
Visual clock:
Continuous
Movement:
Real-time
Combat:
Real-time
Nearby NPC behavior:
Real-time
Economy:
Event/tick based
Background world:
Scheduled simulation
This provides the feeling of a real-time world without requiring everything to run every frame.
21. OFFLINE / BACKGROUND PROGRESSION
If the player closes the game:
Store:
last_simulation_timestamp
When the player returns:
current_time
-
last_simulation_timestamp
=
elapsed_time
Then run an efficient catch-up simulation.
Example:
Player leaves for 3 days.
On return:
3 days have passed.
The simulation processes:
- production
- travel
- prices
- food
- relationships
- business
- events
- migration
The player receives:
"While you were away..."
22. IMPORTANT PERFORMANCE RULE
Do NOT simulate 72 hours as:
259,200 frames
Instead:
elapsed = 3 days
process_daily_economy()
process_scheduled_events()
process_travel()
process_businesses()
process_relationship_changes()
Use event skipping wherever possible.
23. WORLD MAP
The world is divided into regions.
Example:
WORLD
├── Northern Kingdom
│ ├── Town A
│ ├── Town B
│ └── Village C
│
├── Southern Kingdom
│ ├── City D
│ └── Town E
│
└── Wilderness
24. WORLD GENERATION
World generation creates:
- terrain
- rivers
- forests
- mountains
- roads
- settlements
- resources
- factions
- families
- businesses
Use deterministic seeds.
Same seed = same world.
25. TERRAIN
Terrain types:
- grassland
- forest
- hills
- mountains
- river
- lake
- coast
- farmland
- desert
- swamp
Launch should begin with fewer biome types.
Expand later.
26. SETTLEMENT GENERATION
Settlement types:
Hamlet
Tiny.
Village
Farming-focused.
Town
Markets and crafts.
City
Large economy.
Capital
Political center.
Settlements grow according to:
- population
- food
- trade
- security
- resources
- political importance
27. SETTLEMENT GROWTH
Example:
Village
Population 120
↓
Population growth
↓
More houses
↓
New businesses
↓
More trade
↓
Town
Growth should be simulation-driven.
28. BUILDINGS
Categories:
Residential
- hut
- house
- large house
- manor
Production
- farm
- mill
- smithy
- workshop
- tannery
Commerce
- market
- shop
- tavern
- warehouse
Public
- well
- town hall
- guard post
- hospital
Military
- barracks
- training yard
- walls
- tower
29. BUSINESSES
Every business has:
Owner
Workers
Input resources
Output resources
Inventory
Prices
Demand
Profit
Reputation
Example:
BLACKSMITH
Input:
Iron
Output:
Sword
Workers:
3
Inventory:
18 iron
4 swords
Profit:
+72/day
30. ECONOMY
Resources:
- food
- wood
- stone
- iron
- cloth
- leather
- tools
- weapons
- medicine
- luxury goods
- gold
Production chains:
Wheat
↓
Mill
↓
Flour
↓
Bakery
↓
Bread
↓
Market
31. DYNAMIC PRICES
Prices change based on:
- supply
- demand
- transport
- season
- war
- shortages
- local production
Example:
War destroys farms.
↓
Food supply falls.
↓
Food price rises.
↓
Merchants travel to supply city.
↓
Profit increases.
↓
More farmers produce food.
↓
Price gradually stabilizes.
32. TRADE
Merchants can travel between settlements.
Trade routes depend on:
- distance
- road quality
- danger
- demand
- profit
33. CARAVANS
Caravans are visible world entities.
They can:
- transport goods
- encounter bandits
- be taxed
- be protected
- be attacked
But background caravans can be simulated abstractly.
34. CRIME
Crime types:
- theft
- robbery
- smuggling
- assault
- murder
- fraud
Crime creates:
- witnesses
- investigations
- guards
- reputation changes
- legal consequences
35. LAW
Each settlement has law enforcement.
Possible policies:
- strict
- balanced
- corrupt
- weak
Crime rates react accordingly.
36. REPUTATION
Separate reputations:
- personal
- merchant
- military
- criminal
- faction
- regional
Example:
Town Reputation: 82
Military Reputation: 31
Merchant Reputation: 74
Criminal Reputation: 5
37. FACTIONS
Factions have:
- ideology
- territory
- wealth
- military power
- relationships
- leaders
- goals
Examples:
- Kingdom
- Merchant Guild
- Thieves Guild
- Military Order
- Religious Order
- Noble House
- Bandit Clan
38. FACTION RELATIONSHIPS
Relations:
+100 Allied
+50 Friendly
0 Neutral
-50 Hostile
-100 At War
Relations change dynamically.
39. POLITICS
Political systems can include:
- nobles
- governors
- mayors
- kings
- guild leaders
Player can eventually participate.
40. PLAYER SOCIAL ASCENSION
Possible progression:
Nobody
↓
Resident
↓
Respected citizen
↓
Business owner
↓
Landowner
↓
Guild member
↓
Guild leader
↓
Noble
↓
Governor
↓
Faction leader
↓
Ruler
This is optional.
41. PLAYER PROPERTY
The player can own:
- house
- farm
- workshop
- shop
- warehouse
- tavern
- land
- estate
42. PLAYER BUSINESS
Business management:
- buy property
- hire employees
- set prices
- purchase supplies
- sell products
- upgrade facilities
- advertise
- manage reputation
43. FARMING
Player can:
- buy land
- prepare soil
- plant crops
- water
- harvest
- store
- sell
Crops vary by:
- season
- soil
- weather
44. CRAFTING
Crafting categories:
- weapons
- armor
- tools
- clothing
- food
- furniture
- medicine
Craft quality depends on:
- skill
- materials
- tools
- workshop
- recipe
45. INVENTORY
Inventory must be optimized.
Avoid thousands of individual React components.
Use stack-based data:
Item ID
Quantity
Quality
Durability
46. EQUIPMENT
Slots:
- weapon
- offhand
- head
- body
- legs
- accessory
Equipment affects:
- combat
- work
- movement
- reputation
47. COMBAT
Combat is real-time but lightweight.
Target style:
action RPG / tactical 2.5D
Controls:
- tap movement
- tap enemy
- ability buttons
- dodge
- attack
- defend
48. COMBAT AI
Nearby enemies use:
- target selection
- distance checks
- simple state machines
- attack cooldowns
- retreat behavior
Avoid expensive full AI planners.
49. COMBAT STATES
Idle
↓
Detect
↓
Approach
↓
Attack
↓
Recover
↓
Evaluate
↓
Retreat / Continue
50. GROUP COMBAT
When armies become large:
Do NOT individually simulate every soldier.
Use:
Army Group
Strength
Morale
Supplies
Commander
Unit composition
Position
Detailed combat only occurs near the player.
51. WARS
Wars can exist in the background.
Background war simulation:
Army A strength
Army B strength
Supply
Terrain
Commander
Morale
Produces:
- battles
- territory changes
- casualties
- refugees
- economic effects
52. PLAYER PARTICIPATION IN WAR
Player can:
- become soldier
- become commander
- escort supplies
- spy
- trade
- flee
- become mercenary
- join rebellion
53. WEATHER
Weather:
- clear
- cloudy
- rain
- storm
- fog
- snow
Weather affects:
- movement
- farming
- visibility
- trade
- combat
54. SEASONS
Four seasons.
Spring
Planting.
Summer
Growth.
Autumn
Harvest.
Winter
Low production.
55. DAY/NIGHT
Visual cycle:
Dawn
Morning
Noon
Afternoon
Sunset
Night
NPC schedules respond.
Shops close.
Taverns open.
Guards patrol.
56. ANIMALS
Animals:
- chickens
- cows
- sheep
- horses
- dogs
- cats
- deer
- wolves
Animals should use simplified behavior.
57. EXPLORATION
World contains:
- caves
- ruins
- abandoned houses
- forests
- hidden paths
- treasure
- bandit camps
- ancient structures
58. PROCEDURAL EVENTS
Event system is central.
Events can be:
- economic
- social
- political
- criminal
- environmental
- personal
- military
59. EVENT CHAINING
Events should trigger other events.
Example:
Drought
↓
Poor harvest
↓
Food shortage
↓
Price increase
↓
Poor families struggle
↓
Crime increases
↓
Guards respond
↓
Political unrest
60. QUEST SYSTEM
Avoid a massive handcrafted quest list.
Use templates.
Example:
Actor
Goal
Location
Problem
Obstacle
Reward
Consequence
This allows thousands of combinations.
61. QUEST TYPES
- delivery
- escort
- rescue
- investigation
- trade
- crafting
- hunting
- combat
- diplomacy
- theft
- assassination
- discovery
62. DYNAMIC QUESTS
Quest generation uses current world state.
Example:
If a town has:
Food shortage
possible quest:
"Bring grain from the southern farms."
If:
Bandits active
possible quest:
"Protect the caravan."
63. NO QUEST MARKER DEPENDENCY
The world itself should communicate opportunities.
NPC:
"The mill is looking for workers."
Shop:
"Prices are high today."
Guard:
"Bandits attacked the eastern road."
Player can discover things naturally.
64. DIALOGUE
Dialogue should be short and contextual.
NPC dialogue depends on:
- relationship
- occupation
- location
- current event
- mood
- player reputation
65. AI-GENERATED CONTENT
AI can help generate:
- names
- item descriptions
- event templates
- quest variations
- dialogue templates
- cultures
- factions
- recipes
- buildings
- NPC personalities
But runtime gameplay logic should NOT depend on an online LLM.
The game must remain playable offline.
66. DATA-DRIVEN CONTENT
All content should be externalized.
Example:
/content
/items
/weapons
/buildings
/npcs
/quests
/events
/factions
/recipes
/regions
Use JSON or strongly typed TypeScript data.
67. RENDERING PHILOSOPHY
The renderer should only draw what matters.
WORLD DATA
↓
Visibility System
↓
Culling
↓
LOD
↓
Renderer
Never render the entire world.
68. CAMERA
Camera:
- pan
- zoom
- follow player
- smooth movement
Zoom levels:
Close
Character detail.
Medium
Town activity.
Far
World navigation.
69. 2.5D PRESENTATION
Recommended visual structure:
Terrain
↓
Ground decorations
↓
Buildings
↓
Characters
↓
Effects
↓
UI
Use depth sorting carefully.
70. VISUAL STYLE
Recommended style:
Stylized hand-painted 2.5D medieval world.
Characteristics:
- readable silhouettes
- warm colors
- chunky geometry
- minimal texture complexity
- attractive lighting
- strong environmental identity
Avoid photorealism.
71. ART PERFORMANCE RULES
Use:
- sprite atlases
- texture reuse
- compressed textures
- shared materials
- limited animation sets
- object pooling
- batching
- culling
Avoid:
- unique 4K texture per object
- unnecessary transparency
- excessive particle systems
- huge animated UI trees
72. PERFORMANCE TARGETS
Initial target:
60 FPS
Preferred frame budget:
16.67 ms
Fallback:
30 FPS
Frame budget:
33.33 ms
The game should remain playable at 30 FPS on weaker devices.
73. PERFORMANCE BUDGET
The actual budget must be measured on hardware.
Initial conceptual budget:
Rendering ~8 ms
Game simulation ~3 ms
Input/UI ~2 ms
Animation ~1 ms
Other ~2 ms
------------------------
Target ~16 ms
These are targets, not guarantees.
74. SIMULATION BUDGET
Never update every entity equally.
Use priority:
PLAYER
↓
NEARBY NPCS
↓
IMPORTANT NPCS
↓
REGION
↓
WORLD
75. TICK BUDGET
Example:
FRAME
60 FPS
REALTIME TICK
10–30 updates/sec
NPC SCHEDULE
1–4 updates/sec
ECONOMY
hourly
POPULATION
daily
POLITICS
daily/weekly
GENERATIONAL
monthly/yearly
76. PATHFINDING
Never run expensive global pathfinding for every NPC.
Use:
Navigation hierarchy
World route
↓
Region route
↓
Town route
↓
Local navigation
NPCs far away use abstract travel.
Nearby NPCs use actual movement.
77. NPC TRAVEL
Background:
Town A → Town B
Travel time: 9 hours
No physical NPC needed.
When player encounters the caravan:
Spawn detailed caravan representation.
This is one of the biggest performance wins.
78. OBJECT POOLING
Pool:
- NPC visuals
- particles
- projectiles
- damage numbers
- effects
- temporary objects
Avoid constant creation/destruction.
79. WORLD CHUNKING
Divide world into chunks.
Example:
Chunk
├── terrain
├── buildings
├── NPC references
├── resources
└── events
Only active chunks are loaded/rendered.
80. STREAMING
When player approaches another region:
Preload next chunk
↓
Unload distant visual chunk
Simulation data can remain lightweight.
81. SAVE SYSTEM
Save:
- player
- inventory
- skills
- property
- businesses
- NPC relationships
- important NPCs
- factions
- economy
- world events
- world seed
- time
- quests
- discoveries
- history
Do not save every transient visual object.
82. SAVE FORMAT
Prefer compact structured state.
Example:
WorldSeed
CurrentGameTime
PlayerState
SettlementState
FactionState
ImportantNPCState
EconomyState
EventState
HistoryState
83. SAVE FREQUENCY
Autosave at safe checkpoints:
- entering settlement
- leaving settlement
- major event
- sleeping
- important transaction
Also use periodic autosave.
Avoid saving huge data every frame.
84. HISTORY SYSTEM
The game records important events.
Example:
YEAR 7
Village of Greenfield founded.
YEAR 12
Great flood destroys farmland.
YEAR 13
Player buys first house.
YEAR 18
Blacksmith guild formed.
YEAR 22
Northern War begins.
The player can open:
WORLD HISTORY
This becomes one of the game's signature features.
85. PLAYER JOURNAL
Automatically record:
- discoveries
- relationships
- important events
- businesses
- quests
- achievements
86. WORLD MEMORY
The world should remember important player actions.
Example:
Player saves merchant.
Later:
Merchant recognizes player.
Or:
Player steals from merchant.
Later:
Merchant refuses service.
87. DYNAMIC REPUTATION
Reputation propagates through social networks.
Do NOT update every NPC immediately.
Use regional reputation.
Example:
Player reputation in Town A: 80
Nearby contacts:
+ reputation
Distant regions:
slower propagation
88. ECONOMIC SIMULATION LOD
Nearby market:
Detailed:
- individual shops
- inventories
- prices
Distant market:
Aggregate:
Food supply: 74%
Food demand: 92%
Average price: +18%
89. WORLD EVENT PRIORITY
Not every event deserves full simulation.
Priority levels:
Critical
War.
King death.
Major disaster.
Important
Business failure.
Bandit attack.
Political change.
Minor
NPC buys food.
Shop closes.
Small argument.
Minor events can be aggregated.
90. MOBILE UX
The game must be playable with one hand where possible.
Controls:
- tap
- drag
- swipe
- pinch
- contextual action button
Avoid requiring tiny buttons.
91. CONTEXTUAL INTERACTION
Player approaches object.
Instead of dozens of buttons:
[ TALK ]
[ WORK ]
[ OPEN ]
[ BUY ]
[ STEAL ]
Only show valid actions.
92. TOUCH MOVEMENT
Preferred:
Tap ground:
character walks there.
Tap NPC:
interact.
Tap enemy:
target.
Drag:
move camera.
Pinch:
zoom.
93. UI PHILOSOPHY
The world should occupy most of the screen.
UI appears contextually.
Avoid permanent HUD clutter.
94. INVENTORY UI
Use:
- compact grid
- item stacks
- drag/drop
- quick equip
- category filters
95. SHOP UI
Shop screen:
SELLER
Gold: 421
ITEMS
Bread 4g
Sword 85g
Cloth 12g
PLAYER GOLD
127g
Prices should reflect simulation.
96. WORLD MAP UI
Map shows:
- settlements
- roads
- player
- discovered locations
- faction territory
- trade routes
- danger zones
97. MINIMAP
Only show nearby important features.
Don't render the entire world into the minimap every frame.
Use a simplified representation.
98. AUDIO
Audio should also be performance-conscious.
Use:
- pooled sound effects
- limited simultaneous sounds
- compressed audio
- distance-based audio
- ambient loops
Town ambience can be layered:
Base ambience
+
Market sounds
+
Blacksmith
+
Animals
+
Crowd
Do not play hundreds of individual sounds.
99. VISUAL AUDIO REACTION
Examples:
Rain:
- rain sound
- darker lighting
- wet ground effect
Market:
- crowd ambience
- merchant voices
- carts
- animals
Night:
- fewer sounds
- insects
- tavern ambience
100. WORLD ATMOSPHERE
The game should feel alive even when the player isn't doing anything.
Examples:
- smoke from chimneys
- merchants walking
- farmers working
- animals moving
- guards patrolling
- carts traveling
- children playing
- taverns becoming busy
- shops opening and closing
101. THE "BUSY TOWN" TEST
A town should pass this test:
Player enters.
Within 30 seconds they should notice:
- people moving
- businesses operating
- different occupations
- animals
- traffic
- changing schedules
- environmental activity
The world must not feel like decorative scenery.
102. THE "LEAVE AND RETURN" TEST
Player leaves town for 7 in-game days.
Returns.
At least some meaningful things should have changed.
103. THE "CAUSE AND EFFECT" TEST
If player causes:
Food shortage
the world should eventually respond:
Price increase
↓
Merchant opportunity
↓
Migration
↓
Crime
↓
Political response
104. THE "NO PLAYER" TEST
Pause the player.
Allow the simulation to run.
The world should continue evolving.
105. PROCEDURAL CONTENT SYSTEM
Procedural generation creates:
- NPC names
- families
- shops
- settlements
- roads
- events
- conflicts
- resources
But use deterministic seeds.
106. WORLD SEED
At game creation:
WORLD SEED: 839174
Seed determines:
- terrain
- settlement placement
- initial NPC population
- resources
- factions
107. WORLD SHARING
Potential later feature:
Player can share:
World Seed
Other players can generate the same starting world.
108. MULTIPLE GAME MODES
Potential:
Life Mode
Normal sandbox.
Survival Mode
Hard needs.
Ironman
Permanent death.
Sandbox
More resources.
Chronicle
Long generational play.
109. DEATH / CONTINUATION
If player dies:
Optionally continue as:
- child
- spouse
- sibling
- heir
- employee
- another family member
This creates generational gameplay.
110. LEGACY
Player can leave behind:
- buildings
- businesses
- descendants
- reputation
- wealth
- historical events
After death:
Your legacy remains.
111. LONG-TERM PROGRESSION
Meta progression should be optional and not destroy sandbox freedom.
Potential unlocks:
- new starting backgrounds
- new cultures
- new regions
- cosmetic customization
- new world generation rules
Avoid pay-to-win if monetized.
112. MONETIZATION DIRECTION
Recommended:
Premium cosmetic model
or:
Free game + optional cosmetics
Potential purchases:
- outfits
- character customization
- decorative buildings
- map themes
- pets
- visual effects
Avoid selling power in a simulation game.
113. NO ONLINE DEPENDENCY
Core game should work offline.
Online services, if added:
- cloud saves
- analytics
- optional leaderboards
- shared world seeds
The simulation itself remains local.
114. MULTIPLAYER
Do NOT build multiplayer initially.
It massively increases complexity.
First prove:
single-player living world.
Multiplayer could become a separate future project.
115. ENGINEERING ARCHITECTURE
Recommended conceptual architecture:
/src
/core
GameClock
EventBus
Random
StateManager
/simulation
WorldSimulation
NPCSimulation
EconomySimulation
PopulationSimulation
FactionSimulation
EventSimulation
TravelSimulation
/world
WorldGenerator
ChunkManager
Terrain
Settlements
/entities
Player
NPC
Building
Animal
Vehicle
/gameplay
Combat
Farming
Crafting
Trading
Dialogue
Quests
/rendering
WorldRenderer
SpriteManager
Camera
Effects
Culling
LOD
/ui
HUD
Inventory
Shop
Dialogue
Map
Character
Journal
/data
items
recipes
buildings
factions
events
quests
/storage
SaveManager
LoadManager
Serialization
116. REACT NATIVE RESPONSIBILITY
React Native should primarily handle:
- UI
- menus
- navigation
- settings
- inventory
- dialogue
- shop interfaces
- map interface
- save/load UI
Do not make every game entity a React component.
117. GAME LOOP RESPONSIBILITY
The gameplay simulation should exist outside React's render lifecycle.
Conceptually:
Game Loop
↓
Simulation Update
↓
World State
↓
Renderer
React UI subscribes only to the state it needs.
118. STATE MANAGEMENT
Avoid one giant global reactive state causing the entire application to re-render.
Use isolated state domains:
PlayerState
WorldState
UIState
SimulationState
InventoryState
Only update affected subscribers.
119. RENDERING LAYER
For the actual game world, use a rendering technology appropriate for high-frequency drawing rather than thousands of ordinary React Views.
The renderer should support:
- sprite batching
- texture atlases
- camera transforms
- culling
- depth sorting
- particles
- animation
The exact renderer should be benchmarked during the prototype.
120. REACT RE-RENDER RULE
Never do:
Every frame
setState(...)
for the entire game world.
Game loop and UI state must be separated.
121. MEMORY MANAGEMENT
Monitor:
- JS heap
- texture memory
- image memory
- object count
- active entities
- event queue
- save size
122. ENTITY POOL
Instead of:
create NPC
destroy NPC
create NPC
destroy NPC
use:
NPC pool
↓
activate
↓
use
↓
deactivate
↓
reuse
123. TEXTURE STRATEGY
Use:
- sprite atlases
- shared textures
- compressed assets
- multiple resolution tiers
Avoid loading every asset at startup.
124. ASSET STREAMING
Load assets based on:
Current region
+
Nearby regions
+
Current activity
125. LOADING STRATEGY
Initial app launch should load only:
- core UI
- player assets
- starting region
- essential data
Everything else loads progressively.
126. PERFORMANCE TEST LEVELS
Level 1
50 NPCs.
Level 2
100 NPCs.
Level 3
250 NPCs.
Level 4
500 NPCs.
Level 5
1,000 simulated nearby entities.
Then benchmark.
Never assume the maximum.
127. STRESS TEST SCENARIOS
Market Stress
300 NPCs.
Combat Stress
100 combatants.
Rain Stress
NPCs + particles + weather.
Town Stress
500 active entities.
Economy Stress
10,000 simulated businesses.
World Stress
100 settlements.
128. PERFORMANCE METRICS
Record:
- FPS
- frame time
- CPU time
- GPU time
- JS thread time
- memory
- draw calls
- texture memory
- active entities
- simulation time
- save/load time
129. PERFORMANCE BUDGET PHILOSOPHY
Every expensive system gets a budget.
Example:
Rendering
Simulation
Pathfinding
Animation
Particles
UI
Audio
If one exceeds budget:
optimize before adding features.
130. AUTOMATED STRESS TESTER
Build an internal developer mode.
Commands:
Spawn 100 NPCs
Spawn 500 NPCs
Spawn 1000 NPCs
Start rain
Start battle
Generate town
Generate economy
Advance 1 year
Advance 100 years
Then measure performance.
131. SIMULATION PROFILER
Developer screen:
NPC Simulation 1.4ms
Economy 0.5ms
Pathfinding 0.8ms
Rendering 6.2ms
Particles 0.7ms
UI 0.4ms
Other 1.2ms
This becomes essential.
132. QUALITY LEVELS
Low
- fewer NPCs
- reduced particles
- simpler lighting
- lower effects
Medium
Default.
High
- more NPCs
- more effects
- higher visual quality
133. DEVICE TIERS
Tier A
High-end phones.
Tier B
Mid-range phones.
Tier C
Low-end phones.
Game automatically chooses quality.
134. BATTERY MODE
Optional:
Performance
Maximum visual activity.
Balanced
Normal.
Battery Saver
Reduced simulation/rendering frequency.
135. NETWORK / BACKEND
No backend required for core gameplay.
Potential later backend:
- cloud save
- account
- analytics
- optional community features
136. SECURITY
Never trust client-side purchases if monetization is introduced.
But the core game remains local-first.
137. ACCESSIBILITY
Support:
- scalable UI
- color-safe indicators
- readable text
- reduced motion option
- vibration toggle
- audio controls
138. CAMERA ACCESSIBILITY
Allow:
- camera speed adjustment
- zoom sensitivity
- follow mode
- edge scrolling where appropriate
139. AUDIO ACCESSIBILITY
Separate:
- music
- ambience
- effects
- UI
140. CONTENT SCALE
Initial release does NOT need thousands of handcrafted assets.
Target launch:
3–5 biomes
5 settlement types
20–30 buildings
50–100 items
20–40 NPC professions
10–15 factions
100+ event templates
50+ quest templates
Procedural combinations create variety.
141. FUTURE CONTENT
Later add:
- kingdoms
- religions
- magic
- naval travel
- advanced warfare
- larger cities
- more cultures
- diplomacy
- political systems
- exploration regions
142. SIGNATURE SYSTEM #1
THE WORLD NEVER WAITS
Player leaves.
World continues.
This should be marketed heavily.
143. SIGNATURE SYSTEM #2
GENERATIONS
People grow old.
Children become adults.
Families rise and fall.
The world changes.
144. SIGNATURE SYSTEM #3
HISTORY
The game records the player's world.
Players can browse their civilization's history.
145. SIGNATURE SYSTEM #4
LIFE CHOICE
No forced hero path.
Become whoever you want.
146. SIGNATURE SYSTEM #5
EMERGENT STORIES
The most memorable stories should be generated by systems.
147. EXAMPLE PLAYER STORY
Year 1:
Player is a farmer.
Year 2:
Buys a horse.
Year 4:
Starts selling wheat.
Year 6:
Opens bakery.
Year 8:
Marries a local merchant.
Year 11:
Has first child.
Year 15:
Buys second property.
Year 18:
Bandits attack town.
Player hires guards.
Year 21:
Becomes wealthy.
Year 25:
Joins merchant guild.
Year 31:
Becomes guild leader.
Year 40:
Funds city expansion.
Year 48:
A war begins.
Player supplies the army.
Year 52:
Becomes noble.
Year 60:
Player dies.
Their child inherits:
- bakery
- farm
- wealth
- reputation
- enemies
- relationships
The story continues.
148. ANOTHER PLAYER STORY
Player starts poor.
Becomes thief.
Joins gang.
Gang gets caught.
Player escapes.
Moves to another city.
Becomes merchant.
Uses smuggling contacts.
Becomes wealthy.
Buys tavern.
Uses tavern as criminal headquarters.
Eventually controls the city's black market.
None of this needs to be a predefined campaign.
149. ANOTHER PLAYER STORY
Player becomes soldier.
Fights bandits.
Joins army.
Becomes officer.
Saves a noble.
Receives land.
Builds estate.
Marries into noble family.
Becomes political figure.
Eventually becomes governor.
Again:
The player created the story.
150. THE WORLD SHOULD PRODUCE SURPRISES
The game should occasionally produce:
- unexpected deaths
- marriages
- bankruptcies
- wars
- discoveries
- fires
- crimes
- political changes
- economic crashes
- opportunities
But avoid random chaos.
Events should emerge from world state.
151. EVENT CAUSALITY
Prefer:
Low food
↓
High prices
↓
Poor people
↓
Crime
over:
Random crime happened
Both can exist, but causal events feel more believable.
152. PLAYER INTERVENTION
The player should be able to interrupt systems.
Example:
Food shortage.
Player can:
- import food
- sell stored food
- donate food
- exploit prices
- steal food
- ignore crisis
Different outcomes follow.
153. EMERGENT ECONOMIC STRATEGIES
Player could intentionally:
- corner a market
- monopolize resources
- undercut competitors
- hoard supplies
- create trade routes
But prevent easy infinite money exploits through simulation balancing.
154. WORLD BALANCE
The world should resist runaway domination.
If player becomes too powerful:
- competitors appear
- political attention increases
- taxes rise
- rivals form
- prices adjust
The goal is not to stop the player.
The goal is to create new problems.
155. LIVING FACTIONS
Factions have internal politics.
A faction can:
- split
- merge
- become stronger
- become weaker
- change leader
- go bankrupt
- become hostile
156. DYNAMIC TOWNS
Towns should have personalities based on economy.
Examples:
Farming Town
Food abundant.
Mining Town
Metal abundant.
Trade Town
High wealth.
Military Town
High soldiers.
Religious Town
High religious influence.
157. REGIONAL IDENTITIES
Different regions should feel distinct through:
- architecture
- clothing
- economy
- names
- culture
- weather
- food
- music
158. CULTURE SYSTEM
Culture influences:
- names
- architecture
- clothing
- traditions
- festivals
- social rules
Culture should be mostly data-driven.
159. FESTIVALS
Periodic events:
- harvest festival
- market fair
- royal celebration
- religious holiday
- tournament
During festivals:
- towns become busier
- prices change
- special activities appear
- NPC schedules change
160. TAVERNS
Taverns become social hubs.
Player can:
- drink
- eat
- hear rumors
- meet mercenaries
- gamble
- find jobs
- meet criminals
161. RUMOR SYSTEM
Rumors propagate through NPC networks.
Example:
"Bandits are attacking northern caravans."
Rumor may be:
- true
- partially true
- false
This gives information value to socializing.
162. INFORMATION ECONOMY
Players can learn about:
- prices
- wars
- opportunities
- criminals
- political events
through:
- merchants
- taverns
- guards
- guilds
- letters
- rumors
163. LETTER / MESSAGE SYSTEM
Important NPCs can send:
- invitations
- business offers
- threats
- requests
- political messages
This provides asynchronous world storytelling.
164. MAILBOX
Player home can have a mailbox.
Messages appear based on world activity.
165. HOUSING
Player house can contain:
- bed
- storage
- crafting station
- decorations
- furniture
- trophies
Housing can become a progression system.
166. DECORATION
Cosmetic furniture:
- tables
- chairs
- beds
- paintings
- plants
- rugs
- weapons
No heavy gameplay dependency.
167. MOUNT SYSTEM
Later:
- horse
- mule
- cart
Mounts increase travel speed.
168. VEHICLE SYSTEM
Later:
- carts
- caravans
- boats
Use abstract movement when off-screen.
169. EXPLORATION DISCOVERY
Player can discover:
- secret caves
- rare resources
- abandoned villages
- hidden camps
- ancient ruins
170. WORLD EVENTS
Major events can reshape regions.
Examples:
Great Fire
Destroys buildings.
Drought
Reduces crops.
War
Changes borders.
Plague
Reduces population.
Gold Discovery
Creates mining town.
171. DISASTER SIMULATION
Disasters should be rare and consequential.
They should not randomly destroy player progress constantly.
172. RECOVERY
World should recover.
Example:
Fire:
Fire
↓
Destroyed buildings
↓
Temporary unemployment
↓
Construction demand
↓
Builders earn money
↓
Town recovers
173. PLAYER BUILDING
Initial version:
Player can place/manage selected structures.
Avoid full city-builder complexity at launch.
Later:
- freeform construction
- settlement management
- roads
- walls
- districts
174. ROAD SYSTEM
Road quality affects:
- travel
- trade
- caravans
- migration
Road upgrades can become meaningful.
175. WORLD CONNECTIVITY
Regions connect through:
- roads
- rivers
- passes
- ports
This creates natural economic geography.
176. LOADING STRATEGY
Never load entire world visuals.
Load:
Player chunk
+
Neighbor chunks
Keep distant world as data.
177. MEMORY TARGET
Memory budget must be established through real-device profiling.
No arbitrary promise should be made before prototype testing.
The rule:
Memory usage must remain stable during long sessions.
178. LONG SESSION TEST
Run game continuously for:
30 minutes
1 hour
2 hours
Look for:
- memory leaks
- FPS degradation
- growing entity counts
- event queue growth
- texture leaks
179. SIMULATION CORRECTNESS
Stress tests must verify:
- no duplicated NPCs
- no negative inventories
- no impossible money
- no broken relationships
- no infinite event loops
- no runaway population
- no deadlocked businesses
180. ECONOMY SAFETY
Every economic transaction should be atomic:
Validate
↓
Remove input
↓
Add output
↓
Record transaction
Never allow partial transactions.
181. EVENT SAFETY
Events require:
- ID
- timestamp
- type
- source
- target
- status
Prevent duplicate processing.
182. SIMULATION DETERMINISM
Use seeded random systems.
Important simulation should be reproducible.
This makes:
- debugging
- testing
- saves
- replays
much easier.
183. DEBUG MODE
Developer overlay:
FPS
Frame Time
Memory
NPC Count
Visible NPCs
Simulation Entities
Draw Calls
Texture Memory
Chunk
Game Time
Simulation Queue
184. DEBUG CONTROLS
Developer commands:
+1 hour
+1 day
+1 month
+1 year
Spawn NPC
Kill NPC
Add gold
Start war
Start rain
Create famine
Generate town
185. TEST AUTOMATION
Automated simulations:
Generate world
Simulate 1 year
Check economy
Check population
Check events
Check save
Load
Compare state
186. SAVE/LOAD VALIDATION
After save/load:
World state must remain logically identical.
Transient rendering state can be regenerated.
187. DEVELOPMENT PHASE 0 — TECHNICAL PROOF
Build:
- Expo project
- renderer proof
- camera
- sprite rendering
- touch movement
- basic UI
- performance profiler
No gameplay yet.
Goal:
Prove rendering architecture.
188. PHASE 1 — BUSTLING TOWN
Create:
- one town
- terrain
- buildings
- 50 NPCs
- day/night
- schedules
- walking
- shops
- basic economy
Goal:
Does the town feel alive?
189. PHASE 2 — SIMULATION
Add:
- 200 visible NPC capacity test
- 1,000 simulated residents
- economy
- jobs
- travel
- relationships
- events
Goal:
Prove simulation scale.
190. PHASE 3 — PLAYER LIFE
Add:
- player character
- movement
- interaction
- inventory
- skills
- jobs
- money
- shops
Goal:
Make the game fun.
191. PHASE 4 — WORLD
Add:
- multiple towns
- roads
- factions
- regional economy
- travel
- procedural generation
Goal:
Create a living world.
192. PHASE 5 — CONSEQUENCES
Add:
- relationships
- reputation
- crimes
- dynamic quests
- events
- memory
- history
Goal:
Create emergent stories.
193. PHASE 6 — GENERATIONS
Add:
- aging
- marriage
- children
- death
- inheritance
- family relationships
Goal:
Make the world persistent across generations.
194. PHASE 7 — WAR
Add:
- factions
- armies
- military jobs
- battles
- territory
- supply
- war consequences
Goal:
Expand from personal life to regional events.
195. PHASE 8 — POLITICS
Add:
- nobles
- guilds
- leadership
- titles
- governance
- rebellion
Goal:
Allow social ascension.
196. PHASE 9 — CONTENT
Add:
- more biomes
- more settlements
- more buildings
- more professions
- more cultures
- more events
- more quests
197. PHASE 10 — OPTIMIZATION
Only after the systems are proven:
- renderer optimization
- memory optimization
- simulation optimization
- asset optimization
- save optimization
- battery optimization
Then stress test again.
198. DEVELOPMENT RULE
Every major feature must answer:
- Does it improve the core fantasy?
- Can it run within the performance budget?
- Can it be simulated efficiently?
- Does it create emergent gameplay?
- Is it worth its complexity?
If not:
Do not add it.
199. MVP
The MVP should NOT contain everything.
MVP:
1 town
1 surrounding region
Player
50–100 active NPCs
500–1,000 simulated residents
10 professions
10 buildings
20 items
Basic economy
Basic shops
Day/night
Weather
NPC schedules
Relationships
Basic events
Saving/loading
Performance profiler
If this is fun:
Continue.
If this is not fun:
Fix the core before expanding.
200. MVP SUCCESS CRITERIA
The prototype succeeds if:
Performance
It maintains a stable frame rate on target low/mid devices.
Simulation
NPCs appear to have meaningful lives.
Persistence
The town changes when the player leaves.
Interaction
Player actions cause visible consequences.
Fun
The player voluntarily keeps playing without needing a quest checklist.
201. THE GOLDEN TEST
Give the player no quest.
Put them in the town.
Say:
"You are free."
Then observe.
If they naturally start asking:
"Can I buy this shop?"
"Who owns this farm?"
"Why is bread so expensive?"
"Where did that merchant go?"
"Can I marry her?"
"Can I join the guards?"
"Can I become a noble?"
"What happened while I was gone?"
then the game is working.
202. FINAL GAME IDENTITY
The game should ultimately feel like:
A world, not a level.
A life, not a quest list.
A simulation, not a spreadsheet.
A story generator, not a scripted campaign.
The player should be able to stop after 50 hours and say:
"My world was different."
203. FINAL TECHNICAL PRINCIPLE
The game should use:
React Native
↓
UI / Application Layer
Specialized 2D/2.5D Renderer
↓
Visual World
Simulation Core
↓
Living World
Data-Driven Content
↓
Huge Content Scale
LOD + Culling + Aggregation
↓
Mobile Performance
The renderer does not need to know about every person in the world.
The simulation does not need to render every person.
The UI does not need to know about every simulation update.
This separation is what makes the concept viable.
204. THE ULTIMATE DESIGN GOAL
The player should be able to walk through a town and think:
"These people were going to do these things even if I wasn't here."
Then leave.
Return later.
And think:
"Something happened."
Then investigate.
Eventually discover:
"I accidentally caused this."
That is the game's magic.
205. FINAL PRODUCT VISION
A player starts with nothing.
They choose a life.
They meet people.
They make friends.
They make enemies.
They work.
They earn.
They lose.
They build.
They travel.
They fight.
They trade.
They fall in love.
They create a family.
They build a business.
They gain influence.
The world changes.
Years pass.
People die.
Children grow.
Kingdoms rise.
Kingdoms fall.
And eventually:
the player's life becomes part of the world's history.
206. MASTER PERFORMANCE RULE
NEVER SCALE BY RENDERING MORE.
Scale by:
Aggregating.
Culling.
Level of Detail.
Event simulation.
Instancing.
Pooling.
Chunking.
Streaming.
Background simulation.
Deterministic time advancement.
The world can become enormous without the screen becoming enormous.
207. MASTER DEVELOPMENT RULE
DO NOT BUILD THE BIG GAME FIRST.
Build:
One beautiful, extremely alive town.
Then prove:
100 NPCs
↓
250 NPCs
↓
500 NPCs
↓
1,000 simulated
↓
5,000 simulated
↓
10,000 simulated
while profiling on actual phones.
Only increase the world when the previous level is stable.
208. FINAL TARGET
The finished game should give the player this feeling:
"I don't know what is going to happen today."
And that should be the reason they open the game tomorrow.