Such an amazing video i was just blindly following the toturials.i had no Idea what instantiate func does please make more videos like this your visual representation of the code is really easy and helpful to understand subbed for future videos
Great tutorial! I was having trouble instantiating a scene that I couldn't get at all! With that I learned two things, with two errors, the first error is that the method in which I was using to instantiate scenes is "instance()" which is a non-existent method of packedscene (At least in version 4.0.0 of godot) to if I instantiate scenes, however, with the method "instantiate()" I managed, second error: You cannot instantiate a scene in itself, that is! if I want to instantiate a bullet scene from a gun I can't instantiate it in the bullet scene but in the gun scene or in another scene, anyway, huge text but it will serve as a learning experience for anyone who has the same problem 😊
Interesting! It is hard to know the exact reason why this may be happening, but the first thing that comes to my mind is that there is a type mismatch. When you use load() to load the scene, you may be getting a Resource instance? So maybe try to cast the loaded resource to a PackedScene. var sceneResource = load("res://myscene.tscn") if sceneResource is PackedScene: var scene = sceneResource as PackedScene var instance = scene.instantiate()
love it, its very concise and understandable, though I have a question... why doesnt it get added directly in the scene when you instantiate it? isnt instantiate mean that it has added into the scene? why do we need to append it as child? >﹏<
Thank you very much! Instantiating a scene creates the object but does not automatically add it to the scene tree. This is great because it gives you control over where and when the nodes should appear in your game. For example, you may want to change/set properties on some nodes before adding them to the tree, or you may want to wait for some time before adding the nodes the tree.
I used a custom theme. To change your theme, you can go to `Editor` -> `Editor Settings` -> `Theme`. Then, you can use a custom preset. I am currently using the following: - base color: 11124b - accent color: ff0090
I am still searching & experimenting with different softwares to see if there is a quicker way to do the animations. After effects seems to be a good option so far, and I feel comfortable using it. The only issue is it takes a long time to make the animations. I think it all comes down to what you feel comfortable with, because most softwares out there can do almost anything you can imagine.
Such an amazing video i was just blindly following the toturials.i had no Idea what instantiate func does please make more videos like this your visual representation of the code is really easy and helpful to understand subbed for future videos
Thank you very much!
Super solid tutorial. Quick and to the point with clear visuals. Subbed and keep up the good work!
Thank you very much!
Agreee! Very well done
Great tutorial! I was having trouble instantiating a scene that I couldn't get at all! With that I learned two things, with two errors, the first error is that the method in which I was using to instantiate scenes is "instance()" which is a non-existent method of packedscene (At least in version 4.0.0 of godot) to if I instantiate scenes, however, with the method "instantiate()" I managed, second error: You cannot instantiate a scene in itself, that is! if I want to instantiate a bullet scene from a gun I can't instantiate it in the bullet scene but in the gun scene or in another scene, anyway, huge text but it will serve as a learning experience for anyone who has the same problem 😊
Thanks for sharing!
your comment was exactly how i was suffering LOL thanks a lot
@@bro-rubro no problem 😃
That was so useful. I love the visuals and the message was super clear
Thank you very much!
yr explanation video are sooooo good and easy to understand because of the animation... please keep doing what your doing now..
Thank you so much!
Great! Solved my doubts in 100 seconds, thanks!
You are very welcome!
Really love the content. Thanks for sharing. I admire your method of teaching and can relate to it very easily.
Thank you very much!
fantastic tutorial, thanks for making this!
So easy to follow. Good job!
Thank you!
Perfect length! Thank you!
Thank you : )
Actually useful, thanks!
You are very welcome!
Great tutorials. Although your audio is pretty quiet.
Thank you for the feedback. I will make sure to fix the audio in future videos.
perfect, thanks
You are very welcome!
Very helpful, thankyou.
You are very welcome!
any hope to make gdscript basics series with this amazing explaining?
Thank you! Yes, I am planning to make videos about GDScript.
Me acabas de resolver en un minuto un quebradero de cabeza de casi 24 horas. Gracias.
You are very welcome : )
The loaded scene object has no instantiate() method (Godot 4.1.0). However it works with preload.
Interesting! It is hard to know the exact reason why this may be happening, but the first thing that comes to my mind is that there is a type mismatch. When you use load() to load the scene, you may be getting a Resource instance? So maybe try to cast the loaded resource to a PackedScene.
var sceneResource = load("res://myscene.tscn")
if sceneResource is PackedScene:
var scene = sceneResource as PackedScene
var instance = scene.instantiate()
love it, its very concise and understandable, though I have a question... why doesnt it get added directly in the scene when you instantiate it? isnt instantiate mean that it has added into the scene? why do we need to append it as child? >﹏<
Thank you very much! Instantiating a scene creates the object but does not automatically add it to the scene tree. This is great because it gives you control over where and when the nodes should appear in your game. For example, you may want to change/set properties on some nodes before adding them to the tree, or you may want to wait for some time before adding the nodes the tree.
Gracias, me di cuenta que necesitaba arrastrar la escena en el inspector.
Thank you! 😁
Thank you sir
You are very welcome!
AAAA SO GOOD
Thank you very much!
Nice video, i just have one question how can i instantiate 2 objects at same time?
Thank you! You can invoke .instantiate() 2 times on the packed scene. This will return 2 different nodes.
Where did you get that very-very-blue color theme for Godot's editor?
I used a custom theme. To change your theme, you can go to `Editor` -> `Editor Settings` -> `Theme`. Then, you can use a custom preset.
I am currently using the following:
- base color: 11124b
- accent color: ff0090
best.
Thank you!
nice!
What software are you using to create your animations please?
I am still searching & experimenting with different softwares
to see if there is a quicker way to do the animations.
After effects seems to be a good option so far, and
I feel comfortable using it. The only issue is it takes
a long time to make the animations.
I think it all comes down to what you feel comfortable with,
because most softwares out there can do almost anything you can imagine.
@@JumboGamedev so you used AE for this video?