import{_ase,cast,oasa,Naso}from"./chunks/framework.0799945b.js";constm=JSON.parse('{"title":"Introduction","description":"","frontmatter":{"title":"Introduction"},"headers":[],"relativePath":"guide/index.md","lastUpdated":1684282250000}'),n={name:"guide/index.md"},r=o('<h1id="introduction"tabindex="-1">Introduction<aclass="header-anchor"href="#introduction"aria-label="Permalink to "Introduction""></a></h1><p>Profectusisaweb-basedgameengine.Youcanwriteyourcontentusingmanybuiltinfeatures,writeyourownfeatures,andbuildupcomplexgameplayquicklyandeasily.</p><p>Thepurposeofcreatingprofectuswastocreateaneasytouseenginethatdoesnotcreateaceilingforaprogrammer'spersonalgrowth.Thisenginewillgrowincomplexitywithyou,empoweringyoutocreateincreasinglycomplexdesignsandmechanics.</p><h2id="should-you-use-profectus"tabindex="-1">ShouldyouuseProfectus?<aclass="header-anchor"href="#should-you-use-profectus"aria-label="Permalinkto"ShouldyouuseProfectus?""></a></h2><p>Whilethisengineisintendedtomakegamedevelopment(andwebappdevelopment)easier,itstillrequiresyoutobecomfortablewithprogrammingingeneralandjavascriptinparticular.Fortunately,thatisasolvableproblem.</p><p>Ifyou'veneverusedJavascriptbefore,<ahref="https://www.learn-js.org/"target="_blank"rel="noreferrer">learn-js.org</a>isagoodresourceforlearningtheimportantconcepts.Ifyou'dlikeamorethoroughlessononalltheinsandoutsofwebdevelopment,<ahref="https://javascript.info"target="_blank"rel="noreferrer">javascript.info</a>and<ahref="https://developer.mozilla.org/en-US/docs/Learn/JavaScript"target="_blank"rel="noreferrer">MDN'stutorials</a>shouldhaveyoucovered.MDNisalsoagreatresourcetouseasareference-forexample,ifyouwanttoknowmoreaboutsomethingandyougoogleit,there'lltypicallybeaMDNlinkthat'llexplainitthoroughly.</p><p>Beyondthebasics,Profectususesamodernwebdevelopmentpipeline,usingtoolslikenode,typescript,andJSX.Whilemostofitshouldberelativelyeasytopickupthroughcontext,ifthisbecomestoocomplicatedyoumaybeinterestedin<ahref="https://github.com/Acamaeda/The-Modding-Tree/"target="_blank"rel="noreferrer">TheModdingTree</a>,apredecessorofProfectusthatusesplainoldjavascript.</p><h3id="alternative-engines"tabindex="-1">AlternativeEngines<aclass="header-anchor"href="#alternative-engines"aria-label="Permalinkto"AlternativeEngines""></a></h3><p>Therearemanypopulargameenginesoutthere,suchas<ahref="https://www.yoyogames.com/"target="_blank"rel="noreferrer">GameMakerStudio2</a>,<ahref="https://unity.com"target="_blank"rel="noreferrer">Unity3D</a>,<ahref="https://www.unrealengine.com/"target="_blank"rel="noreferrer">UnrealEngine4</a>,and<ahref="https://godotengine.org"target="_blank"rel="noreferrer">Godot</a>,thatareallgeneralpurposeandalsomoreusefulifyou'replanningongoingintoacareeringamedevelopment.TheseareallmorematureandrobustgameenginescomparedtoProfectus,andareusedbyactualgamedevelopmentstudios.</p><p>Profectus,ontheotherhand,isaveryopinionatedenginethatisbetteratspecifictypesofprojects.Wheretheaboveengineswillrequireyoutodesignandcreateyourowninterfaces,menus,savemanagementsystems,etc.Profectuswillincludethoseoutofthebox.Profectuswillalsooutputgamesthatrunnativelyinthebrowser,andwilltypicallybeeasierforplayerstoplaythantraditionalengines.</p><p>Ifyouarenotinterestedinprogrammingbutstillwanttogetintogamedevelopment,theaboveenginesalsoallsupport"visualprogramming",whichmaybemoreamenabletoyou.Eachenginewillhavevaryinglevelsofsupport,andofcoursewithvaryingcomplexities,butultimatelyanyofthesewillhelpyoulearntheconceptsofprogrammingandgamedevelopment,andallofthemal