diff --git a/2.0-format-changes.md b/Old Code/2.0-format-changes.md
similarity index 100%
rename from 2.0-format-changes.md
rename to Old Code/2.0-format-changes.md
diff --git a/demo.html b/demo.html
index df95e84..f7440a4 100644
--- a/demo.html
+++ b/demo.html
@@ -18,14 +18,14 @@
-
-
+
+
-
Loading... (If this takes too long it means there was a serious error!)
+
Loading... (If this takes too long it means there was a serious error!)←
-
-
+
+
{{modInfo.name}} {{VERSION.withoutName}}
Congratulations! You have reached the end and beaten this game, but for now...
@@ -43,66 +43,12 @@
Oh, you are still reading this?
-
-
-
-
+
-
-
-
{{modInfo.name}}
-
-
{{VERSION.withName}}
-
-
- Made by {{modInfo.author}}
-
-
- The Modding Tree {{TMT_VERSION.tmtNum}} by Acamaeda
-
- The Prestige Tree made by Jacorb and Aarex
-
- Original idea by papyrus (on discord)
-
-
-
- Made by {{modInfo.author}}
-
-
- The Modding Tree {{TMT_VERSION.tmtNum}} by Acamaeda
-
- The Prestige Tree made by Jacorb and Aarex
-
- Original idea by papyrus (on discord)
-
- Time Played: {{ formatTime(player.timePlayed) }}
-
Hotkeys
- {{key.description}}
diff --git a/js/Demo/demoTree.js b/js/Demo/demoTree.js
index aee9601..7659b5c 100644
--- a/js/Demo/demoTree.js
+++ b/js/Demo/demoTree.js
@@ -1,6 +1,6 @@
// treeLayout will override the default tree's layout if used
var layoutInfo = {
- startTab: "none",
+ startTab: "c",
showTree: true,
//treeLayout: ""
diff --git a/js/components.js b/js/components.js
index ad8b1d7..4390cf8 100644
--- a/js/components.js
+++ b/js/components.js
@@ -403,6 +403,8 @@ function loadVue() {
Vue.component('layer-node', systemComponents['layer-node'])
Vue.component('layer-tab', systemComponents['layer-tab'])
Vue.component('overlay-head', systemComponents['overlay-head'])
+ Vue.component('info-tab', systemComponents['info-tab'])
+ Vue.component('options-tab', systemComponents['options-tab'])
app = new Vue({
diff --git a/js/game.js b/js/game.js
index 560dd1c..bddb13d 100644
--- a/js/game.js
+++ b/js/game.js
@@ -349,7 +349,9 @@ var interval = setInterval(function() {
}
if (player.devSpeed) diff *= player.devSpeed
player.time = now
- if (needCanvasUpdate) resizeCanvas();
+ if (needCanvasUpdate){ resizeCanvas();
+ needCanvasUpdate = false;
+ }
updateTemp();
gameLoop(diff)
fixNaNs()
diff --git a/js/technical/layerSupport.js b/js/technical/layerSupport.js
index ec77831..517a901 100644
--- a/js/technical/layerSupport.js
+++ b/js/technical/layerSupport.js
@@ -197,3 +197,14 @@ const UP = 0
const DOWN = 1
const LEFT = 2
const RIGHT = 3
+
+
+addLayer("info-tab", {
+ tabFormat: ["info-tab"],
+ row: "otherside"
+})
+
+addLayer("options-tab", {
+ tabFormat: ["options-tab"],
+ row: "otherside"
+})
\ No newline at end of file
diff --git a/js/technical/systemComponents.js b/js/technical/systemComponents.js
index 1b8072a..c9a078c 100644
--- a/js/technical/systemComponents.js
+++ b/js/technical/systemComponents.js
@@ -71,7 +71,7 @@ var systemComponents = {
'layer-tab': {
props: ['layer', 'back', 'spacing'],
template: `
-
+
@@ -127,4 +127,63 @@ var systemComponents = {
`
},
+
+ 'info-tab': {
+ template: `
+
+
{{modInfo.name}}
+
+
{{VERSION.withName}}
+
+
+ Made by {{modInfo.author}}
+
+
+ The Modding Tree {{TMT_VERSION.tmtNum}} by Acamaeda
+
+ The Prestige Tree made by Jacorb and Aarex
+
+ Original idea by papyrus (on discord)
+