mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-01-18 19:51:30 +00:00
Tutorial is doneish
This commit is contained in:
parent
7e545e2710
commit
0e9d7850b7
4 changed files with 45 additions and 5 deletions
|
@ -1,9 +1,11 @@
|
|||
#The Modding Tree changelog:
|
||||
|
||||
|
||||
##v1.3.5?
|
||||
##v1.3.5
|
||||
- Completely automated convertToDecimal, now you never have to worry about it again.
|
||||
- Branches can be defined without a color id. But they can also use hex values for color ids!
|
||||
- Created a tutorial for getting started with TMT and Github.
|
||||
- Page title is now automatically taken from mod name.
|
||||
|
||||
|
||||
##v1.3.4: 10/8/20
|
||||
|
|
|
@ -31,6 +31,26 @@ The benefits of using Github:
|
|||
A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is
|
||||
downloading a copy of the repository to your computer.
|
||||
|
||||
5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".
|
||||
5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone". It will download the files and handle everything.
|
||||
|
||||
6.
|
||||
|
||||
# Using your repository
|
||||
|
||||
1. Click on "show in finder" to the right, and then open index.html. This will let you view and
|
||||
test your project!
|
||||
|
||||
2. To edit your project, click "open in VSCode" in Github Desktop.
|
||||
|
||||
3. Open index.html, 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. (The id is important, it determines where the game looks for your saves. It should be different from other mods, and shouldn't be changed once set.)
|
||||
|
||||
4. Reload index.html. The title on the tab, as well as on the info page, will now be the new ones!
|
||||
|
||||
5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit".
|
||||
|
||||
6. At the bottom right corner, add a summary of your changes, and then click "commit to master".
|
||||
|
||||
7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.
|
||||
|
||||
8. You can view your project on line, or share it with others, by going to
|
||||
https://raw.githack.com/Katakana1/[YOUR-GITHUB-USERNAME]/master/index.html
|
|
@ -8,7 +8,6 @@
|
|||
offlineLimit: 1 // In hours
|
||||
}
|
||||
</script>
|
||||
<title>The Modding Tree</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
|
||||
|
@ -25,6 +24,7 @@
|
|||
</head>
|
||||
<body onload="load()">
|
||||
<div id="app">
|
||||
<vue-title :title="modInfo.name"></vue-title>
|
||||
<div v-if="false" id="loadingSection" class="fullWidth">
|
||||
<h1>Loading... (If this takes too long it means there was a serious error!)</h1>
|
||||
</div>
|
||||
|
@ -52,7 +52,10 @@
|
|||
<h3>v1.3.5</h3>
|
||||
<ul>
|
||||
<li>The system now handles convertToDecimal for everything automatically!</li>
|
||||
<li>Created a tutorial for getting started with TMT and Github.</li>
|
||||
<li>Branches can be defined without a color id. But they can also use hex values for color ids!</li>
|
||||
<li>Page title is now automatically taken from mod name.</li>
|
||||
|
||||
</ul>
|
||||
<h3>v1.3.4</h3>
|
||||
<ul>
|
||||
|
|
17
js/v.js
17
js/v.js
|
@ -286,6 +286,19 @@ function loadVue() {
|
|||
`
|
||||
})
|
||||
|
||||
Vue.component('vue-title', {
|
||||
props: ['title'],
|
||||
watch: {
|
||||
title: {
|
||||
immediate: true,
|
||||
handler() {
|
||||
document.title = this.title;
|
||||
}
|
||||
}
|
||||
},
|
||||
render () {
|
||||
},
|
||||
})
|
||||
|
||||
app = new Vue({
|
||||
el: "#app",
|
||||
|
@ -310,4 +323,6 @@ function loadVue() {
|
|||
hotkeys
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue