Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions game/levels/08_ramp_it_up.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(
title: "Puzzle #8: Ramp It Up",
goal: "Knock the 2-ball off the screen.",
parts: [
// Floor
(kind: "BrickWall", x: 0, y: 340, width: Some(640), height: Some(20)),
// Pit walls trapping the target on the right
(kind: "BrickWall", x: 430, y: 280, width: Some(16), height: Some(60)),
(kind: "BrickWall", x: 560, y: 280, width: Some(16), height: Some(60)),
// Overhead ledge the player drops from
(kind: "WoodenWall", x: 60, y: 120, width: Some(140), height: Some(12)),
// Target: floating 2-ball pinned in the pit
(kind: "PoolBall", x: 495, y: 310, label: Some("twoball"), props: {"surface_number": 2.0}),
// Decorative blockers
(kind: "PoolBall", x: 250, y: 180, props: {"surface_number": 4.0}),
(kind: "PoolBall", x: 340, y: 220, props: {"surface_number": 6.0}),
],
win_conditions: [
ExitedWorld(label: "twoball", edge: "Any"),
],
bin: [
(kind: "BrickIncline", quantity: 1),
(kind: "BowlingBall", quantity: 1),
(kind: "SuperBall", quantity: 2),
],
)
29 changes: 29 additions & 0 deletions game/levels/09_tower_topple.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
(
title: "Puzzle #9: Tower Topple",
goal: "Knock the 5-ball off the right edge.",
parts: [
// Floor
(kind: "BrickWall", x: 0, y: 340, width: Some(640), height: Some(20)),
// Tower base — a tall ledge on the right
(kind: "CinderBlockWall", x: 480, y: 180, width: Some(120), height: Some(12)),
(kind: "CinderBlockWall", x: 480, y: 180, width: Some(12), height: Some(160)),
// A shelf on the left for launching
(kind: "WoodenWall", x: 40, y: 240, width: Some(120), height: Some(12)),
// Target: 5-ball perched on the tower
(kind: "PoolBall", x: 540, y: 168, label: Some("fiveball"), props: {"surface_number": 5.0}),
// Guard balls stacked next to the target
(kind: "PoolBall", x: 520, y: 168, props: {"surface_number": 1.0}),
(kind: "PoolBall", x: 560, y: 168, props: {"surface_number": 3.0}),
// Mid-air obstacle
(kind: "YellowBrickWall", x: 280, y: 200, width: Some(16), height: Some(80)),
],
win_conditions: [
ExitedWorld(label: "fiveball", edge: "Right"),
],
bin: [
(kind: "Cannonball", quantity: 1),
(kind: "BowlingBall", quantity: 1),
(kind: "SuperBall", quantity: 2),
(kind: "TennisBall", quantity: 1),
],
)