player now hardcoded to spawn in the level rather than on top of it

This commit is contained in:
Sara 2023-10-25 20:24:29 +02:00
parent eeb1e1d438
commit fccd08466a

View file

@ -2,6 +2,7 @@
#include "camera.h"
#include "debug.h"
#include "input.h"
#include "physics_entity.h"
#include "physics_world.h"
#include "program.h"
#include "rigidbody.h"
@ -20,7 +21,7 @@ void play() {
g_camera.fov = 40;
player = malloc(sizeof(Player));
player_spawn(player, (Vector){5.f, -5.f});
player_spawn(player, (Vector){1.25f, 20.f});
level = level_load("level_0");
}