Add rest of assets, add blue player
This commit is contained in:
@@ -57,6 +57,7 @@ ecs_entity_t entityCreateWorker(const Position position, Game *game) {
|
||||
Arms arms = {.primary = right};
|
||||
ecs_set_ptr(ECS, e, Arms, &arms);
|
||||
ecs_set(ECS, right, Arm, {.offset = 45.0f, 4.5f});
|
||||
ecs_set(ECS, e, Owner, {PLAYER_RED});
|
||||
|
||||
ecs_set(ECS, right, Size, {8, 8});
|
||||
ecs_set(ECS, right, Rotation, { 0.0f });
|
||||
|
||||
Reference in New Issue
Block a user