From cb81d9c3bbb57404dc469dd16cf3bb9c15c1cd5d Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Thu, 9 Jan 2025 16:10:54 +0100 Subject: changed bullet color --- game/enemy/EnemyBulletSubScene.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'game') diff --git a/game/enemy/EnemyBulletSubScene.cpp b/game/enemy/EnemyBulletSubScene.cpp index e726284..fb3a4cd 100644 --- a/game/enemy/EnemyBulletSubScene.cpp +++ b/game/enemy/EnemyBulletSubScene.cpp @@ -16,6 +16,7 @@ #include "EnemyBulletScript.h" #include "EnemyBulletSubScene.h" #include "EnemyScript.h" +#include "api/Color.h" using namespace crepe; using namespace std; int EnemyBulletSubScene::create(Scene & scn, int counter) { @@ -39,6 +40,7 @@ int EnemyBulletSubScene::create(Scene & scn, int counter) { Sprite & bullet_sprite = bullet.add_component( bullet_asset, Sprite::Data { + .color = Color::BLUE, .flip = {true, false}, .sorting_in_layer = SORT_IN_LAY_OBSTACLES, .order_in_layer = 1, -- cgit v1.2.3