1 decade ago by ansimuz
I am trying to figure out a logic to make an entity to jump and just before starts falling shoots.
Pseudocode
Hope you can help me i tried checking the velocity and not luck.
Pseudocode
if(this.shootTimer.delta() > 0 ){
ig.game.spawnEntity(EntityStone, this.pos.x, this.pos.y,{flip:this.flip});
this.shootTimer.reset();
shootflag = true;
}
Hope you can help me i tried checking the velocity and not luck.
