EVR.Sound.Prompt = function(sound)
{
   EVR.Animation.call(this, SOUND_PROMPT_FRAME_RATE);
   this.sound = sound;
   this.shifted = false;
   this.initialize();
   this.append();
   this.play();
}
EVR.Sound.Prompt.prototype = new EVR.Prompt;
EVR.inherit(EVR.Sound.Prompt, EVR.Animation);
EVR.Sound.Prompt.prototype.initialize = function()
{
   var container = this.sound;
   var text = SOUND_PROMPT_TEXT;
   var color = SOUND_PROMPT_COLOR;
   var size = SOUND_PROMPT_SIZE;
   var offset = SOUND_PROMPT_OFFSET;
   var spacing = SOUND_PROMPT_LETTER_SPACING;
   var height = SOUND_PROMPT_HEIGHT;
   EVR.Prompt.call(
      this, container, text, color, size, null, null, null, offset, spacing,
      height);
}
EVR.Sound.Prompt.prototype.sequence = function()
{
   var step = SOUND_PROMPT_STEP;
   var shifted = this.shifted;
   if (shifted)
   {
      this.move(step);
   }
   else
   {
      this.move(-step);
   }
   this.shifted = !shifted;
}
EVR.Sound.Prompt.prototype.hide = function()
{
   this.set_opacity(0);
}
EVR.Sound.Prompt.prototype.show = function()
{
   this.set_opacity(1);
}
EVR.Sound.Prompt.prototype.toString = function()
{
   return "[object EVR.Sound.Prompt]";
}
EVR.include("sound/audio/HTML5.js");
EVR.include("sound/audio/BGSound.js");
EVR.include("sound/audio/Embed.js");
EVR.Sound.Audio = function(container, type, format)
{
   EVR.Component.call(this, container, type);
   this.volume = SOUND_INITIAL_VOLUME;
   this.volume_step = SOUND_VOLUME_STEP;
   this.muted = true;
   this.format = format;
}
EVR.Sound.Audio.prototype = new EVR.Component;
EVR.Sound.Audio.prototype.set_song = function(name)
{
   this.song = name;
   this.set_path();
}
EVR.Sound.Audio.prototype.set_path = function()
{
   var root = SOUND_PATH;
   var song = this.song;
   var format = this.format;
   var quality = SOUND_QUALITY;
   var extension = format;
   var path = root + song + "/" + format + "/" + quality + "." + extension;
   this.element.setAttribute("src", path);
}
EVR.Sound.Audio.prototype.mute = function()
{
   if (this.muted)
   {
      this.muted = false;
      if (this.volume <= 0)
      {
	 this.increase_volume();
      }
   }
   else
   {
      this.muted = true;
   }
   this.set_volume();
}
EVR.Sound.Audio.prototype.increase_volume = function()
{
   var volume = this.volume + this.volume_step;
   if (volume > 1)
   {
      volume = 1.0;
   }
   if (this.muted)
   {
      this.mute();
   }
   this.volume = volume;
   this.set_volume();
}
EVR.Sound.Audio.prototype.decrease_volume = function()
{
   var volume = this.volume - this.volume_step;
   if (volume <= 0)
   {
      volume = 0;
      if (!this.muted)
      {
	 this.mute();
      }
   }
   else if (this.muted)
   {
      this.mute();
   }
   this.volume = volume;
   this.set_volume();
}
EVR.Sound.Audio.prototype.toString = function()
{
   "[object EVR.Sound.Audio]";
}
EVR.Sound.Audio.BGSound = function(container)
{
   EVR.Sound.Audio.call(this, container, "bgsound", "mp3");
   this.set_attributes();
   this.append();
}
EVR.Sound.Audio.BGSound.prototype = new EVR.Sound.Audio;
EVR.Sound.Audio.BGSound.prototype.set_attributes = function()
{
   var element = this.element;
   element.loop = -1;
   element.volume = -10000;
}
EVR.Sound.Audio.BGSound.prototype.set_volume = function()
{
   var element = this.element;
   if (this.muted)
   {
      element.volume = -10000;
   }
   else
   {
      element.volume = - parseInt((1 - this.volume) * 1500);
   }
}
EVR.Sound.Audio.BGSound.prototype.toString = function()
{
   return "[object EVR.Sound.Audio.BGSound]";
}
EVR.Sound.Audio.HTML5 = function(container)
{
   this.container = container;
   this.initialize_audio();
   this.volume = SOUND_INITIAL_VOLUME;
   this.volume_step = SOUND_VOLUME_STEP;
   this.set_attributes();
   this.append();
}
EVR.Sound.Audio.HTML5.prototype = new EVR.Sound.Audio;
EVR.Sound.Audio.HTML5.prototype.initialize_audio = function()
{
   var format = "ogg";
   if (!document.createElement("audio").canPlayType("audio/ogg"))
   {
      format = "mp3";
   }
   EVR.Sound.Audio.call(this, this.container, "audio", format);
}
EVR.Sound.Audio.HTML5.prototype.set_attributes = function()
{
   var element = this.element;
   element.volume = 0;
   element.addEventListener(
      "ended", function() { this.currentTime = 0; }, false);
}
EVR.Sound.Audio.HTML5.prototype.mute = function()
{
   EVR.Sound.Audio.prototype.mute.call(this);
   var element = this.element;
   if (element.paused)
   {
      element.play();
   }
}
EVR.Sound.Audio.HTML5.prototype.set_volume = function()
{
   var element = this.element;
   if (this.muted)
   {
      element.volume = 0;
   }
   else
   {
      element.volume = this.volume;
   }
}
EVR.Sound.Audio.HTML5.prototype.set_song = function(name)
{
   var element = this.element;
   var paused = element.paused;
   EVR.Sound.Audio.prototype.set_song.call(this, name);
   element.load();
   if (!paused && !this.muted)
   {
      element.play();
   }
}
EVR.Sound.Audio.HTML5.prototype.toString = function()
{
   return "[object EVR.Sound.Audio.HTML5]";
}
3.129.217.232
3.129.217.232
3.129.217.232
 
March 22, 2020

The chicken nugget business starter kit is now available online! Send me any amount of money through Venmo or PayPal, and I will mail you a package which will enable you to start a chicken nugget business of your own, play a video game any time you want, introduce a new character into your Animal Crossing village, and start collecting the chicken nugget trading cards.

The kit includes:

  • jellybean
  • instruction manual
  • limited edition trading card

By following the instructions you'll learn how to cook your own chicken or tofu nugget and be well on your way to financial success. I'm also throwing in one randomly selected card from the limited edition trading card set. Collect them, trade them, and if you get all eighteen and show me your set, I will give you an exclusive video game product.

All orders are processed within a day, so you can have your kit on your doorstep as quickly as possible. Don't sleep on this offer! Click the PayPal button or send a Venmo payment of any amount to @ohsqueezy, and in a matter of days you'll be counting money and playing video games.

PayPal me