[{"data":1,"prerenderedAt":514},["ShallowReactive",2],{"doc-global_essentials\u002Fintroduction\u002Fcreating_new_game":3},{"id":4,"title":5,"body":6,"description":332,"extension":504,"meta":505,"navigation":509,"path":510,"seo":511,"stem":512,"__hash__":513},"docs\u002Fdocs\u002Fglobal_essentials\u002Fintroduction\u002Fcreating_new_game.md","Creating a New Game",{"type":7,"value":8,"toc":494},"minimark",[9,13,18,23,36,66,76,83,95,99,102,140,167,171,178,215,218,229,233,240,243,257,260,265,297,300,307,314,318,325,335,349,355,359,387,393,397,406,452,458,461,464,467,483],[10,11,5],"h1",{"id":12},"creating-a-new-game",[14,15,17],"h2",{"id":16},"creating-your-first-game","Creating Your First Game",[19,20,22],"h3",{"id":21},"_1-create-a-new-game","1. Create a New Game",[24,25,26,27,31,32,35],"p",{},"Open the ",[28,29,30],"strong",{},"Editor"," and go to ",[28,33,34],{},"New → New Game",". You have two options:",[24,37,38,41,42,45,46,49,50,53,54,57,58,61,62,65],{},[28,39,40],{},"Quick Start (Recommended):"," Click the ",[28,43,44],{},"”Quick Start”"," banner at the top. Pick a ",[28,47,48],{},"Template",", enter your ",[28,51,52],{},"Game Name",", ",[28,55,56],{},"Author",", and ",[28,59,60],{},"Starting Dungeon Name",", then press ",[28,63,64],{},"”Create Game”",". You'll have a working game with a dungeon, rooms, and content ready to edit immediately.",[24,67,68,71,72,75],{},[28,69,70],{},"From Scratch:"," Fill in the manifest form below the banner (game name, ID, description, etc.) and press ",[28,73,74],{},"”Save New Game”",".",[24,77,78],{},[79,80],"img",{"alt":81,"src":82},"new_game","\u002Fplay\u002Fassets\u002Fengine_files\u002Fplugins\u002Fglobal_essentials\u002Fdocs\u002Fen\u002Fimages\u002Fnew_game.png",[24,84,85,86,89,90,94],{},"Either way, Dryad Engine will automatically create ",[28,87,88],{},"two folders"," inside ",[91,92,93],"code",{},"\u002Fassets"," folder.",[19,96,98],{"id":97},"_2-your-game-folders","2. Your Game Folders",[24,100,101],{},"You’ll see:",[103,104,105,124],"ol",{},[106,107,108,111],"li",{},[91,109,110],{},"games_files\u002F[your_game_id]\u002F_core",[112,113,114,121],"ul",{},[106,115,116,117,120],{},"This is where ",[28,118,119],{},"all of your game data"," lives.",[106,122,123],{},"You’ll populate it by filling in forms in the editor (characters, items, stats, dungeons, etc.).",[106,125,126,129],{},[91,127,128],{},"games_assets\u002F[your_game_id]\u002F_core",[112,130,131,137],{},[106,132,116,133,136],{},[28,134,135],{},"you put your game assets"," – images, sounds, custom scripts and other files.",[106,138,139],{},"These assets can be linked to your game through the editor’s built‑in file browser.",[24,141,142,143,146,147,150,151,154,155,158,159,162,163,166],{},"The ",[91,144,145],{},"games_files"," folder follows a ",[28,148,149],{},"specific structure"," that the engine understands.",[152,153],"br",{},"\nThe ",[91,156,157],{},"games_assets"," folder is more flexible: the engine can reference ",[28,160,161],{},"any assets"," there – and even assets from ",[28,164,165],{},"other games"," – as long as you point to them from your data.",[19,168,170],{"id":169},"_3-think-of-your-game-as-a-layered-cake","3. Think of Your Game as a Layered Cake",[24,172,173,174,177],{},"Every game in Dryad Engine is built like a ",[28,175,176],{},"layered cake",":",[112,179,180,190,201],{},[106,181,182,183,75],{},"When you create a new game, you’re creating the ",[28,184,185,186,189],{},"base ",[91,187,188],{},"_core"," layer",[106,191,192,193,196,197,200],{},"Later, you (or your community) can create ",[28,194,195],{},"mods"," for that game. Each mod becomes a ",[28,198,199],{},"new layer on top"," of the previous ones.",[106,202,203,204],{},"A mod can:\n",[112,205,206,209],{},[106,207,208],{},"Add new data (new characters, items, dungeons, etc.).",[106,210,211,212,75],{},"Overwrite specific properties (for example, change a character’s starting health) while ",[28,213,214],{},"leaving everything else untouched",[24,216,217],{},"This makes it easy to:",[112,219,220,223,226],{},[106,221,222],{},"Patch and update your game.",[106,224,225],{},"Build expansions and DLC.",[106,227,228],{},"Let the community create their own mods on top of your work.",[19,230,232],{"id":231},"_4-creating-a-dungeon","4. Creating a Dungeon",[24,234,235,236,239],{},"Right now, your game exists, but it doesn’t have a real ",[28,237,238],{},"starting point"," yet.",[24,241,242],{},"In the game settings you define:",[112,244,245,251],{},[106,246,247,250],{},[91,248,249],{},"starting_dungeon_id"," – which dungeon to start in.",[106,252,253,256],{},[91,254,255],{},"starting_dungeon_room_id"," – which room inside that dungeon is the first one.",[24,258,259],{},"Let’s create a very simple starting dungeon now.",[261,262,264],"h4",{"id":263},"_41-create-the-dungeon","4.1 Create the Dungeon",[103,266,267,273,276,284],{},[106,268,269,270,75],{},"In the editor, go to ",[28,271,272],{},"New → New Dungeon",[106,274,275],{},"Fill in the basic info for your dungeon.",[106,277,278,279,75],{},"To keep things simple, choose ",[28,280,281],{},[91,282,283],{},"dungeon_type: text",[106,285,286,287,290,291,296],{},"Because we don’t have a background image to define the size yet, set the ",[28,288,289],{},"dimensions manually"," (for this example, use ",[28,292,293],{},[91,294,295],{},"1000px",").",[24,298,299],{},"When you save this dungeon, its data will be created under:",[112,301,302],{},[106,303,304],{},[91,305,306],{},"games_files\u002F[your_game_id]\u002F_core\u002Fdungeons\u002F[dungeon_id]",[24,308,309,310,313],{},"If you ever decide to completely remove this dungeon, you can delete it safely by ",[28,311,312],{},"removing that folder"," (just make sure nothing in your game still points to it).",[261,315,317],{"id":316},"_42-add-simple-room-content","4.2 Add Simple Room Content",[24,319,320,321,324],{},"Normally it’s recommended to write dungeon content in ",[28,322,323],{},"Google Docs",", but for this first test we’ll set the content directly into 'dungeon_content' field:",[326,327,333],"pre",{"className":328,"code":330,"language":331,"meta":332},[329],"language-text","^1\n@description\nYou enter room '1'\n\n^2\n@description\nYou enter room '2'\n","text","",[91,334,330],{"__ignoreMap":332},[24,336,337,338,341,342,345,346,75],{},"This gives you content for ",[28,339,340],{},"two rooms",": one with ID ",[91,343,344],{},"1"," and one with ID ",[91,347,348],{},"2",[24,350,351],{},[79,352],{"alt":353,"src":354},"new_dungeon","\u002Fplay\u002Fassets\u002Fengine_files\u002Fplugins\u002Fglobal_essentials\u002Fdocs\u002Fen\u002Fimages\u002Fnew_dungeon.png",[261,356,358],{"id":357},"_43-create-and-connect-the-rooms","4.3 Create and Connect the Rooms",[103,360,361,368,384],{},[106,362,363,364,367],{},"Go to ",[28,365,366],{},"Dungeons → Rooms"," in the editor.",[106,369,370,371,373,374,378,379,383],{},"Create ",[28,372,340],{}," with IDs ",[28,375,376],{},[91,377,344],{}," and ",[28,380,381],{},[91,382,348],{}," (matching the content you just wrote).",[106,385,386],{},"Connect the rooms together so you can move between them.",[24,388,389],{},[79,390],{"alt":391,"src":392},"rooms","\u002Fplay\u002Fassets\u002Fengine_files\u002Fplugins\u002Fglobal_essentials\u002Fdocs\u002Fen\u002Fimages\u002Frooms.png",[261,394,396],{"id":395},"_44-make-sure-everything-is-in-sync","4.4 Make Sure Everything Is in Sync",[24,398,399,400,378,402,405],{},"After writing dungeon content, you should verify that your ",[28,401,391],{},[28,403,404],{},"encounters"," match what's defined in the game files.",[103,407,408,414,443,446],{},[106,409,410,411,75],{},"In the editor, open your dungeon Config and click ",[28,412,413],{},"\"Synchronize Content Document\"",[106,415,416,417],{},"The analyser will compare your content document against the game data and report:",[112,418,419,425,431,437],{},[106,420,421,424],{},[28,422,423],{},"Unimplemented rooms"," – rooms referenced in content but not created yet.",[106,426,427,430],{},[28,428,429],{},"Redundant rooms"," – rooms in game data that no longer exist in content.",[106,432,433,436],{},[28,434,435],{},"Missing encounters"," – encounters referenced in content but not created yet.",[106,438,439,442],{},[28,440,441],{},"Redundant encounters"," – encounters in game data that no longer exist in content.",[106,444,445],{},"Follow the prompts to create missing items or delete redundant ones.",[106,447,448,449],{},"When everything matches, you'll see ",[28,450,451],{},"\"Everything is in sync!\"",[24,453,454],{},[79,455],{"alt":456,"src":457},"sync","\u002Fplay\u002Fassets\u002Fengine_files\u002Fplugins\u002Fglobal_essentials\u002Fdocs\u002Fen\u002Fimages\u002Fsync.png",[24,459,460],{},"This step is especially useful after editing your Google Doc or adding new rooms and encounters – it catches mismatches before they cause runtime errors.",[462,463],"hr",{},[24,465,466],{},"At this point you have:",[112,468,469,472,480],{},[106,470,471],{},"A new game",[106,473,474,475,378,477,479],{},"A starting dungeon with two rooms (",[91,476,344],{},[91,478,348],{},")",[106,481,482],{},"Content describing what happens when you enter each room",[24,484,485,486,489,490,493],{},"Now you're ready to ",[28,487,488],{},"test your game"," – press the ",[28,491,492],{},"Playtest"," button in the editor and walk through your tiny dungeon.",{"title":332,"searchDepth":495,"depth":495,"links":496},2,[497],{"id":16,"depth":495,"text":17,"children":498},[499,501,502,503],{"id":21,"depth":500,"text":22},3,{"id":97,"depth":500,"text":98},{"id":169,"depth":500,"text":170},{"id":231,"depth":500,"text":232},"md",{"plugin":506,"category":507,"page":508},"global_essentials","introduction","creating_new_game",true,"\u002Fdocs\u002Fglobal_essentials\u002Fintroduction\u002Fcreating_new_game",{"title":5,"description":332},"docs\u002Fglobal_essentials\u002Fintroduction\u002Fcreating_new_game","GGgQraD2QTD9ABOWBidryuFFm1vBHNB4vUZnZn6nFkg",1779582260834]