work on victory screen. debugstate component (?debugstate=victory, ?debugstate=gameover, ?debugstate=loading)
This commit is contained in:
36
src/templates/loading.html
Normal file
36
src/templates/loading.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<a-entity
|
||||
id="songLoadingIndicator"
|
||||
bind__visible="isSongFetching"
|
||||
geometry="primitive: ring; radiusInner: 0.05; radiusOuter: 0.08"
|
||||
material="shader: flat; color: #FAFAFA; opacity: 0.75; side: back"
|
||||
position="0 1 -2.5"
|
||||
rotation="0 180 0">
|
||||
</a-entity>
|
||||
|
||||
<a-entity
|
||||
id="loadingText"
|
||||
mixin="textFont"
|
||||
bind__animation__color="enabled: isSongLoading"
|
||||
bind__text="value: loadingText"
|
||||
animation__color="property: components.text.material.uniforms.color.value; type: color; from: #AAF; to: #88D; dir: alternate; loop: true; dur: 750; easing: easeInOutCubic; enabled: false"
|
||||
text="align: center; color: #aaf; wrapCount: 18; width: 2"
|
||||
position="0 1.1 -2.5"
|
||||
bind__visible="isSongLoading"></a-entity>
|
||||
|
||||
<a-entity id="loadingSongInfoContainer" position="0 1.86 -2.5" bind__visible="isSongLoading">
|
||||
<a-entity mixin="slice" slice9="width: 0.77; height: 0.9; padding: 0.08" position="0 0.08 -0.03"></a-entity>
|
||||
<a-entity id="loadingSongImage"
|
||||
copy-texture="from: #menuSelectedChallengeImage"
|
||||
geometry="primitive: plane; buffer: false; skipCache: true; height: 0.3; width: 0.3"
|
||||
material="shader: flat"
|
||||
position="0 0.24 0"></a-entity>
|
||||
|
||||
<a-entity id="loadingSongInfo">
|
||||
<a-entity position="0 -0.05 0" mixin="textFont"
|
||||
text="wrapCount: 40; align: center; color: #FF185B"
|
||||
bind__text="value: menuSelectedChallenge.songSubName"></a-entity>
|
||||
<a-entity position="0 -0.13 0"
|
||||
mixin="textFont" text="align: center; color: #FFF; wrapCount: 21; baseline: top; lineHeight: 36; width: 0.81"
|
||||
bind__text="value: menuSelectedChallenge.songName"></a-entity>
|
||||
</a-entity>
|
||||
</a-entity>
|
||||
Reference in New Issue
Block a user