-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
146 lines (108 loc) · 5.86 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<html>
<head>
<title>Emodemy</title>
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-room-component/dist/aframe-room-component.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script>
</head>
<body>
<a-scene>
<a-assets>
<img id="doggo" src="https://cdn.glitch.com/0eae8c88-807e-4238-b83d-904b68b9e2b7%2FCOrgiFInal.png?1519510993914">
</a-assets>
<a-image src="#doggo" position="-1.3 0.5 -0.5" scale="1 1 1" rotation="-20 0 0" alpha-test="0.5"></a-image>
<a-assets>
<img id="lamp" src="https://cdn.glitch.com/0eae8c88-807e-4238-b83d-904b68b9e2b7%2FLamp.png?1519511365131">
</a-assets>
<a-image src="#lamp" position="2.5 1 -1" scale="3 3 3" rotation="0 0 0" alpha-test="0.5"></a-image>
<a-assets>
<img id="window" src="https://cdn.glitch.com/0eae8c88-807e-4238-b83d-904b68b9e2b7%2Fwindow.png?1519511589794">
</a-assets>
<a-image src="#window" position="2.5 1.3 -1.8" scale="1.5 1.5 1.5" rotation="0 0 0" alpha-test="0.5"></a-image>
<a-assets>
<img id="shelf" src="https://cdn.glitch.com/0eae8c88-807e-4238-b83d-904b68b9e2b7%2FBookShelf.png?1519511775839">
</a-assets>
<a-image src="#shelf" position="-1 1 -1.3" scale="2 2 2" rotation="0 0 0" alpha-test="0.5"></a-image>
<a-assets>
<img id="my-image" src="https://cdn.glitch.com/0eae8c88-807e-4238-b83d-904b68b9e2b7%2FsadPersoncolorFINAL2.png?1519510656341">
</a-assets>
<a-image src="#my-image" position="1.5 1 0.2" scale="2 2 2" rotation="-20 -20 0" alpha-test="0.5"></a-image>
<a-box position="1.48 1.75 -0.05" scale="3 0.25 0.01" rotation="0 0 0" color="#FFF" opacity="0.5"></a-box>
<rw-room position="-2 0 -2" material="color:#866">
<rw-wall position="6 0 0"></rw-wall>
<rw-wall position="6 0 6"></rw-wall>
<rw-wall position="0 0 6"></rw-wall>
<rw-wall position="0 0 0">
<rw-doorhole id="holeA"></rw-doorhole>
<rw-doorlink from="#holeA" to="#holeB" position="2.5 0 0"></rw-doorlink>
</rw-wall>
</rw-room>
<rw-room position="0 0 -3">
<rw-wall position=" 1 0 -1" material="color:#787"></rw-wall>
<rw-wall position=" 1 0 1" material="color:#877">
<rw-doorhole id="holeB"></rw-doorhole>
</rw-wall>
<rw-wall position="-1 0 1" material="color:#878"></rw-wall>
<rw-wall position="-1 0 -1" material="color:#778"></rw-wall>
</rw-room>
<a-entity mixin="marker" position="-1 2 0.01"></a-entity>
<a-entity position="2 1.75 0"
text="width: 4; lineHeight: 50; letterSpacing: 5; color: black; value: Sarah's dad just passed away">
</a-entity>
<a-entity src="#model"></a-entity>
<a-box id="goodResponse"
position="2.78 1.3 0.6" rotation="0 64 0" color="#f8f894" scale="0.08 0.5 1.03"
event-set__down="_event: mousedown; color: #00cc66"
event-set__enter="_event: mouseenter; color: #8FF7FF">
</a-box>
<a-box id="greatResponse"
position="2.78 0.7 0.6" rotation="0 64 0" color="#f8f894" scale="0.08 0.5 1.03"
event-set__down="_event: mousedown; color: #00ff00"
event-set__enter="_event: mouseenter; color: #8FF7FF">
</a-box>
<a-box id="badResponse"
position="0.36 1.3 0.5" rotation="0 -64 0" color="#f8f894" scale="0.08 0.5 1.03"
event-set__down="_event: mousedown; color: #ff9900"
event-set__enter="_event: mouseenter; color: #8FF7FF">
</a-box>
<a-box id="terribleResponse"
position="0.36 0.7 0.5" rotation="0 -64 0" color="#f8f894" scale="0.08 0.5 1.03"
event-set__down="_event: mousedown; color: #ff0000"
event-set__enter="_event: mouseenter; color: #8FF7FF">
</a-box>
<a-entity mixin="marker" position="-1 2 0.01"></a-entity>
<a-entity position="3.2 1.35 1"
rotation= "0 -30 0"
text="width: 2; lineHeight: 50; letterSpacing: 5; color: black; value: I'm sorry, he's
in a better place">
</a-entity>
<a-entity src="#model"></a-entity>
<a-entity mixin="marker" position="-1 2 0.01"></a-entity>
<a-entity position="3.2 0.78 1"
rotation= "0 -30 0"
text="width: 2; lineHeight: 50; letterSpacing: 5; color: black; value: I'm here for you,
if you need
anything">
</a-entity>
<a-entity src="#model"></a-entity>
<a-entity mixin="marker" id="badText" position="-1 2 0.01"></a-entity>
<a-entity position="0.9 1.3 0.3"
rotation= "0 27 0"
text="width: 2; lineHeight: 50; letterSpacing: 5; color: black; value: You'll be fine">
</a-entity>
<a-entity src="#model"></a-entity>
<a-entity mixin="marker" id="terribleText" position="-1 2 0.01"></a-entity>
<a-entity position="0.9 0.7 0.3"
rotation= "0 27 0"
text="width: 2; lineHeight: 50; letterSpacing: 5; color: black; value: Get over it...">
</a-entity>
<a-entity src="#model"></a-entity>
<a-camera position="1 0 3">
<a-cursor></a-cursor>
</a-camera>
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>
<a-plane position="1.737 0 2" scale="2 2 2" rotation="-90 0 0" width="4" height="4" color="#42000b"></a-plane>
<a-sky color="#d0eafb"></a-sky>
</a-scene>
</body>
</html>