Duplicate an early entry in this game-specific visual editor, change its visible name and one rule, save, validate, then play it. Use the exact source-control table below for this game.
The exact current authoring controls, including tooltips and generator switches, follow. These are game-specific source references, not a generic editor feature list.
| Source | Exact current code |
|---|
RagdollRumbleLevelEditor.cs:46 | [MenuItem("Szekipapa77/Ragdoll Rumble/Level Editor")] |
RagdollRumbleLevelEditor.cs:49 | [MenuItem("Szekipapa77/Ragdoll Rumble/Validate All Levels")] |
RagdollRumbleLevelEditor.cs:120 | if (GUILayout.Button(_dirty ? "Save *" : "Save", EditorStyles.toolbarButton, GUILayout.Width(70))) Save(); |
RagdollRumbleLevelEditor.cs:121 | if (GUILayout.Button("Reload", EditorStyles.toolbarButton, GUILayout.Width(60)) && (!_dirty || EditorUtility.DisplayDialog("Reload", "Discard unsaved changes?", "Discard", "Cancel"))) Load(); |
RagdollRumbleLevelEditor.cs:124 | if (GUILayout.Button(new GUIContent("Validate", "The bot plays this arena with drags in the real physics; stores plan, moves, par and difficulty"), EditorStyles.toolbarButton, GUILayout.Width(70)) && Cur != null) ValidateOne(_sel); |
RagdollRumbleLevelEditor.cs:125 | if (GUILayout.Button("Validate All", EditorStyles.toolbarButton, GUILayout.Width(85))) ValidateAll(); |
RagdollRumbleLevelEditor.cs:128 | if (GUILayout.Button(new GUIContent("Play this level", "Quick test only: saves, opens the WebGL scene at this level and enters Play mode."), EditorStyles.toolbarButton, GUILayout.Width(100)) && Cur != null) Play(_sel + 1); |
RagdollRumbleLevelEditor.cs:139 | if (GUILayout.Button("Add")) { var l = RrGen.Generate(_file.levels.Length + 1, 0.3f, Environment.TickCount & 0xFFFF, false); l.Normalize(); Insert(_file.levels.Length, l); } |
RagdollRumbleLevelEditor.cs:140 | if (GUILayout.Button("Dup") && Cur != null) Insert(_sel + 1, Cur.Clone()); |
RagdollRumbleLevelEditor.cs:141 | if (GUILayout.Button("Del") && Cur != null && EditorUtility.DisplayDialog("Delete", $"Delete level {_sel + 1}?", "Delete", "Cancel")) |
RagdollRumbleLevelEditor.cs:146 | if (GUILayout.Button("Up") && _sel > 0) Swap(_sel, _sel - 1); |
RagdollRumbleLevelEditor.cs:147 | if (GUILayout.Button("Down") && _sel < _file.levels.Length - 1) Swap(_sel, _sel + 1); |
RagdollRumbleLevelEditor.cs:189 | EditorGUILayout.LabelField("Drag handles (purple = part, red = dummy feet). Right-click deletes. 0.1 m snap.", EditorStyles.miniLabel); |
RagdollRumbleLevelEditor.cs:191 | if (GUILayout.Button("Add part", GUILayout.Width(70))) AddPart(L, PartTypes[_addType]); |
RagdollRumbleLevelEditor.cs:193 | if (GUILayout.Button("Add dummy", GUILayout.Width(80))) AddDummy(L, RrProfile.All[_addProfile].id); |
RagdollRumbleLevelEditor.cs:198 | _scrub = EditorGUILayout.Slider("Mover time (s)", _scrub, 0, 8); |
RagdollRumbleLevelEditor.cs:417 | EditorGUILayout.LabelField($"Level {_sel + 1}", EditorStyles.largeLabel); |
RagdollRumbleLevelEditor.cs:419 | L.name = EditorGUILayout.TextField("Name", L.name); |
RagdollRumbleLevelEditor.cs:420 | EditorGUILayout.LabelField("First-time hint"); |
RagdollRumbleLevelEditor.cs:422 | L.mech = EditorGUILayout.TextField(new GUIContent("Introduces", "Mechanic id (spikes, goo, zapper, saw, press, pendulum, seesaw, bumper, fan, pad, crates, cage, moon, two) or a profile id"), L.mech); |
RagdollRumbleLevelEditor.cs:424 | L.theme = ThemeNames[EditorGUILayout.Popup("Theme", ti, ThemeNames)]; |
RagdollRumbleLevelEditor.cs:425 | L.gravity = EditorGUILayout.Slider("Gravity", L.gravity, 0.3f, 1.5f); |
RagdollRumbleLevelEditor.cs:426 | L.difficulty = EditorGUILayout.Slider("Design difficulty", L.difficulty, 0, 1); |
RagdollRumbleLevelEditor.cs:427 | L.breather = EditorGUILayout.Toggle("Breather", L.breather); |
RagdollRumbleLevelEditor.cs:428 | L.par = EditorGUILayout.IntSlider("Par (3 stars)", L.par, 1, 12); |
RagdollRumbleLevelEditor.cs:429 | L.seed = EditorGUILayout.IntField("Seed", L.seed); |
RagdollRumbleLevelEditor.cs:430 | L.recipe = EditorGUILayout.TextField(new GUIContent("Recipe", "Motifs for Recompose: " + string.Join(" ", RrGen.Motifs)), L.recipe); |
RagdollRumbleLevelEditor.cs:433 | if (GUILayout.Button(new GUIContent("Recompose", "Rebuild parts and dummies from recipe + seed + difficulty (RrGen.Compose), then validate"))) Recompose(L, L.seed); |
RagdollRumbleLevelEditor.cs:434 | if (GUILayout.Button("New seed")) Recompose(L, UnityEngine.Random.Range(1, 99999)); |
RagdollRumbleLevelEditor.cs:436 | EditorGUILayout.LabelField($"{L.parts.Length} parts, {L.dummies.Length} dummies, bot {L.botMoves} moves, score {L.botScore:0}", EditorStyles.miniLabel); |
RagdollRumbleLevelEditor.cs:438 | EditorGUILayout.HelpBox($"{(v.ok ? "CLEARED" : "NOT CLEARED")}: {v.note}\nmoves {v.moves}, difficulty {v.difficulty:0}/100, {v.time:0.0}s of play", v.ok ? MessageType.Info : MessageType.Error); |
RagdollRumbleLevelEditor.cs:453 | EditorGUILayout.LabelField("Selected part", EditorStyles.boldLabel); |
RagdollRumbleLevelEditor.cs:454 | if (L == null || _selPart < 0 || _selPart >= L.parts.Length) { EditorGUILayout.HelpBox("Click a part handle on the canvas (purple squares).", MessageType.None); return; } |
RagdollRumbleLevelEditor.cs:458 | p.type = PartTypes[EditorGUILayout.Popup("Type", ti, PartTypes)]; |
RagdollRumbleLevelEditor.cs:459 | p.a = EditorGUILayout.Vector2Field(p.type == "pendulum" ? "Pivot" : "a", p.a); |
RagdollRumbleLevelEditor.cs:460 | if (RrPart.HasB(p.type)) p.b = EditorGUILayout.Vector2Field("b", p.b); |
RagdollRumbleLevelEditor.cs:461 | p.w = EditorGUILayout.FloatField(p.type == "ball" || p.type == "pendulum" || p.type == "saw" || p.type == "bumper" ? "Radius" : "Width", p.w); |
RagdollRumbleLevelEditor.cs:463 | p.h = EditorGUILayout.FloatField(p.type == "pendulum" ? "Rope length" : "Height", p.h); |
RagdollRumbleLevelEditor.cs:465 | p.rot = EditorGUILayout.FloatField(p.type == "pendulum" ? "Start angle" : p.type == "seesaw" ? "Tilt limit" : "Rotation", p.rot); |
RagdollRumbleLevelEditor.cs:466 | if (p.type == "zapper" || p.type == "saw" || p.type == "press") { p.period = EditorGUILayout.FloatField("Period (s, 0 = still/always on)", p.period); p.phase = EditorGUILayout.Slider("Phase", p.phase, 0, 1); } |
RagdollRumbleLevelEditor.cs:467 | if (p.type == "ball" || p.type == "pendulum" || p.type == "fan") p.k = EditorGUILayout.FloatField(p.type == "fan" ? "Force" : "Mass", p.k); |
RagdollRumbleLevelEditor.cs:475 | EditorGUILayout.LabelField("Selected dummy", EditorStyles.boldLabel); |
RagdollRumbleLevelEditor.cs:476 | if (L == null || _selDummy < 0 || _selDummy >= L.dummies.Length) { EditorGUILayout.HelpBox("Click a dummy on the canvas.", MessageType.None); return; } |
RagdollRumbleLevelEditor.cs:480 | pi = EditorGUILayout.Popup("Profile", pi, RrProfile.All.Select(p => p.name).ToArray()); |
RagdollRumbleLevelEditor.cs:482 | d.pos = EditorGUILayout.Vector2Field("Feet", d.pos); |
RagdollRumbleLevelEditor.cs:484 | EditorGUILayout.LabelField($"hp {P.hp:0}, mass x{P.massMul:0.0}, size x{P.scale:0.00}. {P.blurb}", EditorStyles.wordWrappedMiniLabel); |
RagdollRumbleLevelEditor.cs:491 | EditorGUILayout.LabelField("Difficulty curve (bot score; blue = breather, red = not cleared). Click a bar.", EditorStyles.miniLabel); |
RagdollRumbleLevelEditor.cs:510 | _showGen = EditorGUILayout.Foldout(_showGen, "Auto Generate (same RrGen code as the runtime)", true); |
RagdollRumbleLevelEditor.cs:512 | _genCount = EditorGUILayout.IntField("Count", _genCount); |
RagdollRumbleLevelEditor.cs:513 | _genStart = EditorGUILayout.IntField("Start level #", _genStart); |
RagdollRumbleLevelEditor.cs:514 | _genSeed = EditorGUILayout.IntField("Seed", _genSeed); |
RagdollRumbleLevelEditor.cs:515 | _genFrom = EditorGUILayout.Slider("Start difficulty", _genFrom, 0, 1); |
RagdollRumbleLevelEditor.cs:516 | _genTo = EditorGUILayout.Slider("End difficulty", _genTo, 0, 1); |
RagdollRumbleLevelEditor.cs:517 | _genBreather = EditorGUILayout.IntSlider("Breather every", _genBreather, 0, 8); |
RagdollRumbleLevelEditor.cs:518 | _genReplace = EditorGUILayout.ToggleLeft("Replace the range starting at 'Start level #' (otherwise insert)", _genReplace); |
RagdollRumbleLevelEditor.cs:528 | if (GUILayout.Button($"Generate {_genCount} validated arenas")) Generate(); |
RagdollRumbleLevelEditor.cs:560 | _log = $"Generated {made.Count} validated arenas at #{at + 1} ({(_genReplace ? "replaced" : "inserted")})."; |