diff --git a/code/apps/client/source/camera.c b/code/apps/client/source/camera.c index c20ae46..ec15240 100644 --- a/code/apps/client/source/camera.c +++ b/code/apps/client/source/camera.c @@ -3,7 +3,7 @@ #include "entity_view.h" #include "game.h" -#define CAMERA_LERP_FACTOR 0.06 +#define CAMERA_LERP_FACTOR 0.13 static camera main_camera; diff --git a/code/common/player.c b/code/common/player.c index 4f258ec..304e9a5 100644 --- a/code/common/player.c +++ b/code/common/player.c @@ -32,10 +32,8 @@ uint64_t player_spawn(char *name) { Position *pos = ecs_get_mut(world_ecs(), e, Position, NULL); uint16_t world_dim = world_block_size() * world_chunk_size() * world_world_size(); uint16_t half_world_dim = world_dim / 2; - pos->x=3*32*16; - pos->y=0; - /*pos->x = rand()%world_dim-half_world_dim; - pos->y = rand()%world_dim-half_world_dim;*/ + pos->x=rand() % world_dim - half_world_dim; + pos->y=rand() % world_dim - half_world_dim; librg_entity_track(world_tracker(), e); librg_entity_owner_set(world_tracker(), e, (int64_t)e);