Just want to know what people think of a horror game Iām working on
https://playcanvas.com/project/1006547/overview/sparks-of-green
Hi @Brent_Reddick!
Well done so far! I like the door animations and light effect.
What was the reason to disable the enemy?
It was for testing purposes, also the door was not animated we used gravity, thanks!
Interesting, it works really well!
thanks
I improved it a lot
https://playcanvas.com/project/1006547/overview/sparks-of-green
Just look for bugs affecting gameplay, I also wanna know what people think so I can improve. BTW THIS IS VERY HARD
https://playcanvas.com/project/1006547/overview/sparks-of-green
You need to fix something in the code below, because right now the sound and reloading is running continuously and that cause the browser is freezing.
// add this line to your initialize function
this.gameOver = false;
// replace the code above with this code
else if (this.enemyState === 'Attack') {
this.enemyDestination.copy(new pc.Vec3(this.enemyTarget.getPosition().x, this.entity.getPosition().y, this.enemyTarget.getPosition().z));
this.entity.lookAt(new pc.Vec3(this.enemyDestination.x, this.entity.getPosition().y, this.enemyDestination.z));
if (!this.gameOver) {
this.gameOver = true;
this.Jumpscare.enabled = true;
this.entity.sound.play('Slot 1');
setTimeout(function(){
window.location.reload();
}.bind(this), 2000);
}
}
For enemy ai
I really want chase music, plz help
@Brent_Reddick Hi, there is a resource in this forum for locating some music/sounds etc. See this link below.