QueuePostQueuePost
  • Business
  • Computers
  • Cryptocurrency
  • Education
  • Gaming
  • News
  • Sports
  • Technology
  • Contact
Reading: How to make DOODLE JUMP in Scratch
Share
Sign In
Aa
QueuePostQueuePost
Aa
Search
  • Business
  • Computers
  • Cryptocurrency
  • Education
  • Gaming
  • News
  • Sports
  • Technology
  • Contact
Have an existing account? Sign In
Follow US
© 2022 Foxiz News Network. Ruby Design Company. All Rights Reserved.
QueuePost > Blog > Blog > How to make DOODLE JUMP in Scratch
Blog

How to make DOODLE JUMP in Scratch

Noah Davis
Noah Davis
Share
6 Min Read
SHARE

Creating a game like Doodle Jump in Scratch is an exciting way for beginners and intermediate coders to understand the fundamentals of game design. This classic arcade-style platformer requires basic coding concepts such as gravity, collision detection, scrolling platforms, and sprite animations. By using Scratch’s visual programming language, anyone can learn to recreate this fun game step-by-step.

Setting Up the Game

The first step in making Doodle Jump in Scratch is creating the core elements: the player (Doodler), the platforms, and the game background.

  • Create the Doodler Sprite: This will be the main character that jumps continuously.
  • Draw or Import Background: Use a simple vertical background to simulate upward motion.
  • Design Platforms: Create several clones of a platform sprite to manage scrolling levels.

The game revolves around a central jumping mechanic and procedural platform generation. The upward motion is an illusion created by making the platforms move downward as the Doodler jumps up.

[ai-img]scratch, doodle jump, sprite editor, character design[/ai-img]

Implementing Jump Mechanics

To emulate the jumping behavior, the Doodler sprite should constantly move upward with each jump and be affected by simulated gravity. This is implemented using variables like jump strength, gravity, and velocity.

  • Define Gravity: Add a changing Y-velocity to simulate falling.
  • Detect Platform Collisions: Make the character bounce back up when it lands on a platform.
  • Loop the Motion: Keep applying gravity while checking for jump inputs or collisions.

Each time the Doodler touches a platform from above, its Y-velocity resets to shoot it upward again. Repeat this loop to create the endless jumping effect central to the game’s experience.

Making Platforms Scroll

In Doodle Jump, it appears that the character is moving upward, but in reality, the platforms are scrolling downward when the Doodler surpasses a certain height.

Create a script that monitors the Doodler’s position on the Y-axis. If it goes above the middle of the screen, all platforms move downward by the opposite of the Doodler’s velocity. This gives the feeling of upward movement while keeping the Doodler mostly centered on the screen.

[ai-img]platforms, scrolling, gravity, scratch blocks[/ai-img]

Adding Enemies and Power-Ups

To replicate the full Doodle Jump experience, developers can add features like moving enemies, power-ups such as spring shoes, and destructible platforms.

  • Enemies: Create a separate sprite that moves horizontally and detects collision with the Doodler.
  • Power-ups: Use clones of a power-up item that increase jump strength or protect from falls.
  • Disappearing Platforms: Change costume or hide sprite after the Doodler uses it once.

These game elements not only enhance the complexity but also help in learning conditional logic and broadcasting messages between sprites in Scratch.

Scoring and Game Over Conditions

Implementing a score system is quite straightforward. Each time a platform is passed, a score variable increases. A high score variable can store the max score achieved using the cloud data or local storage in Scratch community projects.

As for game over conditions, if the Doodler sprite falls below the screen, this triggers a stop or reset command. Optionally, designers can add a Game Over screen for a polished feel.

Polishing the Game

Final touches include background music, sound effects for jumps or collisions, and animations for the character. These enhancements bring the game to life and provide a more engaging player experience.

[ai-img]game over, score display, scratch editor[/ai-img]

FAQ

  • Q: Do I need to be an expert in coding to make this game?
    A: No, Scratch is designed for beginners. You’ll learn as you build by using drag-and-drop programming blocks.
  • Q: How many platforms should I use?
    A: Typically, generating 7-10 platforms gives a good balance. Use clones to reduce coding complexity.
  • Q: Can I share my Doodle Jump game with others?
    A: Yes! After finishing your game, simply click “Share” on Scratch to publish it and allow others to play.
  • Q: How do I test for bugs during development?
    A: Use the “green flag” start to continually test and make small adjustments. Watch how sprites behave and use “say” blocks for variable debugging.
  • Q: How can I add new levels?
    A: The game is endless by design, but you can simulate levels by adding background changes or making platform layouts more challenging as score increases.

Creating Doodle Jump in Scratch is more than just copying a game—it’s a valuable learning experience in game logic, sprite control, and creative thinking. Whether for a class project or personal skill-building, it’s an accessible and rewarding endeavor.

Noah Davis April 23, 2025
Share this Article
Facebook Twitter Copy Link Print
Books that help reset your nervous system 1
A Better Way to Read About Nervous System Regulation
Books
Maitreyi Ramakrishnan discussing Attack on Titan and worldview
Why Maitreyi Ramakrishnan Keeps Returning to Attack on Titan
Books
Joe Rohde discussing Pagoo, creativity, and structured imagination
Joe Rohde on Pagoo and Building Creative Safety
Books
Angourie Rice and the On Love book relationship lessons
Angourie Rice Finds Romance Lessons in On Love
Books
Leadership reinvention and manager-to-leader agency
From Manager to Leader: The Reinvention Mindset
Books
Shadow integration and leadership self-awareness
Facing the Dragon: Shadow Integration for Modern Leaders
Books
Hiding behind an alter ego leadership concept
Are You Living Behind an Alter Ego?
Lifestyle & Culture
Affordable dating options for budget-conscious singles
Affordable Dating: Ideas That Don’t Break the Bank
Lifestyle & Culture
Sara Bareilles discussing The Interestings novel
How The Interestings Shaped Sara Bareilles’ Art
Books
Illustration suggesting Frankenstein’s creature and the metaphor of wearing a mask to hide inner wounds
Frankenstein, Masks, and Personal Agency
How To
QueuePostQueuePost

© Copyright 2022 Queuepost. All Rights Reserved.

Removed from reading list

Undo
Welcome Back!

Sign in to your account

Lost your password?