Correctly calculate level AABB

main
Cameron Murphy Reikes 2 years ago
parent e600723a95
commit b365e8d714

@ -720,7 +720,7 @@ static struct
sg_bindings bind; sg_bindings bind;
} state; } state;
AABB level_aabb = { .upper_left = {0.0f, 0.0f}, .lower_right = {2000.0f, -2000.0f} }; AABB level_aabb = { .upper_left = {0.0f, 0.0f}, .lower_right = {TILE_SIZE * LEVEL_TILES, -(TILE_SIZE * LEVEL_TILES)} };
Entity entities[MAX_ENTITIES] = {0}; Entity entities[MAX_ENTITIES] = {0};
Entity *new_entity() Entity *new_entity()

@ -3,11 +3,13 @@ DONE - Animate text characters coming in
DONE - Escape exits typing DONE - Escape exits typing
DONE - Get rid of enters and stars in javascript input box DONE - Get rid of enters and stars in javascript input box
DONE - Space and e for attack and roll, tooltip DONE - Space and e for attack and roll, tooltip
DONE - Sword improvements, deflect bullets
- Player knockback and drop shadow
- Skeleton enemy - Skeleton enemy
- Shopkeep character - Shopkeep character
- Don't flip player direction when you walk vertically - Don't flip player direction when you walk vertically
- Sword improvements, deflect bullets, player knockback
- Save every request and response (server logs) - Save every request and response (server logs)
- Moose boss
- Portal at end, exit level - Portal at end, exit level
- Drop shadow on text, or outline. Something - Drop shadow on text, or outline. Something
- Sound - Sound

Loading…
Cancel
Save