Skip to content

Commit

Permalink
Add maze2
Browse files Browse the repository at this point in the history
  • Loading branch information
iMilchshake committed Nov 26, 2024
1 parent 841a22e commit ada0729
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 1 deletion.
80 changes: 80 additions & 0 deletions data/gen_configs/maze2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"name": "maze2",
"description": null,
"difficulty": 3.0,
"version": "1.0",
"inner_rad_mut_prob": 1.0,
"inner_size_mut_prob": 0.2,
"outer_rad_mut_prob": 0.2,
"outer_size_mut_prob": 0.2,
"shift_weights": {
"values": null,
"probs": [
0.64516133,
0.16129033,
0.12903227,
0.064516135
]
},
"plat_min_distance": 40,
"plat_width_bounds": [
3,
5
],
"plat_height_bounds": [
0,
1
],
"plat_min_empty_height": 4,
"plat_soft_overhang": false,
"momentum_prob": 0.8,
"max_distance": 4.0,
"waypoint_reached_dist": 400,
"inner_size_probs": {
"values": [
1
],
"probs": [
1.0
]
},
"outer_margin_probs": {
"values": [
2
],
"probs": [
1.0
]
},
"circ_probs": {
"values": [
0.0,
0.6,
0.8
],
"probs": [
0.7894737,
0.15789475,
0.05263158
]
},
"skip_length_bounds": [
4,
15
],
"skip_min_spacing_sqr": 45,
"max_level_skip": 999,
"min_freeze_size": 2,
"enable_pulse": true,
"pulse_straight_delay": 12,
"pulse_corner_delay": 3,
"pulse_max_kernel_size": 4,
"fade_steps": 30,
"fade_max_size": 5,
"fade_min_size": 2,
"max_subwaypoint_dist": 10.0,
"subwaypoint_max_shift_dist": 60.0,
"pos_lock_max_dist": 90.0,
"pos_lock_max_delay": 2500,
"lock_kernel_size": 1
}
2 changes: 1 addition & 1 deletion src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ pub fn sidebar(ctx: &Context, editor: &mut Editor) {
field_edit_widget(
ui,
&mut editor.gen_config.subwaypoint_max_shift_dist,
edit_f32_slider_bounded(0.0, 50.0),
edit_f32_slider_bounded(0.0, 300.0),
"subpoint max shift",
false,
);
Expand Down

0 comments on commit ada0729

Please sign in to comment.