stage.set_background("space") sprite = codesters.Sprite("fish") sprite.set_size(.7) # 1) Set up your stage and sprite. # Position your sprite at the start # of your first letter. sprite.go_to(-200,0) # 2) Use the Pen Down command from the # Actions toolkit. Use Set Color to change the color. sprite.pen_down() sprite.pen_width(4) sprite.set_color("green") sprite.fill_on() sprite.glide_to(-125,175) sprite.glide_to(-75,0) sprite.glide_to(-100,0) sprite.glide_to(-130,135) sprite.glide_to(-175,0) sprite.fill_off() sprite.glide_to(-146,100) sprite.fill_on() sprite.glide_to(-124,100) sprite.glide_to(-122,87) sprite.glide_to(-146,87) sprite.pen_up() sprite.fill_off() sprite.go_to(-50,175) sprite.pen_down() sprite.fill_on() sprite.glide_to(-50,0) sprite.glide_to(-35,0) sprite.glide_to(-35,175) sprite.glide_to(-35,175) sprite.fill_off() sprite.fill_on() sprite.glide_to(0,175) sprite.glide_to(15,150) sprite.glide_to(15,121) sprite.glide_to(0,100) sprite.glide_to(-39,100) sprite.glide_to(50,0) sprite.pen_up() sprite.fill_off() sprite.go_to(75,175) sprite.pen_down() sprite.fill_on() sprite.glide_to(75,0) sprite.glide_to(90,0) sprite.glide_to(90,175) sprite.glide_to(90,175) sprite.pen_up() sprite.fill_off() sprite.pen_down() sprite.fill_on() sprite.glide_to(124,163) sprite.glide_to(148,134) sprite.glide_to(160,103) sprite.glide_to(150,80) sprite.glide_to(137,54) sprite.glide_to(124,35) sprite.glide_to(113,22) sprite.glide_to(90,5) sprite.pen_up() sprite.fill_off() sprite.go_to(90,34) sprite.pen_down() sprite.fill_on() sprite.set_color("blue") sprite.glide_to(90,160) sprite.glide_to(112,150) sprite.glide_to(128,133) sprite.glide_to(138,106) sprite.glide_to(129,79) sprite.glide_to(117,57) sprite.glide_to(90,40) sprite.pen_up() sprite.fill_off() sprite.go_to(-200,0) sprite.pen_down() sprite.pen_width(4) sprite.set_color("blue") sprite.glide_to(-125,175) sprite.glide_to(-75,0) sprite.glide_to(-100,0) sprite.glide_to(-130,135) sprite.glide_to(-175,0) sprite.fill_off() sprite.glide_to(-146,100) sprite.fill_off() sprite.glide_to(-124,100) sprite.glide_to(-122,87) sprite.glide_to(-146,87) sprite.pen_up() sprite.go_to(-50,175) sprite.pen_down() sprite.fill_off() sprite.glide_to(-50,0) sprite.glide_to(-35,0) sprite.glide_to(-35,175) sprite.glide_to(-35,175) sprite.fill_off() sprite.fill_off() sprite.glide_to(0,175) sprite.glide_to(15,150) sprite.glide_to(15,121) sprite.glide_to(0,100) sprite.glide_to(-39,100) sprite.glide_to(50,0) sprite.glide_to(0,100) sprite.glide_to(-35,175) sprite.fill_off() sprite.pen_up() sprite.go_to(75,175) sprite.pen_down() sprite.glide_to(75,0) sprite.glide_to(90,0) sprite.glide_to(90,175) sprite.glide_to(90,175) sprite.pen_up() sprite.fill_off() sprite.pen_down() sprite.fill_off() sprite.glide_to(124,163) sprite.glide_to(148,134) sprite.glide_to(160,103) sprite.glide_to(150,80) sprite.glide_to(137,54) sprite.glide_to(124,35) sprite.glide_to(113,22) sprite.glide_to(90,5) sprite.pen_up() sprite.fill_off() # 3) Start Drawing your letter! # Use a glide to command to get to the next corner. sprite.go_to(84,173)
Support