Browse Source

added gnome sounds

main
Ellpeck 7 months ago
parent
commit
1ccfa023fa
  1. 5
      GreatSpringGameJam/Content/Content.mgcb
  2. BIN
      GreatSpringGameJam/Content/Sounds/ButtonPress.ogg
  3. BIN
      GreatSpringGameJam/Content/Sounds/GnomeCollect.ogg
  4. BIN
      GreatSpringGameJam/Content/Sounds/PlantGrow.ogg
  5. BIN
      GreatSpringGameJam/Content/Sounds/PlatformAppear.ogg
  6. BIN
      GreatSpringGameJam/Content/Sounds/SnowBlower.ogg
  7. 32
      GreatSpringGameJam/Content/Sounds/Sounds.aup
  8. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08083c0.au
  9. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808675.au
  10. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08086e8.au
  11. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08087a6.au
  12. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808854.au
  13. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e080885b.au
  14. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08088fa.au
  15. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808a3d.au
  16. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808d8c.au
  17. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808f8a.au
  18. BIN
      GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808f9f.au
  19. BIN
      GreatSpringGameJam/Content/Sounds/WateringCan.ogg
  20. 6
      GreatSpringGameJam/Gnome.cs

5
GreatSpringGameJam/Content/Content.mgcb

@ -115,3 +115,8 @@
/processor:SongProcessor
/build:Songs/SpringPlains.wav
#begin Sounds/GnomeCollect.ogg
/importer:OggImporter
/processor:SoundEffectProcessor
/build:Sounds/GnomeCollect.ogg

BIN
GreatSpringGameJam/Content/Sounds/ButtonPress.ogg

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/GnomeCollect.ogg

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/PlantGrow.ogg

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/PlatformAppear.ogg

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/SnowBlower.ogg

Binary file not shown.

32
GreatSpringGameJam/Content/Sounds/Sounds.aup

@ -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"/>

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08083c0.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808675.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08086e8.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08087a6.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808854.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e080885b.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e08088fa.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808a3d.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808d8c.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808f8a.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/Sounds_data/e08/d08/e0808f9f.au

Binary file not shown.

BIN
GreatSpringGameJam/Content/Sounds/WateringCan.ogg

Binary file not shown.

6
GreatSpringGameJam/Gnome.cs

@ -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,8 +13,10 @@ 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) {

Loading…
Cancel
Save