locked
Changing the turtle icon in small basic RRS feed

  • Question

  • how do you change the icon to something other than a turtle i would like an answer asap thanks

    Thursday, June 29, 2017 11:33 AM

Answers

  • You can't change the turtle image with only standard interface.  But if you write similar subroutines like Turtle object, you can move an image with Shapes.AddImage() like Turtle.

    Another way is using LitDev Extension.  You can change the turtle image like:

    Turtle.Show()
    img = Program.Directory + "\test.png"
    LDShapes.SetImage("_turtle", img)
    For a = 1 To 360
      Turtle.Move(1)
      Turtle.Turn(1)
    EndFor


    Nonki Takahashi

    Thursday, June 29, 2017 3:07 PM
  • Program XXV038-3 is a sample without extensions.

    Nonki Takahashi

    Thursday, June 29, 2017 3:10 PM
  • Using LD extension, I would use LDShapes.SetTurtleImage, since this handles additional internal mods reuquired for rotating turtle images of different sizes.
    Thursday, June 29, 2017 6:29 PM

All replies

  • You can't change the turtle image with only standard interface.  But if you write similar subroutines like Turtle object, you can move an image with Shapes.AddImage() like Turtle.

    Another way is using LitDev Extension.  You can change the turtle image like:

    Turtle.Show()
    img = Program.Directory + "\test.png"
    LDShapes.SetImage("_turtle", img)
    For a = 1 To 360
      Turtle.Move(1)
      Turtle.Turn(1)
    EndFor


    Nonki Takahashi

    Thursday, June 29, 2017 3:07 PM
  • Program XXV038-3 is a sample without extensions.

    Nonki Takahashi

    Thursday, June 29, 2017 3:10 PM
  • Using LD extension, I would use LDShapes.SetTurtleImage, since this handles additional internal mods reuquired for rotating turtle images of different sizes.
    Thursday, June 29, 2017 6:29 PM
  • draws image with flashing car instead of turtle (LD xtension required)

    DZN497

    Wednesday, July 19, 2017 3:32 PM