[{"data":1,"prerenderedAt":224},["ShallowReactive",2],{"doc-global_essentials\u002Fresources\u002Fgalleries":3},{"id":4,"title":5,"body":6,"description":16,"extension":215,"meta":216,"navigation":219,"path":220,"seo":221,"stem":222,"__hash__":223},"docs\u002Fdocs\u002Fglobal_essentials\u002Fresources\u002Fgalleries.md","Galleries",{"type":7,"value":8,"toc":201},"minimark",[9,13,17,25,28,33,84,86,90,93,98,126,130,133,135,139,142,145,156,166,172,176,191,195],[10,11,5],"h1",{"id":12},"galleries",[14,15,16],"p",{},"The engine features a built-in gallery system that automatically tracks content the player has discovered during gameplay.",[14,18,19,20,24],{},"Galleries are defined in the engine editor under ",[21,22,23],"strong",{},"General → Galleries",".",[26,27],"hr",{},[29,30,32],"h2",{"id":31},"gallery-types","Gallery Types",[34,35,36,49],"table",{},[37,38,39],"thead",{},[40,41,42,46],"tr",{},[43,44,45],"th",{},"Type",[43,47,48],{},"Description",[50,51,52,64,74],"tbody",{},[40,53,54,61],{},[55,56,57],"td",{},[58,59,60],"code",{},"characters",[55,62,63],{},"Character sprites",[40,65,66,71],{},[55,67,68],{},[58,69,70],{},"assets",[55,72,73],{},"Background images and scene assets",[40,75,76,81],{},[55,77,78],{},[58,79,80],{},"scenes",[55,82,83],{},"Replayable story scenes",[26,85],{},[29,87,89],{"id":88},"characters-assets-galleries","Characters & Assets Galleries",[14,91,92],{},"For characters and assets, discovery is automatic.",[94,95,97],"h3",{"id":96},"setup","Setup",[99,100,101,107,119],"ol",{},[102,103,104,105],"li",{},"Create a gallery in ",[21,106,23],{},[102,108,109,110,113,114,116,117],{},"Set the gallery ",[58,111,112],{},"type"," to ",[58,115,60],{}," or ",[58,118,70],{},[102,120,121,122,125],{},"In the character\u002Fasset template, fill in the ",[58,123,124],{},"gallery"," field with the gallery ID",[94,127,129],{"id":128},"how-discovery-works","How Discovery Works",[14,131,132],{},"When a player encounters a character or asset during gameplay, it's automatically added to the discovered list. No additional actions required.",[26,134],{},[29,136,138],{"id":137},"scene-galleries","Scene Galleries",[14,140,141],{},"Scene galleries work differently - they're tied to dungeons and require explicit marking.",[94,143,97],{"id":144},"setup-1",[14,146,147,148,151,152,155],{},"Attach the ",[58,149,150],{},"view"," action to any ",[58,153,154],{},"#scene"," you want to include in the gallery:",[157,158,163],"pre",{"className":159,"code":161,"language":162},[160],"language-text","#greetings{if: true, view: \"Greetings\"}\n","text",[58,164,161],{"__ignoreMap":165},"",[14,167,168,169,171],{},"The ",[58,170,150],{}," value becomes the scene's display name in the gallery.",[94,173,175],{"id":174},"how-it-works","How It Works",[177,178,179,182,188],"ul",{},[102,180,181],{},"Each dungeon contains its own collection of viewable scenes",[102,183,184,185,187],{},"Scenes with ",[58,186,150],{}," are grouped by dungeon in the gallery",[102,189,190],{},"Players can replay discovered scenes from the gallery menu",[94,192,194],{"id":193},"example","Example",[157,196,199],{"className":197,"code":198,"language":162},[160],"^room1\n#intro{if: true, view: \"First Meeting\"}\n1\n%\nCharacter dialogue here...\n\n#secret_ending{view: \"Secret Ending\"}\n1\n%\nHidden scene content...\n",[58,200,198],{"__ignoreMap":165},{"title":165,"searchDepth":202,"depth":202,"links":203},2,[204,205,210],{"id":31,"depth":202,"text":32},{"id":88,"depth":202,"text":89,"children":206},[207,209],{"id":96,"depth":208,"text":97},3,{"id":128,"depth":208,"text":129},{"id":137,"depth":202,"text":138,"children":211},[212,213,214],{"id":144,"depth":208,"text":97},{"id":174,"depth":208,"text":175},{"id":193,"depth":208,"text":194},"md",{"plugin":217,"category":218,"page":12},"global_essentials","resources",true,"\u002Fdocs\u002Fglobal_essentials\u002Fresources\u002Fgalleries",{"title":5,"description":16},"docs\u002Fglobal_essentials\u002Fresources\u002Fgalleries","oP65OE4oTO_FmHY3gVLz5cFgdovwTAmRL4mF7ijEMo0",1779582261452]