Skip to content

Squash The Creep Tutorial #3

Open
@FrankCasanova

Description

@FrankCasanova

I just done the Squash The Creep Tutorial, the second tutorial that Godot offer as a official guide to learn about how works the Godot Engine.
Godot offers two tutorials:

Image

the first one is already done and is on the repo already Dodge The Creeps.

the second one, its not here yet:

Image

i added comments before each line of code showing how GDScript looks like
before each line of code, was useful for me, maybe as well for newcomers:

Image

i "think" the code readability and syntax is the most adequate in the major of cases, with littles revision can be twek easy to the best version if there are any corner case.

Do I have permission to clone the repo and fight with CI until I pass all the tests? :)

Activity

Yarwin

Yarwin commented on Mar 27, 2025

@Yarwin
Contributor

I think this addition would be very welcome – feel free to translate squash the creeps to godot-rust and open the PR!

Bromeon

Bromeon commented on Mar 27, 2025

@Bromeon
Member

Thanks a lot! Maybe to clarify a few things, see also Contributions in the ReadMe:

Keep in mind that this repo is not a collection of user projects, but an educational resource to complement the book and API docs of the library. Therefore, demos need to follow certain standards regarding code quality, documentation and maintainability.

Assuming you're talking about squash_the_creeps from the official godot demos, some questions:

  1. What are the main features it demonstrates? On Godot side, it's probably 3D... anything particular regarding godot-rust?

  2. I assume the godot-rust code is more or less a direct translation from GDScript? Were there bigger changes you had to do during porting (e.g. moving files, changing scenes, etc)?

    • In particular, are there parts that could not easily be mapped to Rust (e.g. lack of inheritance, default parameters, ...)?
  3. Did you use godot-rust master? (This repo's CI builds against it and may break for v0.2.x)

  4. What are bigger maintenance points we should consider in the near future, or in general?

    • Is the new signals API already used for custom signals? Unfortunately, Godot's own signals aren't yet ready, so this will need migrating as soon as we have it.
    • Others?
FrankCasanova

FrankCasanova commented on Mar 27, 2025

@FrankCasanova
Author

1:
Mainly cover the basics tutorials from Godot, that convey that 2D and 3D could be use as a practical projects as a starting point on tutorials.
i think is useful for newcomers that, before to take their hand dirty in personal project, could practice the godot-rust syntax with the basics project in order to make the user confortable.

2:
piece of code like this:
Image

especially complicated and counterintuitive for me, in my personal case.

3:
yes.

4:
i think similar to dodge-the-creeps, the principles are almost the same.

added
new-demoNew demo or content added
and removed
enhancementOngoing improvements to existing demos
on Mar 29, 2025
linked a pull request that will close this issueadd Squash The Creeps tutorial #4on Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-demoNew demo or content added

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Bromeon@Yarwin@FrankCasanova

      Issue actions

        Squash The Creep Tutorial · Issue #3 · godot-rust/demo-projects