Enlarged ground and spaced obstacles from each other
This commit is contained in:
parent
fccc659492
commit
f29eb34bcf
|
@ -1,9 +1,10 @@
|
||||||
# Experimental game
|
# Experimental game
|
||||||
|
|
||||||
- [x] Skybox
|
- [x] Skybox
|
||||||
- [x] Glitch: Fall does not remove linear damping, only after jump
|
- [x] ~~Glitch: Fall does not remove linear damping, only after jump~~
|
||||||
- [x] Glitch: Negative linear damping on jump allows for bunny hopping
|
- [x] ~~Glitch: Negative linear damping on jump allows for bunny hopping~~
|
||||||
|
|
||||||
|
- [ ] Feature: Add smooth camera movement to camera on crouch. Right now it's too fast and looks arcade af.
|
||||||
- [ ] Feature: Add jump effect to camera
|
- [ ] Feature: Add jump effect to camera
|
||||||
- [ ] Feature: Add Stamina (with bar?)
|
- [ ] Feature: Add Stamina (with bar?)
|
||||||
- [ ] Feature: Subtle Headbob, FOV change on movement (Distinguish between sprinting and walking).
|
- [ ] Feature: Subtle Headbob, FOV change on movement (Distinguish between sprinting and walking).
|
||||||
|
|
|
@ -7,11 +7,11 @@ pub fn spawn_ground(
|
||||||
mut materials: ResMut<Assets<StandardMaterial>>,
|
mut materials: ResMut<Assets<StandardMaterial>>,
|
||||||
) {
|
) {
|
||||||
commands
|
commands
|
||||||
.spawn(Collider::cuboid(30.0, 0.1, 30.0))
|
.spawn(Collider::cuboid(50.0, 0.1, 50.0))
|
||||||
.insert(TransformBundle::from(Transform::from_xyz(0.0, -2.0, 0.0)))
|
.insert(TransformBundle::from(Transform::from_xyz(0.0, -2.0, 0.0)))
|
||||||
.insert(RigidBody::Fixed)
|
.insert(RigidBody::Fixed)
|
||||||
.insert(PbrBundle {
|
.insert(PbrBundle {
|
||||||
mesh: meshes.add(shape::Plane::from_size(60.0).into()),
|
mesh: meshes.add(shape::Plane::from_size(100.0).into()),
|
||||||
material: materials.add(StandardMaterial {
|
material: materials.add(StandardMaterial {
|
||||||
base_color: Color::WHITE,
|
base_color: Color::WHITE,
|
||||||
perceptual_roughness: 1.0,
|
perceptual_roughness: 1.0,
|
||||||
|
|
|
@ -20,7 +20,7 @@ pub fn spawn_obstacles(
|
||||||
perceptual_roughness: 1.0,
|
perceptual_roughness: 1.0,
|
||||||
..default()
|
..default()
|
||||||
}),
|
}),
|
||||||
transform: Transform::from_xyz(-5.0, 3.5, -10.0),
|
transform: Transform::from_xyz(-15.0, 3.5, -15.0),
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ pub fn spawn_obstacles(
|
||||||
perceptual_roughness: 1.0,
|
perceptual_roughness: 1.0,
|
||||||
..default()
|
..default()
|
||||||
}),
|
}),
|
||||||
transform: Transform::from_xyz(-5.0, 3.5, 10.0),
|
transform: Transform::from_xyz(-15.0, 3.5, 15.0),
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ pub fn spawn_obstacles(
|
||||||
perceptual_roughness: 1.0,
|
perceptual_roughness: 1.0,
|
||||||
..default()
|
..default()
|
||||||
}),
|
}),
|
||||||
transform: Transform::from_xyz(5.0, 3.5, -10.0),
|
transform: Transform::from_xyz(15.0, 3.5, -15.0),
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ pub fn spawn_obstacles(
|
||||||
perceptual_roughness: 1.0,
|
perceptual_roughness: 1.0,
|
||||||
..default()
|
..default()
|
||||||
}),
|
}),
|
||||||
transform: Transform::from_xyz(5.0, 3.5, 10.0),
|
transform: Transform::from_xyz(15.0, 3.5, 15.0),
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue