Skip to content

Commit 902f137

Browse files
committed
made last level easier
1 parent 5b79bed commit 902f137

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

assets/data/test.custom

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2555,7 +2555,7 @@ LevelsAsset (
25552555
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
25562556

25572557
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
2558-
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
2558+
[1, 0, 0, 2, 0, 0, 0, 2, 0, 0, 1 ],
25592559
[1, 0, 0, 6, 0, 0, 0, 6, 0, 0, 1 ],
25602560
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
25612561
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
@@ -2632,11 +2632,11 @@ LevelsAsset (
26322632
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
26332633
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
26342634

2635-
[1, 0, 0, 0, 0, 0, 0, 0, 0, 6, 1 ],
2636-
[1, 0, 0, 0, 0, 0, 0, 0, 0, 6, 1 ],
2635+
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
2636+
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
26372637
[0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0 ],
2638-
[1, 0, 0, 0, 0, 0, 0, 0, 0, 6, 1 ],
2639-
[1, 0, 0, 0, 0, 0, 0, 0, 0, 6, 1 ],
2638+
[1, 0, 0, 0, 0, 0, 0, 0, 6, 6, 1 ],
2639+
[1, 0, 0, 0, 0, 0, 0, 0, 6, 6, 1 ],
26402640

26412641
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
26422642
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
@@ -2652,10 +2652,10 @@ LevelsAsset (
26522652
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
26532653

26542654
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
2655-
[1, 0, 0, 2, 0, 6, 0, 2, 0, 0, 1 ],
2656-
[0, 0, 0, 2, 0, 6, 0, 2, 0, 0, 0 ],
2657-
[1, 0, 0, 2, 0, 6, 0, 2, 0, 0, 1 ],
2658-
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
2655+
[1, 0, 0, 2, 0, 0, 0, 2, 0, 0, 1 ],
2656+
[0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0 ],
2657+
[1, 0, 0, 2, 0, 0, 0, 2, 0, 0, 1 ],
2658+
[1, 0, 0, 0, 6, 6, 6, 0, 0, 0, 1 ],
26592659

26602660
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
26612661
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
@@ -3002,9 +3002,9 @@ LevelsAsset (
30023002

30033003
[1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ],
30043004
[1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ],
3005-
[0, 0, 6, 0, 0, 0, 0, 0, 6, 0, 0 ],
3005+
[0, 0, 6, 0, 6, 6, 6, 0, 6, 0, 0 ],
3006+
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
30063007
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
3007-
[1, 0, 0, 0, 6, 6, 6, 0, 0, 0, 1 ],
30083008

30093009
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
30103010
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
@@ -3022,8 +3022,8 @@ LevelsAsset (
30223022

30233023
[1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ],
30243024
[1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ],
3025-
[0, 0, 6, 2, 0, 6, 0, 2, 6, 0, 0 ],
3026-
[1, 0, 0, 2, 6, 0, 6, 2, 0, 0, 1 ],
3025+
[0, 0, 6, 2, 6, 6, 6, 2, 6, 0, 0 ],
3026+
[1, 0, 0, 2, 0, 0, 0, 2, 0, 0, 1 ],
30273027
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
30283028

30293029
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
@@ -3384,9 +3384,9 @@ LevelsAsset (
33843384
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
33853385

33863386
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
3387-
[1, 0, 0, 6, 6, 0, 0, 0, 0, 0, 1 ],
3388-
[0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0 ],
3389-
[1, 0, 0, 0, 0, 0, 6, 6, 0, 0, 1 ],
3387+
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
3388+
[0, 0, 0, 6, 6, 6, 6, 6, 0, 0, 0 ],
3389+
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
33903390
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ],
33913391

33923392
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
@@ -3664,7 +3664,7 @@ LevelsAsset (
36643664

36653665
is_food_random: false,
36663666
minimum_food: 100,
3667-
snake_speed: Some(0.30),
3667+
snake_speed: Some(0.35),
36683668
snake_min_length: Some(10),
36693669
snake_target: Some(OnlyDude),
36703670
camera_x: -6.0000000,

game_plugin/src/dude.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ impl Plugin for DudePlugin {
1010
SystemSet::on_update(crate::AppState::InGame)
1111
.with_system(player_input.system())
1212
.with_system(hop_on_snake.system())
13-
.with_system(push_block.system())
13+
//.with_system(push_block.system())
1414
);
1515
}
1616
}
@@ -201,9 +201,9 @@ fn player_input(
201201
mut create_dust_event_writer: EventWriter<dust::CreateDustEvent>,
202202
) {
203203
let time_buffer = 100;
204-
if keyboard_input.just_pressed(KeyCode::R) {
205-
kill_dude_event_writer.send(KillDudeEvent { death_type: DudeDeath::Eaten });
206-
}
204+
// if keyboard_input.just_pressed(KeyCode::R) {
205+
// kill_dude_event_writer.send(KillDudeEvent { death_type: DudeDeath::Eaten });
206+
// }
207207

208208
// this is for debugging. If we're flying, don't move the player
209209
if camera.iter().count() > 0 {

0 commit comments

Comments
 (0)