Creating a Sprite in Scratch Using a Hand-Drawn Image or Photograph

Jul 7, 2024

Creating a Sprite in Scratch Using a Hand-Drawn Image or Photograph

Uploading an Image

  • You can upload original images or photos into Scratch as sprites
  • Example: Uploading Starry Night by Vincent van Gogh
  • Acceptable file formats: JPEG, PNG, SVG
  • File size limit: 10 MB
  • Follow Community Guidelines and avoid copyrighted material and personal information

Cropping and Editing Images

  • Crop to focus on specific parts (e.g., crop out just the moon)
  • Use the Eraser tool to remove unwanted pixels carefully
  • Use the Select tool to delete large unwanted areas

Drawing Modes in Scratch

  • Bitmap Mode: Edit photos and paint with pixels (JPEG, PNG)
  • Vector Mode: Create and edit shapes (SVG)
  • Switch modes via a button at the bottom of the screen (convert to bitmap/convert to vector)

Tips for Uploaded Images

  • Prefer images with transparent backgrounds (e.g., PNG with transparency or SVG)
  • Backgrounds can be removed in the Scratch paint editor or using external tools before uploading

Example: Drawing and Uploading a Mouse

  • Edit to remove white background
  • Draw and upload wheels separately to add motion

Coding Movement

  • Example code: "When green flag is clicked, forever turn"
  • Duplicate sprites for additional parts (e.g., wheels) and arrange them

Creative Possibilities

  • Encourage creativity and exploration with Scratch