Added hit counts

This commit is contained in:
thepaperpilot 2021-05-14 02:05:27 -05:00
parent 9c84543099
commit 1ebb6bc184
2 changed files with 6 additions and 2 deletions

View file

@ -47,6 +47,7 @@
<body onload="load()">
<div id="app">
<img :src="'http://thepaperpilot.tech/count/tag.svg?url=' + encodeURIComponent(window.location.href)" alt="Hits" style="display: none"/>
<canvas id="treeCanvas" class="canvas" v-if ="!(gameEnded && !player.keepGoing)"></canvas>
<div class="nav">

View file

@ -145,6 +145,8 @@ const systemComponents = {
Original idea by papyrus (on discord)
<br>
Hourglass used with modifications from <a v-bind:href="'https://codepen.io/jkantner/pen/wvWXyKG'" target="_blank" class="link" v-bind:style = "{'font-size': '14px', 'display': 'inline'}" >jkantner</a> under MIT license
<br><br>
<img :src="'http://thepaperpilot.tech/nocount/tag.svg?url=' + encodeURIComponent(window.location.href)" alt="Hits" />
<br><br>
<div class="link" onclick="showTab('changelog-tab')">Changelog</div><br>
<span v-if="modInfo.discordLink"><a class="link" v-bind:href="modInfo.discordLink" target="_blank">{{modInfo.discordName}}</a><br></span>
@ -157,8 +159,9 @@ const systemComponents = {
<span v-if="player.chapterTime[3] > 0">Chapter 3 Time: {{ formatTime(player.chapterTime[3]) }}</span><br>
<span v-if="player.chapterTime[4] > 0">Chapter 4 Time: {{ formatTime(player.chapterTime[4]) }}</span><br>
<span v-if="player.chapterTime[5] > 0">Chapter 5 Time: {{ formatTime(player.chapterTime[5]) }}</span><br><br>
<h3>Hotkeys</h3><br>
<span v-for="key in hotkeys" v-if="player[key.layer].unlocked && tmp[key.layer].hotkeys[key.id].unlocked"><br>{{key.description}}</span></div>
<h3 v-if="Object.keys(hotkeys) > 0">Hotkeys</h3><br>
<span v-for="key in hotkeys" v-if="player[key.layer].unlocked && tmp[key.layer].hotkeys[key.id].unlocked"><br>{{key.description}}</span>
</div>
`
},