Block
For the block the player can push, see Push Block.
A Block is terrain in Spelunky Classic, the rock each area's levels are built of, which bombs and the Mattock break and which can hide gold and gems.
Each area is built of its own rock: the Mines' brown earth, the Jungle's mossy earth, the Ice Caves' dark blue rock (and Ice), the Temple's stone bricks. Grey stone blocks are mixed in, and around every level runs a border of blocks that can't be destroyed. A block is solid: nothing walks or falls through it. Most break to a Bomb or a Mattock, and as a level is made, each block of rock rolls for a vein of gold or a hidden gem.
How it works
#Kinds
#| Block | Where | Breaks into | |
|---|---|---|---|
| Brick, the Mines' earth | The Mines' rooms and border; one rock tile in ten is a stone block instead | Brown rubble | [1] [2] |
| The Jungle's earth | The Jungle's rooms and border | Green rubble | [3] [4] |
| Dark rock | The Ice Caves' rooms, beside their ice, and border | Dark rubble, which lands off-centre (Dark rubble landing off-centre) and can fall through rock (Dark rubble falling through the rock) | [5] [6] [7] |
| Temple stone | The Temple's rooms and border, Olmec's Lair's border, the Jungle's ruins | Green rubble; gold in the City of Gold | [8] [9] [10] [11] |
| Stone block | One rock tile in ten in the Mines, the Temple and Olmec's Lair; some become push blocks | Green rubble; nothing at all on a Temple level (Stone blocks without gold) | [12] [13] [14] |
| Smooth earth | Shop floors | Tan rubble | [15] [16] |
| Hard block | The rooms outside the levels: the Tutorial, the title screen, the bonus rooms | Nothing: it can't be destroyed | [17] |
| Lady Xoc's blocks | The statue of a City of Gold room | Gold, and two gems from six of its thirty blocks | [18] [19] |
| The ship's hull | The mothership, its floor drawn with another picture | Dark rubble, as the Ice Caves' rock | [20] [21] |
In the City of Gold, the Temple stone is gold, and every block of it breaks into three Gold Chunks and a Gold Nugget [22] [23]. Its stone blocks are drawn gold too, but break without a trace [24] (Stone blocks without gold), and some blocks there are Jungle earth all the same (Jungle earth in the City of Gold).
Gold and gems
#As each block of the Mines', the Jungle's, the Ice Caves' or the Temple's rock is made, it rolls 1 to 100: below 20, a small vein of gold shows in it; from 20 to 29, a big one. A block with neither, if it's in a level and off the level's edge, rolls for a big gem inside it, hidden, then for an item, each roll only once the ones before it fail [25]:
| Area | Small gold vein | Big gold vein | Big Sapphire | Big Emerald | Big Ruby | An item | |
|---|---|---|---|---|---|---|---|
| The Mines | 19 in 100 | 10 in 100 | 1 in 100 | 1 in 120 | 1 in 140 | 1 in 1,200 | [25] |
| The Jungle | 19 in 100 | 10 in 100 | 1 in 80 | 1 in 100 | 1 in 120 | 1 in 1,200 | [26] |
| The Ice Caves | 19 in 100 | 10 in 100 | 1 in 40 | 1 in 60 | 1 in 80 | 1 in 1,200 | [27] |
| The Temple | 19 in 100 | 10 in 100 | 1 in 60 | 1 in 80 | 1 in 100 | 1 in 1,200 | [28] |
Broken, a small vein lets out three Gold Chunks, and a big one three Gold Chunks and a Gold Nugget; a gem or item inside simply drops out [29]. The first clip shows it: a Boulder rolls along a corridor of the Mines, breaking the bricks in its way, and the gold-veined ones spill gold [30]. Stone blocks, smooth earth and hard blocks hold nothing.
Breaking them
#- Bombs break every block their blast touches, unless it's one that can't be destroyed, as long as the blast is near the view (or anywhere in the Tutorial) [31] (Explosions break blocks off screen).
- The Mattock breaks a block a swing.
- A Boulder rolling fast enough breaks the blocks in its way [32].
Breaking a block of the areas' earth, rock or Temple stone, or smooth earth or the ship's hull, takes Spikes and a Tiki Torch on top of it with it, brings down a lamp hanging under it as a Lamp, and lets water around it drain [33] [34]. Many other blocks have destroy events of their own that don't run that code, so none of it happens when one breaks: a stone block, a Push Block, Ice, both altars (the idol's Altar and Kali's), Lady Xoc's blocks, the traps' blocks, a Shop Sign and a grave [13] [35]. A bomb breaking the stone block a Dice House's lamp hangs from leaves the lamp in the air [36].
Blocks that can't be destroyed
#A block marked so ignores bombs and the Mattock: the border around every level [37], the block a level's exit stands on [38], the ones under the gold door and under the Black Market's hidden door [39] [40], and the hard blocks [17].
Interactions
#- Shops. A shop's walls, bricks or one time in ten stone blocks, and its smooth floor are marked as the shop's, and breaking one angers its Shopkeeper [41] [42], unless it's a stone block, whose own destroy event skips the check [13] [35].
- Spectacles and the Udjat Eye draw the treasure hidden in the rock in front of it, so it shows [43].
- Crushing. A player whose middle ends up inside a block is crushed, losing every heart [44].
Tips
#- A block showing gold is worth a bomb or a swing of the Mattock: nearly three rock blocks in ten have some.
- The deeper areas hide more gems in their rock: an Ice Caves block is two and a half times as likely to hold a Big Sapphire as a Mines one.
Trivia
#- In custom levels, the level editor's rock tiles set each block's picture back to plain earth after it's made, so no block of a custom level shows or holds gold; its gems and items still roll [45].
- One brick in ten in the Mines is drawn with a second picture [46].
- The game has an object for the mothership's floor that nothing makes: the floor is hull with the floor's picture [20] [47].
FAQ
#- How do you break blocks in Spelunky Classic?
With a Bomb, whose blast breaks every block it touches but the few that can't be destroyed, or a Mattock, a block a swing. A rolling Boulder breaks the blocks in its way too.
- How do you get gold out of the walls in Spelunky Classic?
By breaking a block that shows gold: about one block of rock in five has a small gold vein, which breaks into three Gold Chunks, and one in ten a big one, three Gold Chunks and a Gold Nugget.
- Are there gems inside the blocks in Spelunky Classic?
Yes. A block of rock without gold can hold a big gem, hidden until the block breaks: in the Mines a Big Sapphire 1 in 100, and more often deeper down, as much as 1 in 40 in the Ice Caves.
- Which blocks can't be destroyed in Spelunky Classic?
The border around every level, the block a level's exit stands on, the blocks under the gold door and the Black Market's hidden door, and the hard blocks of the rooms outside the levels. A bomb's blast and the Mattock leave them be.
Gallery
#See also
#References
#scripts/scrRoomGen.gml:325-340objects/oBrick/destroy.gml:3-7scripts/scrInitLevel.gml:117-124objects/oLush/destroy.gml:3-10scripts/scrRoomGen3.gml:295-304scripts/scrInitLevel.gml:84-92objects/oDark/destroy.gml:3-7scripts/scrRoomGen4.gml:317-327scripts/scrInitLevel.gml:95-125scripts/scrRoomGen2.gml:339-343objects/oTemple/destroy.gml:3-32scripts/scrRoomGen.gml:327objects/oBlock/destroy.gml:1-25scripts/scrEntityGen.gml:497-500scripts/scrRoomGen.gml:422-426objects/oBrickSmooth/destroy.gml:3-11objects/oHardBlock/create.gml:3scripts/scrRoomGen4.gml:378-392objects/oXocBlock/destroy.gml:12-28scripts/scrRoomGen3.gml:413-418objects/oAlienShip/destroy.gml:3-5objects/oTemple/create.gml:7objects/oTemple/destroy.gml:21-32objects/oBlock/create.gml:4objects/oBrick/create.gml:7-16objects/oLush/create.gml:5-15objects/oDark/create.gml:3-15objects/oTemple/create.gml:5-16objects/oBrick/destroy.gml:9-29- Clip block/boulder
objects/oExplosion/collision_oSolid.gml:1-15objects/oBoulder/collision_oSolid.gml:1-25objects/oSolid/destroy.gml:9-35objects/oBrick/destroy.gml:1-2Most blocks but an area's plain rock skip what breaking a block does.
, docs/quirks.md §1- Replay
fidelity/replays/terrain-stone-block-lamp.txt scripts/scrInitLevel.gml:66-128scripts/scrRoomGen.gml:345-357scripts/scrEntityGen.gml:400-406scripts/scrEntityGen.gml:215-223scripts/scrRoomGen.gml:413-426objects/oSolid/destroy.gml:1-7objects/oTreasure/step.gml:63-66objects/oPlayer1/step.gml:1490-1511scripts/scrCreateTileObj.gml:36-68objects/oBrick/create.gml:3-5Unreachable terrain and effects
, docs/quirks.md §1
Source code
objects/oBrick/create.gmlobjects/oBrick/destroy.gmlobjects/oLush/create.gmlobjects/oDark/create.gmlobjects/oTemple/create.gmlobjects/oBlock/create.gmlobjects/oHardBlock/create.gmlobjects/oXocBlock/destroy.gmlobjects/oLush/destroy.gmlobjects/oDark/destroy.gmlobjects/oTemple/destroy.gmlobjects/oBlock/destroy.gmlobjects/oBrickSmooth/destroy.gmlobjects/oAlienShip/destroy.gmlobjects/oAlienShipFloor/destroy.gmlobjects/oSolid/destroy.gmlobjects/oExplosion/collision_oSolid.gmlobjects/oBoulder/collision_oSolid.gmlobjects/oTreasure/step.gmlscripts/scrInitLevel.gmlscripts/scrRoomGen.gmlscripts/scrEntityGen.gmlscripts/scrCreateTileObj.gml