add more to level, fix graphical bugs
This commit is contained in:
parent
9b4729b545
commit
140e7c4c5e
4 changed files with 32 additions and 38 deletions
|
@ -18,7 +18,7 @@ mod animation;
|
|||
#[derive(Event)]
|
||||
enum PlayerDeathEvent {
|
||||
Void,
|
||||
Spikes,
|
||||
EggDied,
|
||||
}
|
||||
#[derive(Event)]
|
||||
struct RespawnPointSetEvent;
|
||||
|
|
|
@ -210,7 +210,7 @@ fn spawn_block(
|
|||
RigidBody::Dynamic
|
||||
},
|
||||
if fixed {
|
||||
Collider::cuboid(block_size / 2.1 * len as f32, block_size / 2.1)
|
||||
Collider::cuboid(block_size / 2. * len as f32, block_size / 2.1)
|
||||
} else {
|
||||
Collider::ball(block_size / 2.)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue