use beat hit sound as menu click confirm
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
id="gameMenu"
|
||||
bind__visible="isGameOver || isPaused || isVictory"
|
||||
position="0 1.1 -2"
|
||||
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03">
|
||||
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03"
|
||||
play-sound__click="event: click; sound: #confirmSound; volume: 0.25">
|
||||
|
||||
<!-- Actions. -->
|
||||
<a-entity
|
||||
|
||||
@@ -214,6 +214,7 @@
|
||||
<a-plane
|
||||
id="playButton"
|
||||
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03"
|
||||
play-sound__click="event: click; sound: #confirmSound; volume: 0.25"
|
||||
position="0 -0.51 0"
|
||||
proxy-event="event: click; to: a-scene; as: playbuttonclick"
|
||||
material="shader: flat; src: #playImg; transparent: true; color: #CCC"
|
||||
|
||||
Reference in New Issue
Block a user