Star Student Builder logoStar Student Builder
← Real Games Std 6–8Project 3 of 4

Rain, Snow and Clones

🎯 Hundreds of raindrops fall, each its own object, from a single sprite.

πŸ’‘ The idea behind it

A clone is a copy of a sprite made while the program runs. This one idea is behind bullets, enemies, particles and almost every real game.

🧱 Blocks you will need

create clone of myselfwhen I start as a clonedelete this clonepick randomhide / show

πŸ”¨ Build it

  1. Draw one small raindrop and hide the original sprite.
  2. Main: forever β†’ create clone of myself β†’ wait 0.1 seconds.
  3. when I start as a clone: go to x (pick random βˆ’240 to 240) y 180 β†’ show β†’ repeat until y position < βˆ’170 β†’ change y by βˆ’10.
  4. Then: delete this clone. This line is not optional.
  5. Change the wait and the fall speed and watch a drizzle become a storm.

πŸš€ Make it harder

  • Make snow instead: slower, and drifting sideways with a small random x change.
  • Make the drops splash β€” switch costume when they reach the bottom, before deleting.

🐞 Bugs you will hit

  • Scratch slows to a crawl and then stops making clones: you never deleted them. Scratch allows 300 at once, and without 'delete this clone' you hit that limit in half a minute.
  • Nothing appears: the clone needs 'show', because it inherited the hidden state of the original.

⬇ Need Scratch itself?

Free from MIT, in a browser or as an offline app that needs no connection at all.

Get it β†’
Ask GuruAcharya Samayeshwar