How to Make Collectable Objects in Godot 4 (coins, apples, etc)

How to Make Collectable Objects in Godot 4 (coins, apples, etc)

DevWorm

7 месяцев назад

21,357 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@JusticePeterson-cv6cy
@JusticePeterson-cv6cy - 04.01.2024 20:31

All the animations work, but nothing happens when I press "e" in the actual game. I wanted to know how this can be fixed, and as always, thank you so much for your tutorials! PLEASE HELP! I looked at the errors and it said,
Missing connected method '_on_pickable_area_area_body_entered' for signal 'body_entered' from node 'Apple Tree/pickable_area Area' to node 'Apple Tree'.Missing connected method '_on_pickable_area_area_body_exited' for signal 'body_exited' from node 'Apple Tree/pickable_area Area' to node 'Apple Tree'.

Ответить
@arthurwiebusch9292
@arthurwiebusch9292 - 04.01.2024 05:27

nice

Ответить
@A1SD1
@A1SD1 - 02.01.2024 23:13

hey i'm am new to coding/developing. I was following along pretty well with the video until the end. I created my animations and saved them like the video, but once my code was typed in it keeps giving me node not found =(. code matches what you showed word for word but I can get pass this any ideas??

Ответить
@longuemire748
@longuemire748 - 31.12.2023 22:35

Thank you
Why use a "player" function rather than a "player" group?

Ответить
@legm8034
@legm8034 - 25.12.2023 22:51

If you place multiple apple trees that intersect than with the current setup you would only need to press the key once and it would collect all apples from all trees. So you would need some additional logic to deal with that

Ответить
@Chelsea.United.limits
@Chelsea.United.limits - 25.12.2023 15:03

I am making this game for android but how do i replace the e button with the touch screen button node i did it but it didn't work can you please help me

Ответить
@leonalayja5861
@leonalayja5861 - 24.12.2023 02:07

you are amazing bro <3

Ответить
@RXBeetle
@RXBeetle - 21.12.2023 08:06

Across multiple tutorials and engines, I don't think I've ever watched any tutorials as helpful as yours have been to me, by far the easiest to takes notes and branch off of. Thank you very much for your hard work!!

Ответить
@fiskvik
@fiskvik - 14.12.2023 14:27

could you release the script files somewhere so we can read through them?

Ответить
@DylanDevVR
@DylanDevVR - 13.12.2023 08:04

Having an issue with trying to spawn the godot logo, when you collect the apple. I keep getting an error that says:
Invalid get index 'global' (on base: 'StaticBody2D').

Ответить
@FurBohen
@FurBohen - 12.12.2023 23:59

Hey weird bug with tree's growing back apples, they should in theory grow back in order of picked, anyone else noticed this?

Ответить
@keithestanol3771
@keithestanol3771 - 01.12.2023 21:43

As I knew it would be, this is so good. Thank you for all your work.

Ответить
@chriswooten8032
@chriswooten8032 - 27.11.2023 00:11

I am getting it to work but for some reason, my player is picking both trees at the same time. No matter where I am on the map.

Ответить
@eliseCosbon
@eliseCosbon - 25.11.2023 08:44

i have been following along but i still encountered a problem, the tree is not sensing if the player entered or exited the collision. please help

Ответить
@DarkWeb-ms1ep
@DarkWeb-ms1ep - 24.11.2023 10:41

This function $growth_timer.start() dosn't work to me

Ответить
@TheStapluh
@TheStapluh - 17.11.2023 21:26

My apple tree is spawning apples way off to the bottom right of where the trees are located. Had to fix this by placing the Marker2D several coordinates to the top left of tree, but that isn't a real fix. Any idea why it would be spawning the apples in a weird position like that even if the Marker2D is directly on the tree?

Ответить
@user-wu1fl2cc3n
@user-wu1fl2cc3n - 13.11.2023 02:32

great vid . completing ur tutorials 1 by 1 :D

Ответить
@SoSlendder
@SoSlendder - 13.11.2023 02:24

the location of where the apple falls relative to the tree is completely off and im very new to this any suggestion

Ответить
@SecaLoire
@SecaLoire - 08.11.2023 19:10

go dot D:

guh doh :D

Ответить
@abdullaharraayid19
@abdullaharraayid19 - 07.11.2023 18:07

it work for me, thank you, finaly i found the good one that i can easy to understand

Ответить
@pauldebus4070
@pauldebus4070 - 30.10.2023 14:12

Great series to realize some ideas in Godot with 0 knowledge about this engine. Keep going! :)

Ответить
@user-eu2gr7ky8f
@user-eu2gr7ky8f - 25.10.2023 10:06

BTW can u also tell how to make this into a mobile game movement or smth like that

Ответить
@jh-oy8pr
@jh-oy8pr - 25.10.2023 02:22

Hey man I’m using this game as an assignment for my digital class (hope that’s alright) but respectfully when do you think you’ll be able to upload the rest of the tutorials as this game is due very soon for me. Thanks

Ответить
@Graylegs
@Graylegs - 25.10.2023 00:28

Thanks so much for doing these!

