diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 12:17:30 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 12:17:30 +0100 |
commit | 1a5744a3285a5ba5132fb4f6f031c27df1b64d33 (patch) | |
tree | e1a893eadc08da75910cd4a4e4608959bffde1b7 /game/enemy/EnemySubScene.cpp | |
parent | 49f0f0a24c1557a90530e0d2e0160e221644728a (diff) |
enemy death working
Diffstat (limited to 'game/enemy/EnemySubScene.cpp')
-rw-r--r-- | game/enemy/EnemySubScene.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/game/enemy/EnemySubScene.cpp b/game/enemy/EnemySubScene.cpp index 5618829..43f9b33 100644 --- a/game/enemy/EnemySubScene.cpp +++ b/game/enemy/EnemySubScene.cpp @@ -26,9 +26,8 @@ int EnemySubScene::create(Scene & scn){ .gravity_scale = 0, .body_type = Rigidbody::BodyType::DYNAMIC, - // .collision_layers - // = {COLL_LAY_BOT_TOP, COLL_LAY_ZAPPER, COLL_LAY_LASER}, .max_linear_velocity = 400, + .collision_layers = {COLL_LAY_BOT_TOP,COLL_LAY_PLAYER_BULLET}, .collision_layer = COLL_LAY_ENEMY, }); |