A PLACE TO BEGIN

Make it your own.

Three little projects with room for your ideas. Download a copy, open it in Sparky, and change something.

REMIX AN IDEA

A flower made of loops

Change the turns and colors to grow your own pattern.

# Teach Sparky a new trick, then use it to draw a flower.

speed 10
background "cream"
pen size 3

teach petal length
  repeat 2 times
    repeat 12 times
      move length / 12
      turn 5
    end
    turn 120
  end
end

pen color "orange"
repeat 12 times
  do petal 90
  turn 30
end

pen up
goto 0 -60
pen color "green"
write "a flower for you"
hide
Open in Sparky โ†“

REMIX AN IDEA

Catch the star

Make a small game, then change its rules.

# Catch the star! A Sparky 3 game.
# Click the stage, then use the left and right arrow keys.
# Catch 10 stars to win. Your best time is saved for next time.

backdrop "night"
say "Catch 10 stars!" for 2 seconds
pen up
goto 0 -140
size 120

make sprite star with costume "star"
set score to 0
reset timer
load "best star time" into best

teach drop_star
  tell star
    goto random -200 to 200 180
  end
end

do drop_star
repeat until score = 10
  if key "left" down then
    goto xpos() - 7 ypos()
  end
  if key "right" down then
    goto xpos() + 7 ypos()
  end
  tell star
    goto xpos() ypos() - 4
    if ypos() < -170 then
      goto random -200 to 200 180
    end
  end
  if touching star then
    change score by 1
    play "ding"
    say "{score}!" for 0.3 seconds
    do drop_star
  end
  next frame
end

set time to round(timer, 1)
say "You did it in {time} seconds!"
if best = 0 or time < best then
  save time as "best star time"
  say "A new best time: {time} seconds!"
end
Open in Sparky โ†“

REMIX AN IDEA

Make a melody

Try notes, rests and instruments in a short song.

# Ode to Joy โ€” Sparky can sing! Notes 1-14 are two do-re-mi octaves.
# Try making your own song, or speed it up by shrinking the times.

say "๐ŸŽต Ode to Joy!"

teach note1 n
  play note n for 0.35
end

do note1 3
do note1 3
do note1 4
do note1 5
do note1 5
do note1 4
do note1 3
do note1 2
do note1 1
do note1 1
do note1 2
do note1 3
play note 3 for 0.5
play note 2 for 0.2
play note 2 for 0.7

play "tada"
say "Now write YOUR song!"
Open in Sparky โ†“

These are the same featured projects shown on Home in the app. This page is built from the verified signed project feed.