Skip to content

Conversation

@AnimaRain
Copy link
Owner

Fix enemies, enemy bullets, and capsules not making any checks when they get destroyed. They used to explode and give points whenever they get destroyed no matter how – when they get destroyed on the scene restarting or closing, when they get shot by the player, etc. That should only happen when they get shot by the player.

Other trivial fixes are also included.

…layer

Whenever a spawnable gets destroyed – shot by player, or destroyed when the scene closes,
or destroyed when colliding with player – it explodes and gives player points. That
should only happen when they get destroyed by a player's bullet.

EnemyBullets were not intended to have the explosion effect, so it got removed alltogether.

Signed-off-by: AnimaRain <[email protected]>
@AnimaRain AnimaRain requested a review from 25thBam November 25, 2020 06:46
@AnimaRain AnimaRain self-assigned this Nov 25, 2020
Signed-off-by: AnimaRain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants