diff options
| author | Xander Swan <[hidden email]> | 2025-12-23 22:21:09 -0500 |
|---|---|---|
| committer | Xander Swan <[hidden email]> | 2025-12-23 22:21:09 -0500 |
| commit | dc373b507ca68ada2cbf4c8e0d7949d6bc46ed9b (patch) | |
| tree | 103cf14653c57b93fa401f9b1c3917c0810901d0 /src/platform.odin | |
| parent | 1754937f0721f304f742575e9a27fc7ba10d8374 (diff) | |
Use the tile collisions defined in tiled
Diffstat (limited to 'src/platform.odin')
| -rw-r--r-- | src/platform.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platform.odin b/src/platform.odin index 674e1a3..306df3b 100644 --- a/src/platform.odin +++ b/src/platform.odin @@ -17,8 +17,10 @@ make_platform :: proc(rect: Rect) -> (Entity_Handle, ^Platform) { draw_platforms :: proc() { iter := iter_entity_list(state.platform_list) + draw.renderer.tint = {1, 0, 0, 0.25} for p in entity_list_iter(&iter) { body := phys.get_body(p.body) draw.rect(cast(draw.Rect)body.rect) } + draw.renderer.tint = {1, 1, 1, 1} } |
