SoundBoxing link (fixes #85)
This commit is contained in:
@@ -125,6 +125,26 @@
|
||||
bind__visible="!!menuSelectedChallenge.id"></a-entity>
|
||||
|
||||
{{ searchResults() }}
|
||||
|
||||
<a-entity id="soundboxing"
|
||||
bind__visible="!menuSelectedChallenge.id && !isSearching" position="0.95 -0.57 0.01">
|
||||
<a-entity id="soundboxing-button"
|
||||
link="href: https://webvr.soundboxing.co/; on: click"
|
||||
geometry="primitive:plane; width: 0.38; height: 0.19;"
|
||||
material="shader: flat; src: #soundboxingImg"
|
||||
animation__mouseenter="property: object3D.position.z; from: 0.01; to: 0.03; startEvents: mouseenter; pauseEvents: mouseleave; easing: easeOutCubic; dur: 150"
|
||||
animation__mouseleave="property: object3D.position.z; from: 0.03; to: 0.01; startEvents: mouseleave; pauseEvents: mouseenter; easing: easeOutCubic; dur: 150"
|
||||
proxy-event__mouseenter="event: mouseenter; to: CHILDREN; as: show"
|
||||
proxy-event__mouseleave="event: mouseleave; to: CHILDREN; as: hide"
|
||||
bind__raycastable="!menuSelectedChallenge.id">
|
||||
<a-entity id="soundboxing-popup"
|
||||
position="0 0.12 0.015"
|
||||
mixin="font"
|
||||
animation__show="property: components.text.material.uniforms.opacity.value; from: 0; to: 1; startEvents: show; dur: 100"
|
||||
animation__hide="property: components.text.material.uniforms.opacity.value; from: 1; to: 0; startEvents: hide; dur: 100"
|
||||
text="value:Did you try SoundBoxing?; opacity: 0; baseline: bottom; width: 0.7; wrapCount: 24; align: center"></a-entity>
|
||||
</a-entity>
|
||||
</a-entity>
|
||||
</a-entity>
|
||||
|
||||
<a-entity id="menuDifficultiesGroup" position="0.195 0.18 0">
|
||||
|
||||
Reference in New Issue
Block a user