-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcodepuzzledemo.html
77 lines (73 loc) · 4.67 KB
/
codepuzzledemo.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
<!DOCTYPE html>
<html>
<!--You can use this music for free in your multimedia project (online videos (Youtube, Facebook,...), websites, animations, etc.) as long as you credit Bensound.com (in the description for a video).
For example: Music: https://www.bensound.com-->
<head>
<meta charset="utf-8">
<title>RealAdventure360</title>
<meta name="description" content="360 Adventure game">
<script src="libs/aframe-v0.9.0.min.js"></script>
<script src="libs/aframe-state-component.min.js"></script>
<script src="libs/aframe-slice9-component.min.js"></script>
<script src="libs/aframe-look-at-component.min.js"></script>
<script src="components/interactions/snapturn.js"></script>
<script src="components/interactions/hoverable.js"></script>
<script src="components/interactions/pickable.js"></script>
<script src="components/interactions/grabbable.js"></script>
<script src="components/interactions/dialogue.js"></script>
<script src="components/interactions/cutscene-player-choice.js"></script>
<script src="components/interactions/inventory.js"></script>
<script src="components/interactions/navigation-event-emitter.js"></script>
<script src="components/interactions/use-target.js"></script>
<script src="components/interactions/codepuzzle.js"></script>
<script src="components/interactions/menu-button.js"></script>
<script src="components/interactions/cutscene-present-item.js"></script>
<script src="components/visual-modifiers/keyframes.js"></script>
<script src="components/visual-modifiers/spin.js"></script>
<script src="components/visual-modifiers/scripted-invisibility.js"></script>
<script src="components/visual-modifiers/invisible-in-vr.js"></script>
<script src="components/media/video-player.js"></script>
<script src="components/media/video-looper.js"></script>
<script src="components/media/music-change-emitter.js"></script>
<script src="components/media/scripted-audio-player.js"></script>
<script src="components/media/asset-loader.js"></script>
<script src="components/media/cutscene-end-transition.js"></script>
<script src="components/systems/navigation-manager.js"></script>
<script src="components/systems/music-manager.js"></script>
<script src="components/systems/transitions-manager.js"></script>
<script src="components/misc/remove-self-if-laser-available.js"></script>
<script src="components/misc/guide-widget.js"></script>
<script src="components/misc/remove-self-if-desktop.js"></script>
<script src="components/debug/global-state-listener.js"></script>
<script src="state/global-scene-state.js"></script>
<script src="miscellaneous/jsonToEntityParser.js"></script>
<script src="miscellaneous/utils.js"></script>
</head>
<body>
<a-scene stats asset-loader inventory="iconHoverSfx:#hover;summonSfx:#hover;unsummonSfx:#hover;" global-state-listener="active:false;listenForChangeIn:flags" navigation-manager="initialEnv:playable-scenes/codepuzzledemo.json;clearStorage:true" music-manager transitions-manager>
<a-assets timeout="5000">
<audio id="hover" src="assets/sfx/hover.mp3"></audio>
<audio id="correct" src="assets/sfx/correct.wav"></audio>
<audio id="buttonSfx" src="assets/sfx/button.mp3"></audio>
<audio id="wrong" src="assets/sfx/wrong.mp3"></audio>
<audio id="unlockingSfx" src="assets/sfx/unlocking.wav"></audio>
<audio id="music" src="assets/music/lounge.mp3"></audio>
<img crossorigin="anonymous" id="museum" src="assets/360images/museum.jpg"></img>
<img crossorigin="anonymous" id="examineIcon" src="assets/icons/examineIcon.PNG"></img>
<img crossorigin="anonymous" id="examinedIcon" src="assets/icons/examinedIcon.PNG"></img>
<img crossorigin="anonymous" id="topsecretImg" src="assets/icons/topsecret.jpg"></img>
<img crossorigin="anonymous" id="lockedIcon" src="assets/icons/locked.png"></img>
<img crossorigin="anonymous" id="unlockedIcon" src="assets/icons/unlocked.png"></img>
<a-asset-item id="safe" src="assets/3D/safe/safe.glb"></a-asset-item>
<a-asset-item id="notebook" src="assets/3D/notebook/notebook.glb"></a-asset-item>
</a-assets>
<a-entity id="rig" snapturn>
<a-entity id="hand" remove-self-if-desktop oculus-go-controls="hand:right" laser-controls="hand: right" raycaster="objects: .inter" line="color: #118A7E;">
</a-entity>
<a-entity id="mouseCursor" remove-self-if-laser-available cursor="rayOrigin: mouse" raycaster="objects: .inter" line="color: #118A7E;">
</a-entity>
<a-entity id="camera" camera look-controls>
</a-entity>
</a-scene>
</body>
</html>