Giter Club home page Giter Club logo

Comments (2)

duianto avatar duianto commented on May 27, 2024

Just noticed the issue in Lesson 5, that the turtle doesn't turn visually.


Update:
The comments below about the icon, are now obsolete based on the discussion thread:
Make the turtle an actual turtle #142
#142 (comment)

Sure, the current icon is a placeholder


It might also be helpful to modify or replace the turtle icon.
So that it indicates a direction.

In some tutorials that actually use a turtle,
the head indicates in which direction it will move when more_forward() is called.

Or if the greater than symbol to the left, on the icon, indicates that it moves forward to the right.
Then it would be better to fill in the middle of the icon with a solid color.

Currently the center is a hole to the background.

The 1 is visible behind the icon, which makes it more difficult to see which way it's pointing.

msedge_ZXXKm9ZdG7

from learn-gdscript.

NathanLovato avatar NathanLovato commented on May 27, 2024

Implementation notes: we need to move the animation code out of the polygon class.

We should preserve the polygon data for assignment checks, but should separate animation entirely. Instead of using the polygon data, we can keep a buffer of commands sent by the user (move forward, turn, ...) and animate based on that. Each command would lead to a separate tween animation, allowing us to animate turning even when there's no move_forward() or other call afterwards.

from learn-gdscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.