protected override void LoadContent() { Dictionary <string, string> audioFiles = new Dictionary <string, string>(); audioFiles.Add("wormhole.opposite", "sfx/interactions/wormhole_opposite.wav"); audioFiles.Add("wormhole.origin", "sfx/interactions/wormhole_origin.wav"); Audio.Load(audioFiles); base.LoadContent(); }
protected override void LoadContent() { Dictionary <string, string> audioFiles = new Dictionary <string, string>(); audioFiles.Add("env.leaves", "sfx/interactions/leaves_rustling.wav"); audioFiles.Add("env.wind", "sfx/interactions/wind.wav"); Audio.Load(audioFiles); base.LoadContent(); }
protected override void LoadContent() { Dictionary <string, string> audioFiles = new Dictionary <string, string>(); audioFiles.Add("user.spawn", "sfx/cursor/cursor_in.wav"); audioFiles.Add("user.death", "sfx/cursor/cursor_out.wav"); Audio.Load(audioFiles); base.LoadContent(); }
protected override void LoadContent() { Dictionary <string, string> audioFiles = new Dictionary <string, string>(); audioFiles.Add("enemy.death", "sfx/enemy/enemy_death.wav"); audioFiles.Add("enemy.spawn1", "sfx/enemy/enemy_spawn_1.wav"); audioFiles.Add("enemy.spawn2", "sfx/enemy/enemy_spawn_2.wav"); audioFiles.Add("enemy.spawn3", "sfx/enemy/enemy_spawn_3.wav"); Audio.Load(audioFiles); enemies = new List <Enemy>(); addBuffer = new List <Enemy>(); base.LoadContent(); }
protected override void LoadContent() { ground = new Ground(); CloudManager.LoadContent(); // Load audio Audio.MultiSpeakerOutput_Load(); Dictionary <string, string> audioFiles = new Dictionary <string, string>(); audioFiles.Add("ambient.flux", "sfx/ambient/flux_v2.1.wav"); Audio.Load(audioFiles); Audio.Play("ambient.flux", 0, 0.3f, true); Audio.Play("ambient.flux", 1, 0.3f, true); Audio.Play("ambient.flux", 2, 0.3f, true); Audio.Play("ambient.flux", 3, 0.3f, true); Audio.Play("ambient.flux", 4, 0.3f, true); //Preload spritesheets to reduce lag on first-time load Wormhole.WormholeAnimations(); Collector.CollectorAnimations(); /* For Testing */ //Add Collector #if PRODUCTION #else OrderedDictionary c = new OrderedDictionary(); c.Add("id", 0); EventManager.Emit("collector:new", c); //Add User OrderedDictionary o = new OrderedDictionary(); o.Add("id", 0); o.Add("teamId", 0); o.Add("username", "DILBERT"); o.Add("display", 0); EventManager.Emit("user:new", o); #endif /* End for testing */ }
protected override void LoadContent() { Dictionary <string, string> audioFiles = new Dictionary <string, string>(); audioFiles.Add("collector.complete", "sfx/collector/collector_complete.wav"); audioFiles.Add("collector.death", "sfx/collector/collector_death.wav"); audioFiles.Add("collector.merge", "sfx/collector/collector_merge.wav"); audioFiles.Add("collector.resource1", "sfx/collector/collector_resource_inserted_1.wav"); audioFiles.Add("collector.resource2", "sfx/collector/collector_resource_inserted_2.wav"); audioFiles.Add("collector.resource3", "sfx/collector/collector_resource_inserted_3.wav"); audioFiles.Add("collector.resource4", "sfx/collector/collector_resource_inserted_4.wav"); audioFiles.Add("collector.spawn", "sfx/collector/collector_spawn.wav"); audioFiles.Add("collector.weapon", "sfx/collector/collector_weapon.wav"); audioFiles.Add("collector.bass", "sfx/ambient/bass_event.wav"); Audio.Load(audioFiles); base.LoadContent(); }