import{_ as e,c as t,o,a4 as i}from"./chunks/framework.CsM8T_AH.js";const m=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/getting-started.md","filePath":"public/gamedevtree/docs/getting-started.md"}'),a={name:"public/gamedevtree/docs/getting-started.md"},n=i('
Welcome to The Modding Tree!
Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.
Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.
The benefits of using Github:
Install Github Desktop and Visual Studio Code.
Make a Github account. You can handle this on your own.
Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.
Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.
Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".
Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.
Click on "show in finder" to the right, and then open index.html. This will let you view and test your project!
To edit your project, click "open in VSCode" in Github Desktop.
Open mod.js in VSCode, and look at the top part where it says "modInfo". On the lines below that, change the mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later.)
Save game.js, and then reload index.html. The title on the tab, as well as on the info page, will now be the new ones!
Go back to Github Desktop. It's time to save your changes into the git system by making a "commit".
At the bottom right corner, add a summary of your changes, and then click "commit to master".
Finally, at the top middle, click "push origin" to push your changes out onto the online repository.
You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html
And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.
',11),r=[n];function s(h,l,u,d,p,c){return o(),t("div",null,r)}const y=e(a,[["render",s]]);export{m as __pageData,y as default};