sVB-Small-Visual-Basic
sVB-Small-Visual-Basic copied to clipboard
The speed of the turtle and a turbo mode ...
Hello Mohammad,
I would like to suggest to increase the speed of the turtle from max. 50 up to max. 100. Sometimes it makes sense to have a good interval for different speeds of the turtle. This is the case if, for example, different speeds of the turtle have to be set when drawing different shapes, since, for example, a straight line requires a another speed than a curve with a very small step sizes.
Then I'd also like to suggest, like Snap! and Scratch to add a "Turbo Mode" with a fixed and high value. This is particularly important in the development mode of a program so that improvements or additions to the code can be made quickly.
Maybe it won't be that much trouble to make these little improvements to the turtle.
Have a nice weekend ... Gregor
Hello Gregor The number 50 is just a scale. If I increase it to 100 the turtle will not be faster, but just incrementing its speed by 2 will be equivalent to 1 un the 50 scale. To make the turtle move with turbo speed, just use: Turtle.UseAnimation = False The animation applied on the turtle slows it down, even when you use the max speed. So, the turn animation off to get the max speed possible regarding your hardware (which may be instantaneous movement on a powerful PC).
From: Gregor @.> Sent: Friday, March 22, 2024 8:51 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: [VBAndCs/sVB-Small-Visual-Basic] The speed of the turtle and a turbo mode ... (Issue #59)
Hello Mohammad,
I would like to suggest to increase the speed of the turtle from max. 50 up to max. 100. Sometimes it makes sense to have a good interval for different speeds of the turtle. This is the case if, for example, different speeds of the turtle have to be set when drawing different shapes, since, for example, a straight line requires a different speed than a curve with a very small step size.
Then I'd also like to suggest, like Snap! and Scratch to add a "Turbo Mode" with a fixed and high value. This is particularly important in the development mode of a program so that improvements or additions to the code can be made quickly.
Maybe it won't be that much trouble to make these little improvements to the turtle.
Have a nice weekend ... Gregor
— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/59, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVRBJMVDZH5GYOU3QFDYZSKVXAVCNFSM6AAAAABFD7ATOSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDGMZQGE4TSOA. You are receiving this because you are subscribed to this thread.
[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.www.avast.comhttps://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Good evening Mohammad,
Thanks for your reply! Okay, I will use the maximum of 50 for the turtle's speed. I always have Turtl.UseAnimation = False, but I suppose that the Turbo Mode in Snap! and Scratch is faster. Anyway, I like your turtle's modul which is much better than the Small Basic's one. Good luck for your debugger's project for sVB. 👍
Regards ... Gregor :)