Add gameobject flipping; prefabs autoload

This commit is contained in:
2023-01-05 21:34:15 +00:00
parent 1521593269
commit e24eef6c8f
11 changed files with 42 additions and 21 deletions

View File

@@ -34,6 +34,8 @@ struct gameobject {
float mass;
float f; /* friction */
float e; /* elasticity */
int flipx; /* 1 or -1 */
int flipy;
cpBody *body;
struct component *components;
struct phys_cbs *cbs;