1 decade ago by RationalGaze
Hi there,
i would like to know how could i write a function which makes appear an entity when another entity is initiated.
For exemple :
I have no idea how to make this work, its probably due to my low skills in JS
i would like to know how could i write a function which makes appear an entity when another entity is initiated.
For exemple :
spawnEntity: function(x, y) {
if(this.boxcollactivated == 0){
boxcollactivated++;
}
return this.spawnEntity(EntityCollisionboxestwentysixty, 80, 30);
},
I have no idea how to make this work, its probably due to my low skills in JS
