Make a 2D Action Adventure Game with Godot 4

Lesson 2: Moving our player

Video Notes

We’ll start slowly by getting our player character to start moving.

If you haven’t already, you can grab the assets you need here:

Each lesson has a corresponding commit in our Github repository:

If you have any questions drop a comment here or on Discord.

  • MiaJ
    Aug. 16, 2023 at 1:53 a.m.

    Is there a good tutorial on how to set up git to use the version control option built into Godot? I have tried to set it up but have not been able to get it to work.

    • amit
      Aug. 16, 2023 at 2:16 p.m.

      I’m not aware of any specific Godot-specific Git tutorials, but you should be able to use any standard Git tutorials and just remember a few things that are specific to Godot:

      1. You’ll want to add the .godot directory to your .gitignore file, meaning you don’t want to check in that directory to source control, as that’s specific to the editor and not the codebase.

      2. This is not specific to Godot but applies to game development in general, but Git doesn’t handle large files that well, which is problematic for asset files. For this course, the assets aren’t that big so you can get away with checking them into Git. But for larger projects you might want to use something like GitLFS to handle large asset files.

      What problems are you running into? You can post it here or hop on to our Discord to get help.

  • Lucky
    Aug. 16, 2023 at 9:47 p.m.

    I am super new to Godot (and to programming in general):

    But downloading Github Desktop and choosing your project folder for GitHub Desktop, makes everything automatic. All you have to do is name the commit and push it to main. 2 clicks :p

    I’m travelling quite a lot, so I had to keep my projects on my desktop and my laptop identical. This works without any issues, assets work fine as well

Want to get into the mix? Sign in or register to comment.

Next lesson