[{"data":1,"prerenderedAt":257},["ShallowReactive",2],{"navigation_docs":3,"-using-parallax-working-with-agent":72,"-using-parallax-working-with-agent-surround":252},[4,26,43],{"title":5,"path":6,"stem":7,"children":8,"page":25},"Using Parallax","\u002Fusing-parallax","1.using-parallax",[9,13,17,21],{"title":10,"path":11,"stem":12},"Getting Started","\u002Fusing-parallax\u002Fgetting-started","1.using-parallax\u002F0.getting-started",{"title":14,"path":15,"stem":16},"Project Structure","\u002Fusing-parallax\u002Fproject-structure","1.using-parallax\u002F1.project-structure",{"title":18,"path":19,"stem":20},"Working with the Agent","\u002Fusing-parallax\u002Fworking-with-agent","1.using-parallax\u002F2.working-with-agent",{"title":22,"path":23,"stem":24},"Deploying Your Game","\u002Fusing-parallax\u002Fdeploying","1.using-parallax\u002F3.deploying",false,{"title":27,"path":28,"stem":29,"children":30,"page":25},"Features","\u002Ffeatures","2.features",[31,35,39],{"title":32,"path":33,"stem":34},"Feature Overview","\u002Ffeatures\u002Foverview","2.features\u002F0.overview",{"title":36,"path":37,"stem":38},"Roadmap","\u002Ffeatures\u002Froadmap","2.features\u002F1.roadmap",{"title":40,"path":41,"stem":42},"Feature Requests","\u002Ffeatures\u002Frequests","2.features\u002F2.requests",{"title":44,"path":45,"stem":46,"children":47,"page":25},"Game Dev","\u002Fgame-dev","3.game-dev",[48,52,56,60,64,68],{"title":49,"path":50,"stem":51},"The Game Developer's Mental Model","\u002Fgame-dev\u002Fmental-model","3.game-dev\u002F0.mental-model",{"title":53,"path":54,"stem":55},"A History of Games","\u002Fgame-dev\u002Fhistory-of-games","3.game-dev\u002F1.history-of-games",{"title":57,"path":58,"stem":59},"Game Categories","\u002Fgame-dev\u002Fgame-categories","3.game-dev\u002F2.game-categories",{"title":61,"path":62,"stem":63},"Theme and Visual Design","\u002Fgame-dev\u002Ftheme-and-design","3.game-dev\u002F3.theme-and-design",{"title":65,"path":66,"stem":67},"Visual Design in Games","\u002Fgame-dev\u002Fvisual-design","3.game-dev\u002F4.visual-design",{"title":69,"path":70,"stem":71},"Theme in Game Design","\u002Fgame-dev\u002Ftheme-in-games","3.game-dev\u002F5.theme-in-games",{"id":73,"title":18,"body":74,"description":244,"extension":245,"links":246,"meta":247,"navigation":249,"path":19,"seo":250,"stem":20,"__hash__":251},"docs\u002F1.using-parallax\u002F2.working-with-agent.md",{"type":75,"value":76,"toc":231},"minimark",[77,81,85,90,95,105,113,121,125,128,141,145,156,159,163,169,172,176,179,209,213,224,228],[78,79,18],"h1",{"id":80},"working-with-the-agent",[82,83,84],"p",{},"The Parallax agent is not a search engine — it's a collaborator. The more you treat it like a skilled developer who knows your game, the better results you'll get.",[86,87,89],"h2",{"id":88},"prompting-patterns-that-work-well","Prompting patterns that work well",[91,92,94],"h3",{"id":93},"describe-the-behaviour-not-the-code","Describe the behaviour, not the code",[96,97,100,104],"callout",{"color":98,"icon":99},"green","i-ph-check-circle",[101,102,103],"strong",{},"Good:"," \"When the player collects a coin, play a chime sound and add 10 to the score shown in the top-right corner\"",[96,106,109,112],{"color":107,"icon":108},"red","i-ph-x-circle",[101,110,111],{},"Less good:"," \"Add a variable called score and increment it by 10 on coin collision and draw it\"",[82,114,115,116,120],{},"The agent infers the implementation. You describe the ",[117,118,119],"em",{},"experience",".",[91,122,124],{"id":123},"scope-your-requests","Scope your requests",[82,126,127],{},"One well-defined change per prompt is faster and easier to review than a large batch:",[129,130,131,135,138],"ul",{},[132,133,134],"li",{},"✅ \"Add wall-jumping to the player\"",[132,136,137],{},"✅ \"Make enemies patrol left-right between two points\"",[132,139,140],{},"⚠️ \"Add wall-jumping, enemy patrol, and a level transition screen\" — split this into three prompts",[91,142,144],{"id":143},"reference-your-own-files","Reference your own files",[146,147,152],"pre",{"className":148,"code":150,"language":151},[149],"language-text","Look at how I handle player movement in player.lua and apply the same pattern to the enemy\n","text",[153,154,150],"code",{"__ignoreMap":155},"",[82,157,158],{},"The agent understands your codebase — referencing existing files produces more consistent output.",[91,160,162],{"id":161},"iterate-with-feedback","Iterate with feedback",[146,164,167],{"className":165,"code":166,"language":151},[149],"That's almost right — but the jump arc feels floaty. \nCan you reduce the jump height by 20% and add a small squash animation on landing?\n",[153,168,166],{"__ignoreMap":155},[82,170,171],{},"The agent keeps context between messages in the same project session.",[86,173,175],{"id":174},"what-the-agent-knows","What the agent knows",[82,177,178],{},"The agent is grounded in:",[180,181,182,188,194,200],"ol",{},[132,183,184,187],{},[101,185,186],{},"Your project files"," — always in context",[132,189,190,193],{},[101,191,192],{},"Love2D 11.5 API"," — all callbacks, modules, and functions",[132,195,196,199],{},[101,197,198],{},"This documentation"," — best practices, mental models, common patterns",[132,201,202,208],{},[101,203,204,205],{},"Your ",[153,206,207],{},".parallax\u002Fcontext.json"," — your game's rules and conventions",[86,210,212],{"id":211},"what-the-agent-doesnt-do","What the agent doesn't do",[129,214,215,218,221],{},[132,216,217],{},"It won't make large architectural changes without explaining the trade-offs",[132,219,220],{},"It won't silently delete files — all file changes are shown as diffs before writing",[132,222,223],{},"It won't invent Love2D APIs that don't exist (if it's uncertain, it'll say so)",[86,225,227],{"id":226},"reviewing-diffs","Reviewing diffs",[82,229,230],{},"Every agent response that modifies code includes a diff. Take 30 seconds to read it — it's the fastest way to build intuition for Love2D patterns and catch anything unexpected.",{"title":155,"searchDepth":232,"depth":232,"links":233},2,[234,241,242,243],{"id":88,"depth":232,"text":89,"children":235},[236,238,239,240],{"id":93,"depth":237,"text":94},3,{"id":123,"depth":237,"text":124},{"id":143,"depth":237,"text":144},{"id":161,"depth":237,"text":162},{"id":174,"depth":232,"text":175},{"id":211,"depth":232,"text":212},{"id":226,"depth":232,"text":227},"How to prompt the Parallax agent effectively — patterns that work, patterns that don't.","md",null,{"ogImage":248,"sync":25},"\u002Flogo.png",true,{"title":18,"description":244},"Ur0s7TuVbzsGHDJA3t2JKDNbmffrN08wOV-Mf2B5RPg",[253,255],{"title":14,"path":15,"stem":16,"description":254,"children":-1},"How Parallax organizes your Love2D game files.",{"title":22,"path":23,"stem":24,"description":256,"children":-1},"Package and distribute your finished Love2D game.",1781007575749]