Entering the Kingdom of Scratch
Leo’s sneakers squeaked on the wooden floor of his cluttered attic, the sound echoing in the dusty silence. Sunlight, thick with dancing motes of dust, slanted through a small round window, illuminating a landscape of forgotten things—old bicycles, trunks draped in faded cloth, and shelves sagging under the weight of board games with missing pieces. Leo, whose curiosity was as boundless as the sky, was on a mission. His grandmother had mentioned, just that morning over pancakes, that “the most magical portals aren’t always where you expect them.” He’d taken that as a personal challenge. As he nudged a cobwebbed rocking horse aside, his knee brushed against a cardboard box labeled “PROJECTS – DO NOT TOUCH” in his own handwriting from two summers ago. He sighed; he’d forgotten about that box. But as he went to push it back, a soft, pulsating light seeped from its seams, a gentle blue-green glow that seemed to breathe. It wasn’t the harsh flicker of a broken bulb; it was alive. The box vibrated, a low hum that resonated in his chest. Heart hammering with a mix of fear and exhilaration, Leo lifted the lid.
Inside, there was no treasure of gold or ancient scrolls. Instead, nestled on a bed of crumpled newspaper, was what looked like a perfectly ordinary, slightly dusty laptop computer. But the glow came from its screen. The display showed not a desktop or a login prompt, but a swirling vortex of color, like a miniature galaxy spinning silently. Words, simple and inviting, drifted across the luminous whirlpool: CREATE. EXPLORE. PLAY. As Leo watched, mesmerized, the vortex solidified into a shape—a doorway, arching and shimmering, made not of wood or stone but of pure, vibrant light. A soft, melodic chime echoed from the laptop’s speakers. The portal was an invitation. He glanced back at the attic door, then at the glowing gateway. Grandmother’s words echoed again. He took a deep breath, his sneakers scuffing the floor as he leaned forward, and reached a tentative finger toward the screen.
The moment his fingertip touched the cool glass, the world dissolved.
The sensation was not of falling, but of *unfolding*. Colors streamed past him in ribbons of sound and light. He felt a gentle pressure, like being wrapped in a warm, static blanket, and then—thump. He landed softly on something springy. The attic smell of old wood and dust vanished, replaced by the crisp, clean scent of ozone and… blueberries? He opened his eyes.
He stood in the center of a vast, sun-drenched stage. The floor was a smooth, polished wood that gleamed under a brilliant white spotlight. The stage stretched out in all directions, but its edges faded into a beautiful, shifting watercolor wash of blues and purples—the backdrop of this world. Above him, the sky was not a ceiling but a vast expanse of animated clouds that drifted lazily, occasionally shaped like friendly animals. In the distance, whimsical structures rose: towers made of stacked code brackets, bridges woven from rainbow-colored wires, and trees whose leaves were tiny, blinking icons. This was not a place of rigid physics; it felt alive, playful, and boundless. He was no longer in his attic. He was inside a computer, or perhaps a world built from the ideas inside one. He had entered the Kingdom of Scratch.
“Welcome, traveler.”
The voice was not loud, but it carried the warmth of a crackling fireplace and the clarity of a ringing bell. Leo spun around. Perched on a floating, translucent lily pad that hovered just above the stage was a small creature. It was shaped like a teardrop, with a friendly, round face dominated by two large, expressive eyes that sparkled like polished obsidian. Its body was a soft, glowing cyan, and it wore a simple, brown robe that seemed woven from strands of light. In its tiny hand, it held not a staff, but a slender, silver pointer that glowed with a soft white light at its tip. This was Byte, the wise old sprite.
“You’ve taken the first and bravest step,” Byte said, his voice a gentle hum. “Not every explorer finds the portal, and fewer still have the courage to step through. My name is Byte. I am a guide here, in the Kingdom of Scratch.” The sprite floated closer, his eyes twinkling. “You are in a place where imagination is the only limit, and everything is built from instructions. But first, let’s get you oriented. You look a little… pixelated with confusion.”
Leo blinked. “Pixelated? Where am I? What *is* this place?”
“This,” Byte said, sweeping his glowing pointer in a wide arc, “is the Scratch Interface. Think of it as your workshop, your canvas, and your command center all at once. It might look busy now, but it’s just a friendly toolbox. Let’s break it down, piece by friendly piece.” As Byte spoke, the world around Leo gently shifted. The vast stage remained, but now, to Leo’s left, a rectangular panel materialized, filled with colorful, oddly shaped blocks. To his right, another panel showed a list of names and thumbnails. The center stage was now framed by a gray border, and at the top of this border, a row of buttons with familiar symbols appeared: a green flag, a red stop sign, and a cat-like icon.
“This,” Byte said, pointing to the left panel with his pointer, “is the Blocks Palette. It’s your pantry of magical ingredients. Every block here is a single, simple instruction you can give to the computer. See how they’re sorted into categories?” He gestured, and the blocks in the palette organized themselves into labeled bins. A bin of blue blocks labeled MOTION; a bin of purple labeled LOOKS; a bin of yellow labeled SOUND; a bin of orange labeled EVENTS; and more—CONTROL, SENSING, OPERATORS, VARIABLES. > 电子版侧边栏提示:点击这里(在电子版中)可以展开每个积木类别,看到所有可用的积木!试试看,你会发现“事件”积木总是蓝色的,“控制”积木是淡黄色的哦。
“The colors aren’t just for pretty,” Byte continued. “They’re your first clue about what a block *does*. Blue makes things move. Purple changes how they look. Orange starts the action. We’ll explore them all in time. For now, our focus is here.” His pointer danced over the orange bin. “The Events category. These are the ‘when’ blocks. They’re like a starting pistol. They tell your project *when* to begin listening to your other instructions.”
He then pointed to the panel on the right. “This is the Sprites List. A ‘sprite’ is just a fancy word for a character or object that can move, talk, and interact on the stage. Right now, you have one sprite: the Scratch Cat. He’s the default mascot, a friendly fellow.” As if on cue, the orange tabby cat on the stage waved a paw at Leo.
“And the big space in the middle?” Leo asked, pointing to the gray-bordered area below the buttons.
“That,” Byte said, a note of pride in his voice, “is the Scripts Area. This is your workspace. This is where the magic happens. You take blocks from the Palette,” he plucked a single, orange block that said `when green flag clicked` from the air, it materializing in his hand, “and you drag them here. You snap them together, like puzzle pieces, to build a script—a list of instructions for your sprite to follow.”
Finally, Byte’s pointer rested on the stage itself, the main area where the action played out. “And this glorious space is the Stage. It’s your world, your movie screen, your playground. Everything your sprites do, they do it here. You can also change the Stage’s appearance using blocks from the Backdrops tab.” He tapped the stage, and it flipped like a page to reveal a library of beautiful scenes: a starry night, a beach, a castle hallway.
Leo’s head was spinning, but in the best way. It was like being handed the keys to a toy factory. “So… I take blocks from that colorful list, put them in this middle area, and the cat does what they say?”
“Precisely!” Byte beamed. “You are the director. The computer is your incredibly literal, super-fast, but not-at-all-imaginative actor. Your job is to give clear, step-by-step instructions