@@ -20,9 +20,9 @@ public: | |||
private: | |||
static constexpr float FORCE = 3000; | |||
static constexpr float JUMP_FORCE = 9; | |||
static constexpr float JUMP_FORCE = 10; | |||
static constexpr float MASS = 80; | |||
static constexpr Swan::Vec2 FRICTION = Swan::Vec2(400, 0); | |||
static constexpr Swan::Vec2 FRICTION = Swan::Vec2(400, 25); | |||
static constexpr Swan::Vec2 SIZE = Swan::Vec2(0.6, 1.9); | |||
enum class State { |
@@ -9,8 +9,8 @@ namespace Swan { | |||
static constexpr int TILE_SIZE = 32; | |||
static constexpr int TICK_RATE = 20; | |||
static constexpr int CHUNK_HEIGHT = 4; | |||
static constexpr int CHUNK_WIDTH = 8; | |||
static constexpr int CHUNK_HEIGHT = 16; | |||
static constexpr int CHUNK_WIDTH = 24; | |||
using TilePos = Vec2i; | |||
using ChunkPos = Vec2i; |