this? // update code called every frame
Enemy.prototype.update = function(dt) {
this.damagetime -= dt;
this? // update code called every frame
Enemy.prototype.update = function(dt) {
this.damagetime -= dt;
or this
// initialize code called once per entity
Enemy.prototype.initialize = function() {
this.damagetime = this.damageTime;
//this.entity.collision.on(‘triggerenter’, this.onTriggerenter, this);
};
1st
thanks!
@Gabriel_Dobrzynski,
yes it is possible to make cutscenes by using the change scene code when you want the cutscene to trigger and you can take it from there.