added gnome sounds
This commit is contained in:
parent
84869f8e17
commit
1ccfa023fa
|
@ -115,3 +115,8 @@
|
|||
/processor:SongProcessor
|
||||
/build:Songs/SpringPlains.wav
|
||||
|
||||
#begin Sounds/GnomeCollect.ogg
|
||||
/importer:OggImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/build:Sounds/GnomeCollect.ogg
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,56 +1,66 @@
|
|||
<?xml version="1.0" standalone="no" ?>
|
||||
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
|
||||
<project xmlns="http://audacity.sourceforge.net/xml/" projname="Sounds_data" version="1.3.0" audacityversion="2.4.2" sel0="0.0000000000" sel1="0.0000000000" vpos="0" h="0.0000000000" zoom="37.2165538074" rate="44100.0" snapto="off" selectionformat="hh:mm:ss + milliseconds" frequencyformat="Hz" bandwidthformat="octaves">
|
||||
<project xmlns="http://audacity.sourceforge.net/xml/" projname="Sounds_data" version="1.3.0" audacityversion="2.4.2" sel0="0.0000000000" sel1="3.1207256236" vpos="128" h="0.0000000000" zoom="562.3692088589" rate="44100.0" snapto="off" selectionformat="hh:mm:ss + milliseconds" frequencyformat="Hz" bandwidthformat="octaves">
|
||||
<tags>
|
||||
<tag name="ARTIST" value="Imphenzia"/>
|
||||
<tag name="COMMENTS" value="www.universalsoundfx.com"/>
|
||||
<tag name="Copyright" value="Imphenzia AB"/>
|
||||
</tags>
|
||||
<wavetrack name="ButtonPress" isSelected="0" height="150" minimized="0" channel="2" linked="0" mute="1" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<wavetrack name="ButtonPress" isSelected="1" height="150" minimized="0" channel="2" linked="0" mute="0" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<waveclip offset="0.00000000" colorindex="0">
|
||||
<sequence maxsamples="262144" sampleformat="262159" numsamples="2137">
|
||||
<waveblock start="0">
|
||||
<simpleblockfile filename="e0808f8a.au" len="2137" min="-0.722725" max="1.0" rms="0.063428"/>
|
||||
<simpleblockfile filename="e0808854.au" len="2137" min="-0.722725" max="1.0" rms="0.063428"/>
|
||||
</waveblock>
|
||||
</sequence>
|
||||
<envelope numpoints="0"/>
|
||||
</waveclip>
|
||||
</wavetrack>
|
||||
<wavetrack name="PlantGrow" isSelected="0" height="150" minimized="0" channel="2" linked="0" mute="1" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<wavetrack name="PlantGrow" isSelected="1" height="150" minimized="0" channel="2" linked="0" mute="0" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<waveclip offset="0.00000000" colorindex="0">
|
||||
<sequence maxsamples="262144" sampleformat="262159" numsamples="47745">
|
||||
<waveblock start="0">
|
||||
<simpleblockfile filename="e08088fa.au" len="47745" min="-0.994931" max="1.0" rms="0.021839"/>
|
||||
<simpleblockfile filename="e08086e8.au" len="47745" min="-0.994931" max="1.0" rms="0.021839"/>
|
||||
</waveblock>
|
||||
</sequence>
|
||||
<envelope numpoints="0"/>
|
||||
</waveclip>
|
||||
</wavetrack>
|
||||
<wavetrack name="PlatformAppear" isSelected="0" height="150" minimized="0" channel="2" linked="0" mute="1" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<wavetrack name="PlatformAppear" isSelected="1" height="150" minimized="0" channel="2" linked="0" mute="0" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<waveclip offset="0.00000000" colorindex="0">
|
||||
<sequence maxsamples="262144" sampleformat="262159" numsamples="137624">
|
||||
<waveblock start="0">
|
||||
<simpleblockfile filename="e0808d8c.au" len="137624" min="-0.85468" max="1.0" rms="0.028974"/>
|
||||
<simpleblockfile filename="e08083c0.au" len="137624" min="-0.85468" max="1.0" rms="0.028974"/>
|
||||
</waveblock>
|
||||
</sequence>
|
||||
<envelope numpoints="0"/>
|
||||
</waveclip>
|
||||
</wavetrack>
|
||||
<wavetrack name="SnowBlower" isSelected="0" height="150" minimized="0" channel="2" linked="0" mute="1" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<wavetrack name="SnowBlower" isSelected="1" height="150" minimized="0" channel="2" linked="0" mute="0" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<waveclip offset="0.00000000" colorindex="0">
|
||||
<sequence maxsamples="262144" sampleformat="262159" numsamples="137624">
|
||||
<waveblock start="0">
|
||||
<simpleblockfile filename="e08087a6.au" len="137624" min="-0.415495" max="0.460189" rms="0.107242"/>
|
||||
<simpleblockfile filename="e0808f9f.au" len="137624" min="-0.90284" max="1.0" rms="0.233034"/>
|
||||
</waveblock>
|
||||
</sequence>
|
||||
<envelope numpoints="0"/>
|
||||
</waveclip>
|
||||
</wavetrack>
|
||||
<wavetrack name="WateringCan" isSelected="1" height="150" minimized="0" channel="2" linked="0" mute="0" solo="1" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<wavetrack name="WateringCan" isSelected="1" height="150" minimized="0" channel="2" linked="0" mute="0" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<waveclip offset="0.00000000" colorindex="0">
|
||||
<sequence maxsamples="262144" sampleformat="262159" numsamples="137624">
|
||||
<waveblock start="0">
|
||||
<simpleblockfile filename="e0808a3d.au" len="137624" min="-0.90553" max="0.771975" rms="0.032794"/>
|
||||
<simpleblockfile filename="e080885b.au" len="137624" min="-1.0" max="0.852514" rms="0.036215"/>
|
||||
</waveblock>
|
||||
</sequence>
|
||||
<envelope numpoints="0"/>
|
||||
</waveclip>
|
||||
</wavetrack>
|
||||
<wavetrack name="GnomeCollect" isSelected="1" height="150" minimized="0" channel="2" linked="0" mute="0" solo="0" rate="44100" gain="1.0" pan="0.0" colorindex="0">
|
||||
<waveclip offset="0.00000000" colorindex="0">
|
||||
<sequence maxsamples="262144" sampleformat="262159" numsamples="22590">
|
||||
<waveblock start="0">
|
||||
<simpleblockfile filename="e0808675.au" len="22590" min="-0.961348" max="1.0" rms="0.157125"/>
|
||||
</waveblock>
|
||||
</sequence>
|
||||
<envelope numpoints="0"/>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,7 +1,9 @@
|
|||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using MLEM.Misc;
|
||||
using MLEM.Startup;
|
||||
using MLEM.Textures;
|
||||
|
||||
namespace GreatSpringGameJam {
|
||||
|
@ -11,9 +13,11 @@ namespace GreatSpringGameJam {
|
|||
}
|
||||
|
||||
public override void Update(GameTime time) {
|
||||
if (GameImpl.Instance.Player.Bounds.Contains(this.Position + Vector2.One / 2))
|
||||
if (GameImpl.Instance.Player.Bounds.Intersects(new RectangleF(this.Position, Vector2.One))) {
|
||||
MlemGame.LoadContent<SoundEffect>("Sounds/GnomeCollect").Play();
|
||||
this.Map.RemoveEntity(this);
|
||||
}
|
||||
}
|
||||
|
||||
public override void Draw(GameTime time, SpriteBatch batch) {
|
||||
base.Draw(time, batch);
|
||||
|
|
Loading…
Reference in New Issue