adding top collision
Some checks failed
Build Project / build (ubuntu-latest) (push) Failing after 8m17s
Build Project / build (windows-latest) (push) Has been cancelled

This commit is contained in:
swim67667
2026-06-24 22:40:27 -04:00
parent 257be0b3c5
commit f112c37e9e
6 changed files with 26 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ extern const float MAX_PLAYER_SPEED;
extern const float PLAYER_SPEED_FACTOR;
void ApplyForce(Entity *e, Vector2 force);
bool IsGrounded(Entity *e);
@@ -26,7 +27,8 @@ Entity *SpawnEntity(
float y,
float size,
float mass,
Color color);
Color color,
float drag);
void ClearWorld(void);
void InitWorld(void);