Ответить
@DaffaNaufal-wf4qy
@DaffaNaufal-wf4qy - 23.10.2023 17:38

permission to use your game for my assignment🫡

Ответить
@DaffaNaufal-wf4qy
@DaffaNaufal-wf4qy - 23.10.2023 17:35

continue please, very interesting, I appreciate it, I'm waiting for the continuation of the game👍🏻👍🏻👍🏻

Ответить
@inyoke1241
@inyoke1241 - 23.10.2023 00:29

cant wait 🥵

Ответить
@russ556
@russ556 - 22.10.2023 10:59

Thanks bro

Ответить
@scotmcpherson
@scotmcpherson - 22.10.2023 04:11

Great, job....just FYI instantiate is pronounced.....in-stan-shee-ate 👍

Ответить
@kristisnoobpw5767
@kristisnoobpw5767 - 19.10.2023 20:35

where are the other videos of this series? why u stopped uploading

Ответить
@ManaTrooo
@ManaTrooo - 17.10.2023 01:33

badly need an inventory vid, i did one but it worked so badly :(

Ответить
@microwire007
@microwire007 - 16.10.2023 06:03

Please don't leave us hanging like this. I thought you were going to be releasing these "every other day"? Just an update to what's happening would be nice. I get you have a life outside of YT so no need for details and I hope everything is alright.

Ответить
@hussain_abdullah
@hussain_abdullah - 08.10.2023 22:29

Great,I love you man

Ответить
@jeremiahaemile5441
@jeremiahaemile5441 - 08.10.2023 14:46

Congratulations 9k 🎉🎉🎉
Don't forget me when you grow up ❤❤

Ответить
@Hades200082
@Hades200082 - 08.10.2023 12:12

I'm really enjoying following along.

One small issue that's probably more to do with the Godot UI and my age than it is your teaching... I find that sometimes you click through a series of Godot UI controls quickly and I have to rewind 2-3 times to see where you went and follow along. Is it possible for you to better show where you are clicking in the Godot UI so it's super clear? It should only be needed the first time through a given process in each video for me, once we're repeating things I'm good.

One thing I find really good in your videos is that you don't hide your mistakes. Explaining your mistakes and how you fix them is incredibly valuable. Thank you.

Ответить
@SOSmysteries
@SOSmysteries - 08.10.2023 10:20

Great stuff, thanks

Ответить
@arsoodl641
@arsoodl641 - 07.10.2023 22:55

Hello, I am one of your followers and I had a request for a video. How could you make a worm similar to the worms in the game Terraria? I would be very grateful if you would please

Ответить
@arsoodl641
@arsoodl641 - 07.10.2023 22:54

Hello, I am one of your followers and I had a request for a video. How could you make a worm similar to the worms in the game Terraria? I would be very grateful if you would please

Ответить
@Shawn-cq7qy
@Shawn-cq7qy - 07.10.2023 22:25

Can you make 3d grappling hook for Godot 4

Ответить
@trouble6043
@trouble6043 - 06.10.2023 18:41

Thanks for the vid, I’ve been looking foward to it. Can you make a video about making Finite State Machines, its a crucial step of being organized and more readable. Thanks again! ❤

Ответить
@akiameaart
@akiameaart - 06.10.2023 09:13

Thank you so much for the tutorials! I'm excited for the next one. I also love your quick (but still clear) pace. I often find myself zoning out when other tutorials move so slowly.

Ответить
@PunCala
@PunCala - 05.10.2023 13:30

You are definitely getting better at this. Your channel is incredibly valuable, please keep going. Some suggestions on how to improve: take a note of how Clear Code teaches in their video "The ultimate introduction to Godot 4": 1. the state the problem or motivation for wanting to do something, 2. they tell what approach they are going to use 3. they show the approach 4. they show any potential problems that arise from the approach 5. they describe the reason why said problem arose 6. they fix the problem.

Notice how you tend to skip phases 1 and 2, and that makes it sometimes difficult to follow.

Ответить
@natebuckwell1383
@natebuckwell1383 - 04.10.2023 17:11

These are so good! Can you do a video on a leveling/Job/Class system with xp?

Ответить
@IsmaiilGamer
@IsmaiilGamer - 03.10.2023 20:25

Continue 👍👍👍

Ответить
@Poronekton
@Poronekton - 03.10.2023 18:58

Love the BL2 main menu music for like 5 sec at 20ish mins XD very funny

Ответить
@raynelsonchan4406
@raynelsonchan4406 - 03.10.2023 12:38

my method for this is using a +=1, where the global script is true and then false once the stuff is interacted. If the object is 0 however (note that I'm setting player inventory as 0 to 3, and apple state to 3 to 0), if apple is 0, the player can no longer pick up any apple. idk if this is a good method or not, so please gove some tipz

Ответить
@AzzuBananas
@AzzuBananas - 03.10.2023 08:42

thnks for the content! i'm learning a lot in your videos!

Ответить
@Mcdraken32
@Mcdraken32 - 03.10.2023 04:02

awesome Dev, ill be watching this tomarrow, thank you! Well done! ✌

Ответить