Skip to content

Commit

Permalink
Decrease block size to ²⁄₃ m.
Browse files Browse the repository at this point in the history
This doesn't change much really, apart from the player hitbox.
But I think it feels better.
  • Loading branch information
IntegratedQuantum committed Jan 11, 2022
1 parent f113522 commit ea478e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/cubyz/world/entity/Entity.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class Entity {
/**
* Used as hitbox.
*/
public double width = 0.25, height = 1.8;
public double width = 0.35, height = 2.7;

/**
* @param type
Expand Down
2 changes: 1 addition & 1 deletion src/cubyz/world/entity/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

public class Player extends Entity implements CommandSource {
public static final float cameraHeight = 1.7f;
public static final float cameraHeight = 2.65f;


private boolean flying = false;
Expand Down
4 changes: 2 additions & 2 deletions src/cubyz/world/terrain/generators/FractalCaveGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public class FractalCaveGenerator implements Generator {
private static final float SPLIT_FACTOR_Y = SPLIT_FACTOR*0.5f; // Slightly reduced to reduce splits in y-direction
private static final float MAX_SPLIT_LENGTH = 128;
private static final float BRANCH_CHANCE = 0.4f;
private static final float MIN_RADIUS = 1.5f;
private static final float MAX_INITIAL_RADIUS = 3;
private static final float MIN_RADIUS = 2.0f;
private static final float MAX_INITIAL_RADIUS = 5;
private static final float HEIGHT_VARIANCE = 0.15f;
private static final int MAX_CAVE_HEIGHT = 128;
private static final int CAVE_HEIGHT_WITH_MAX_DENSITY = -512;
Expand Down

0 comments on commit ea478e0

Please sign in to comment.