-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
81 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,59 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="https://aframe.io/releases/1.6.0/aframe.min.js"> | ||
</script> | ||
<script src="js/pinch-handler.js"></script> | ||
<script src="js/main.js"></script> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
<head> | ||
<script src="https://aframe.io/releases/1.6.0/aframe.min.js"></script> | ||
<script src="js/pinch-handler.js"></script> | ||
<script src="js/main.js"></script> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script> | ||
</head> | ||
<body> | ||
</head> | ||
<body> | ||
<a-scene pinch-handler> | ||
<a-assets> | ||
<img id="skyTexture1" | ||
src="img/sudoRoom_hardware_hack_1.jpg"/> | ||
<!-- kara walker - another hardware hack night --> | ||
<img id="skyTexture2" | ||
src="https://cdn.glitch.global/4f84b3a7-2196-4e68-9b5d-8d8f7c229bc8/KaraWalkerSFMoma360.jpg?v=17222a19263454" | ||
/> | ||
<!-- another hardware hack night --> | ||
<img | ||
id="skyTexture3" | ||
src="https://cdn.glitch.global/c70b1072-7801-4a12-b3cf-3bb5e174019e/SudoROom.JPG?v=1722469205013" | ||
/> | ||
</a-assets> | ||
|
||
<a-sky id="skybox" | ||
src="#skyTexture1" | ||
rotation="0 0 0"></a-sky> | ||
|
||
<a-text | ||
font="kelsonsans" | ||
value="SudoRoom & Fix-It Clinic" | ||
width="6" | ||
position="-2.5 1 -1.5" | ||
rotation="0 15 0" | ||
></a-text> | ||
|
||
<a-entity | ||
id="size" | ||
position="-2.0 0.5 -1.5" | ||
rotation="0 15 0" | ||
animation="property: scale; to: 2 2 2; dir: alternate; loop: true" | ||
text="color: white; align: center; value: Hardware Hack Night; width: 1.5" | ||
> | ||
</a-entity> | ||
<a-entity id="portal-group" position="0 1.5 -1"> | ||
<a-entity | ||
id="portal" | ||
geometry="primitive: circle; radius: 0.5" | ||
material="color: blue; opacity: 0.5" | ||
position="0 1.5 -3" | ||
event-set__enter="_event: mouseenter; material.opacity: 0.8" | ||
event-set__leave="_event: mouseleave; material.opacity: 0.5" | ||
event-set__click="_event: click; _target: #skybox; src: #skyTexture2" | ||
> | ||
<a-text | ||
value="Stare here to transport" | ||
align="center" | ||
position="0 0.6 0" | ||
scale="0.5 0.5 0.5" | ||
></a-text> | ||
<a-assets> | ||
<img id="skyTexture1" src="img/sudoRoom_hardware_hack_1.jpg"/> | ||
<img id="skyTexture2" src="https://cdn.glitch.global/4f84b3a7-2196-4e68-9b5d-8d8f7c229bc8/KaraWalkerSFMoma360.jpg?v=17222a19263454"/> | ||
<img id="skyTexture3" src="https://cdn.glitch.global/c70b1072-7801-4a12-b3cf-3bb5e174019e/SudoROom.JPG?v=1722469205013"/> | ||
</a-assets> | ||
|
||
<a-sky id="skybox" src="#skyTexture1" rotation="0 0 0"></a-sky> | ||
|
||
<a-text font="kelsonsans" value="SudoRoom & Fix-It Clinic" width="6" position="-2.5 1 -1.5" rotation="0 15 0"></a-text> | ||
|
||
<a-entity id="size" position="-2.0 0.5 -1.5" rotation="0 15 0" | ||
animation="property: scale; to: 2 2 2; dir: alternate; loop: true" | ||
text="color: white; align: center; value: Hardware Hack Night; width: 1.5"> | ||
</a-entity> | ||
</a-entity> | ||
<a-entity id="portal2" class="portal" position="0 1.5 -3" visible="false" | ||
geometry="primitive: circle; radius: 0.5" | ||
material="color: green; opacity: 0.5" | ||
event-set__enter="_event: mouseenter; material.opacity: 0.8" | ||
event-set__leave="_event: mouseleave; material.opacity: 0.5"> | ||
<a-text value="Stare here to transport" align="center" position="0 0.6 0" scale="0.5 0.5 0.5"></a-text> | ||
</a-entity> | ||
|
||
<a-entity position="0 1.8 2"> | ||
<a-entity camera look-controls wasd-controls> | ||
<a-cursor></a-cursor> | ||
|
||
<a-entity id="portal1" class="portal" geometry="primitive: circle; radius: 0.5" | ||
material="color: blue; opacity: 0.5" position="0 1.5 -3" | ||
event-set__enter="_event: mouseenter; material.opacity: 0.8" | ||
event-set__leave="_event: mouseleave; material.opacity: 0.5"> | ||
<a-text value="Stare here to transport" align="center" position="0 0.6 0" scale="0.5 0.5 0.5"></a-text> | ||
</a-entity> | ||
|
||
<a-entity id="portal2" class="portal" geometry="primitive: circle; radius: 0.5" | ||
material="color: green; opacity: 0.5" position="2 1.5 -3" visible="false" | ||
event-set__enter="_event: mouseenter; material.opacity: 0.8" | ||
event-set__leave="_event: mouseleave; material.opacity: 0.5"> | ||
<a-text value="Stare here to transport" align="center" position="0 0.6 0" scale="0.5 0.5 0.5"></a-text> | ||
</a-entity> | ||
|
||
<a-entity id="portal3" class="portal" geometry="primitive: circle; radius: 0.5" | ||
material="color: red; opacity: 0.5" position="-2 1.5 -3" visible="false" | ||
event-set__enter="_event: mouseenter; material.opacity: 0.8" | ||
event-set__leave="_event: mouseleave; material.opacity: 0.5"> | ||
<a-text value="Stare here to transport" align="center" position="0 0.6 0" scale="0.5 0.5 0.5"></a-text> | ||
</a-entity> | ||
|
||
<a-entity position="0 1.8 2"> | ||
<a-entity camera look-controls wasd-controls> | ||
<a-cursor></a-cursor> | ||
</a-entity> | ||
</a-entity> | ||
</a-entity> | ||
</a-scene> | ||
</body> | ||
</html> | ||
|
||
<script> | ||
// JavaScript code will be added here | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters