Browse Source

added fuentes-fagface

develop
Rob Colbert 2 years ago
parent
commit
02b49adffc
  1. BIN
      game/assets/audio/vox/fuentes-datingisgay.wav
  2. BIN
      game/assets/audio/vox/fuentes-gaysdategirls.wav
  3. BIN
      game/assets/audio/vox/fuentes-itsallgay.wav
  4. BIN
      game/assets/audio/vox/fuentes-needy.wav
  5. BIN
      game/assets/audio/vox/fuentes-sexisgay.wav
  6. BIN
      game/assets/audio/vox/fuentes-straightest.wav
  7. BIN
      game/assets/audio/vox/fuentes-suss.wav
  8. BIN
      game/assets/audio/vox/fuentes-timewithwoman.wav
  9. BIN
      game/assets/img/fuentes-fagface.png
  10. 7
      game/js/game-app.js
  11. 21
      game/js/lib/game-enemies.js

BIN
game/assets/audio/vox/fuentes-datingisgay.wav

Binary file not shown.

BIN
game/assets/audio/vox/fuentes-gaysdategirls.wav

Binary file not shown.

BIN
game/assets/audio/vox/fuentes-itsallgay.wav

Binary file not shown.

BIN
game/assets/audio/vox/fuentes-needy.wav

Binary file not shown.

BIN
game/assets/audio/vox/fuentes-sexisgay.wav

Binary file not shown.

BIN
game/assets/audio/vox/fuentes-straightest.wav

Binary file not shown.

BIN
game/assets/audio/vox/fuentes-suss.wav

Binary file not shown.

BIN
game/assets/audio/vox/fuentes-timewithwoman.wav

Binary file not shown.

BIN
game/assets/img/fuentes-fagface.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

7
game/js/game-app.js

@ -183,7 +183,7 @@ export default class GameApp extends NiceGame {
*/
if (now >= this.nextSpawnTime) {
this.nextSpawnTime += this.nextSpawnInterval;
switch (NiceMath.randomRangeInt(1, 3)) {
switch (NiceMath.randomRangeInt(1, 4)) {
case 1:
this.enemies.spawnBeardson();
break;
@ -195,6 +195,10 @@ export default class GameApp extends NiceGame {
case 3:
this.enemies.spawnTorba();
break;
case 4:
this.enemies.spawnFuentesFagFace();
break;
}
}
@ -334,6 +338,7 @@ export default class GameApp extends NiceGame {
jobs.push(this.loadImage('beardson', '/dist/assets/img/beardson.png', 38, 64));
jobs.push(this.loadImage('beardson.large', '/dist/assets/img/beardson.large.png', 108, 180));
jobs.push(this.loadImage('fuentes-fagface', '/dist/assets/img/fuentes-fagface.png', 49, 64));
jobs.push(this.loadImage('fuentes-puppy', '/dist/assets/img/fuentes-puppy-mode.png', 64, 64));
jobs.push(this.loadImage('fuentes-puppy.large', '/dist/assets/img/fuentes-puppy-mode.large.png', 180, 180));

21
game/js/lib/game-enemies.js

@ -31,12 +31,22 @@ export default class GameEnemies {
this.tweens = { };
this.voiceChannels = { };
this.voiceChannels.fuentes = this.game.voiceChannels.addChannel('nick');
this.voiceChannels.torba = this.game.voiceChannels.addChannel('torba');
}
async load ( ) {
const jobs = [ ];
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-datingisgay'));
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-gaysdategirls'));
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-itsallgay'));
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-needy'));
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-sexisgay'));
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-straightest'));
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-suss'));
jobs.push(this.voiceChannels.fuentes.loadQuip('fuentes-timewithwoman'));
jobs.push(this.voiceChannels.torba.loadQuip('torba-stirthepot'));
jobs.push(this.voiceChannels.torba.loadQuip('torba-controversy'));
jobs.push(this.voiceChannels.torba.loadQuip('torba-talkwithnick'));
@ -68,6 +78,17 @@ export default class GameEnemies {
}
}
spawnFuentesFagFace ( ) {
this.log.debug('spawnFuentesFagFace', 'a wild Fagface approaches from the north');
this.spawnDescender(this.game.images['fuentes-fagface']);
// this.game.audio.playSound('enemy-spawn');
this.voiceChannels.fuentes.playRandomQuip();
this.game.flashBorder(new NiceColor(255, 255, 255, 1.0));
}
spawnBeardson ( ) {
this.log.debug('spawnBeardson', 'a wild Beardson approaches from the north');

Loading…
Cancel
Save