diff options
| author | realtradam <[email protected]> | 2024-05-12 17:39:18 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-12 17:39:18 -0400 |
| commit | 6042fa9181ebde0fb90a6f4ba2b4221699e6661f (patch) | |
| tree | e82fc969fa9897f34e4f01dfbf53881e74e9562f /src/bullet.c | |
| parent | 8475767975a0f07507908ba53dba894b97b48795 (diff) | |
| download | tojam2024-6042fa9181ebde0fb90a6f4ba2b4221699e6661f.tar.gz tojam2024-6042fa9181ebde0fb90a6f4ba2b4221699e6661f.zip | |
second player can shoot and better colours
Diffstat (limited to 'src/bullet.c')
| -rw-r--r-- | src/bullet.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bullet.c b/src/bullet.c index 5cff129..12e4ca6 100644 --- a/src/bullet.c +++ b/src/bullet.c @@ -42,7 +42,14 @@ render_bullets(void) { continue; } - DrawCube(bullets[i].position, 0.25, 0.25, 0.25, RED); + else if(bullets[i].team == 1) + { + DrawCube(bullets[i].position, 0.25, 0.25, 0.25, DARKBLUE); + } + else if(bullets[i].team == 2) + { + DrawCube(bullets[i].position, 0.25, 0.25, 0.25, DARKPURPLE); + } } } |
