Skip to content

Commit

Permalink
toggle raycastable of a few more slice planes
Browse files Browse the repository at this point in the history
  • Loading branch information
ngokevin committed May 21, 2019
1 parent 203d396 commit 9ce5703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/templates/gameMenu.html
Expand Up @@ -22,7 +22,7 @@

<a-entity
id="gameMenu"
bind__visible="isGameOver || isPaused || isVictory"
bind__visible="isPaused || isVictory"
position="0 1.5 -2"
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.1"
play-sound__click="event: click; sound: #confirmSound; volume: 0.25">
Expand Down Expand Up @@ -64,6 +64,7 @@
song-info-positioner
bind__song-info-positioner="victory: isVictory">
<a-entity id="gameMenuSongBackground"
bind-toggle__raycastable="isPaused || isVictory"
render-order="menu"
geometry="primitive: plane; width: 1.6; height: 0.3"
material="shader: panelShader; transparent: true; ratio: 4; borderRadius: 0.5; borderWidth: 0.02"
Expand Down
1 change: 1 addition & 0 deletions src/templates/loading.html
Expand Up @@ -7,6 +7,7 @@

<a-entity
id="loadingMenuBackground"
bind-toggle__raycastable="isLoading"
render-order="menu"
geometry="primitive: plane; width: 1.15; height: 1.2"
material="shader: panelShader; ratio: 1.15; borderRadius: 0.4"
Expand Down

0 comments on commit 9ce5703

Please sign in to comment.