-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (73 loc) · 3.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>candy factory game thing</title>
</head>
<body>
<div id="ui" v-bind:class="{highQuality:highQuality}">
<div id="views">
<div id="menus" v-bind:class="{open:menu!=null}" class="viewBox">
<div class="menuView" v-bind:class="{open:menu == upgradesMenu}">
<div class="menuViewHeader">Upgrades</div>
<div v-for="category in upgrades" class="upgradesBuilding">
{{category.name}}
<hr>
<ul v-for="tier in category.tiers" class="upgradesBuildingTier">
<b>Tier {{category.tiers.indexOf(tier) + 1}}</b>
<ul>
<li v-for="upgrade in tier">
{{upgrade.name}} {{upgrade.upgrade}} {{upgrade.multiplier}}
</li>
</ul>
</ul>
</div>
</div>
<div class="menuView" v-bind:class="{open:menu == hireMenu}">
<div class="menuViewHeader">Hire Workers</div>
</div>
<div class="menuView" v-bind:class="{open:menu == shopMenu}">
<div class="menuViewHeader">Item Shop</div>
</div>
<div class="menuView" v-bind:class="{open:menu == settingsMenu}">
<div class="menuViewHeader">Settings</div>
</div>
</div>
</div>
<div id="navItems" ref="navItems">
<div v-on:click="closeMenu" class="navItemsItem accent" style="float: left;">
<span class="title">{{player.name}}</span> <br>
${{formattedMoney}}
</div>
<div v-on:click="openMenu(upgradesMenu)" class="navItemsItem" style="float: left;">
<i class="material-icons">business_center</i>
<span class="content">Upgrades</span>
</div>
<div v-on:click="openMenu(hireMenu)" class="navItemsItem" style="float: left;">
<i class="material-icons">person_add</i>
<span class="content">Hire Workers</span>
</div>
<div v-on:click="openMenu(shopMenu)" class="navItemsItem" style="float: left;">
<i class="material-icons">storefront</i>
<span class="content">Item Shop</span>
</div>
<div v-on:click="openMenu(settingsMenu)" class="navItemsItem" style="float: right;">
<i class="material-icons">settings</i>
<span class="content">Settings</span>
</div>
</div>
</div>
<div id="loading">
<div id="loadingHeader">LOADING...</div>
<div id="loadingText"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="./scripts/three.min.js"></script>
<script src="./scripts/postprocessing.min.js"></script>
<script src="./scripts/core.js" type="module"></script>
</body>
</html>