Action: Sprite receive hit movement
sprite.velocity.A_knockbackHit(sprite, {
value: 50, // quantity for movement value move
time: 0.5, // time to execute value
direction: 'right' // direction to sprite move
})
true
allows movement sprite
Switch boolean value for velocity.movement
// ...
sprite.velocity.setMovement(sprite);
// ...
Set value in velocity.x and velocity.y
// ...
sprite.velocity.setVelocity(sprite, 5);
// ...
velocity in x axis
velocity in y axis
Generated using TypeDoc
A velocity settings for facility sprite movement