click sfx
This commit is contained in:
parent
bd00529811
commit
e9a317bfec
4 changed files with 8 additions and 2 deletions
BIN
Assets/sfx/click.mp3
(Stored with Git LFS)
Normal file
BIN
Assets/sfx/click.mp3
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -2,8 +2,8 @@
|
|||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.dofdev.snake"
|
||||
android:versionCode="6"
|
||||
android:versionName="1.06"
|
||||
android:versionCode="7"
|
||||
android:versionName="1.07"
|
||||
android:installLocation="auto"
|
||||
>
|
||||
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />
|
||||
|
|
|
@ -45,6 +45,7 @@ static class Mono
|
|||
if (Rig.btn_trigger.delta == +1)
|
||||
{
|
||||
menu = !menu;
|
||||
SFX.click.PlayBox(new XYZi(0, 0, Mono.SD_Z + 1));
|
||||
}
|
||||
|
||||
// flatscreen dev controls
|
||||
|
|
|
@ -8,6 +8,8 @@ static class SFX
|
|||
{
|
||||
sound.Play(Mono.box_pose.ToMatrix(Mono.box_scale) * pos.ToVec3);
|
||||
}
|
||||
|
||||
public static Sound click = Sound.FromFile("sfx/click.mp3");
|
||||
public static Sound crisp_nom = Sound.FromFile("sfx/crisp_nom.mp3");
|
||||
public static Sound punch_through = Sound.FromFile("sfx/punch_through.mp3");
|
||||
}
|
Loading…
Add table
Reference in a new issue