Congratulations on getting here! Having soared through To Space and Beyond, you've learned the fundamentals of movement, listening to player input, connecting signals, and more. Our ship is fun to fly, but it's time to add some new mechanics to make our toy more like a game (and learn many new techniques along the way).We've chosen to make a Collectathon, where you move around and collect items. This is a great way to learn how to add interactions, do a little game design, and create your first user interface.
In this longer module, you'll learn how to add collectible items to your game, count gems, update the player's health, and create a more interactive and engaging game world. We'll introduce new concepts like refactoring and composition (explained below) and how to use the Remote Scene Tree to see all the nodes in your game while it runs.As you'll see, by the end of this module, you'll already have all the tools you need to create a simple game: player input, movement, detecting interactions, displaying user interface elements. These are the basic building blocks of any game!After this module, Loot It All, we'll take a step back and chop things up again into smaller, more focused modules, to reuse what we've learned and gradually build up our skills to create a more complex game.Among other things, in this module, you'll learn:
Refactoring: Understand how to gradually iterate on existing scenes and code to adapt them to your game's needs.
Creating collectibles: Learn to design and implement lootable items that increase the ship's properties, like health and gems (which could also be the player score or any in-game resource).
Composition: You'll learn how to reuse the elements you created in different places to keep your work adaptable to new situations and chunk it into logical pieces (this helps to make your code scalable and reusable as your projects grow).
Implementing your first user interface: Add UI elements to display health and gem counts to give players feedback on their state.
Spawning items randomly: Dive into random numbers and create scene instances with code to generate collectibles in your game level dynamically.
Procedural animations and particles: We'll learn to create animations using code to make the items float and make them more visually appealing with rising sparkles.
We'll start by creating the first collectible and adapt our ship to detect and "destroy" it.
And finally, we'll add some visual feedback to the collectibles to make them more appealing.As before, follow the lessons in order and complete the interactive practices as presented to reinforce your learning.
How to download the project files
If you haven't already set up your project files from the previous modules or you don't have M5. Loot it All in your Godot project list, you can download the latest project files below.Click the button corresponding to your system below to download the latest project files:
Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.
adding the new projectsTrifidehey there, just a quick suggestion, maybe you could make a download link for just the new projects instead of making us redownload everything and having to redo the godot config?
i know it is more work for you but i think it will greatly ease the use of the course for some like me who don t have their system, and thus default godot, in english.
that's the only thing that bothers me in the course so far, otherwise it is an amazing learning experience :) thumbs up to you16Feb. 20, 2024
Path names too long to unzipbold-goldfinchI unzipped 0.2.2 just fine, but I'm getting errors when unzipping 0.2.3. Seems like the path names for fonts are too long, which then triggers a Windows error. I'm able to "skip" those files and continue on with the lesson, however10Mar. 14, 2024
errorWoltreswhen i accidently open "M5. Loot it All (Workbook)"
i get one small error
[https://imgur.com/a/2gQ9fyA](https://imgur.com/a/2gQ9fyA) (i dont know how to post screenshot other than this)
loot_it_all_workbook/.godot/shader_cache/ParticlesShaderGLES3/.....
Do someone know what it is or what to do with this?
i dont have antivirus(except windows defender) and it didnt
and it seems like, it is doing only this one "M5. Loot it All (Workbook)"10Mar. 05, 2024
If you are on Mac and crash at load, try this.LethalFelineWith both learn-2d-gamedev-projects-0.2.2 and learn-2d-gamedev-projects-0.2.1, my M2 MBP were dying just after loading. I was able to load the 0.1.1 version just fine and complete the entire workbook without issue. This was on Godot 4.2.1.
I found that using Godot 4.2.0 exactly however results in no crashes.
Not sure why a patch version would do this, but hopefully this can make your day better if you too are having crash time fun.10Feb. 22, 2024
Lesson Q&A
Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.