player now hardcoded to spawn in the level rather than on top of it
This commit is contained in:
parent
eeb1e1d438
commit
fccd08466a
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue