Hello, I got lost before the 2 min mark... do you have any other video that is more simple for someone who knows nothing about Blender?
@robinlambstudio
Күн бұрын
@lakeemful Hello. I do not have many videos on Blender on my channel at this point (only three including this one, as my channel is mainly about game dev, not Blender), but if you need to get up to speed on the basics of using Blender there are many tutorials on Blender for beginners on other KZitem channels.
@gammapanda3751
3 күн бұрын
Thanks Robin This helped a lot.
@robinlambstudio
Күн бұрын
@gammapanda3751 Thank you! Glad it helped.
@TrueGawa
6 күн бұрын
This was a very helpful video, thanks!
@robinlambstudio
6 күн бұрын
@TrueGawa Thank you! Glad you found it helpful.
@MoogieSRO
14 күн бұрын
Nothing happens for me when I add the directional light. Rotating the light doesn't affect the sky at all. I have a World Environment node, "Environment", Mode = "Sky", Sky = "Sky", Sky Material = "Physical Sky Material", I made the horizontal blue-black gradient, then I added a DirectionalLight3D node. Nothing happened. The DirectionalLight3D only changes the shading on my character.
@MasterAarott
18 күн бұрын
Liking the video and leaving a comment because it worked.
@robinlambstudio
18 күн бұрын
@MasterAarott Thank you! Glad you found it helpful.
@DavidCordero-v3g
22 күн бұрын
ERROR NAVIGATIONSEVER MAP QUERY FAILED BECAUSE IT WAS MADE BEFORE FIRST MAY SYNCHRONIZATION EVERY TIME I TRY TO USE IT GODOT 4 3D A i DO EVERYTHING YOU SAID THIS ALWAYS DOES THIS TO ME
@robinlambstudio
22 күн бұрын
@DavidCordero-v3g Hello. I ran this again in 4.3, and I see the error, although for me it runs like it does in the video and works with the error, (running in Windows). Not sure if it was there before, as I usually check for errors when something is not working. I looked this up, and it seems like this happens when it tries to find the path before the map is set up. To get rid of the error warning, I added a variable map_is_ready() and set it to false in the ghost script. I added a function _set_map_ready(_abc) to set the variable to true. (ABC was just to add a parameter I didn't need to use as it expected one.) Then in the _ready function I added NavigationServer3D.map_changed.connect(_set_map_ready) This is to connect the map_ready signal to the function created to set map is ready to true. Then add and map_is_ready() to if !is_hero_dead and !is_hero_hurt in the physics process. This eliminated the error in mine. I will pin a comment on how to do this later and maybe make a short on it.
@DavidCordero-v3g
22 күн бұрын
If this works, your are the best at showing someone how to do something. Thank you.
@robinlambstudio
22 күн бұрын
@@DavidCordero-v3g Thank you. Hope it works for you.
@TheStellarJay
25 күн бұрын
its very difficult to see what you're typing because its at the bottom of the screen where the youtube play bar is, it'd be nice if it was zoomed in so we can see it while paused
@petbij
27 күн бұрын
Exactly what I needed!
@robinlambstudio
27 күн бұрын
@petbij Thank you! Glad you found it helpful.
@ryanlalonde5319
28 күн бұрын
I had put in the code, i can still jump, but when I press left to turn, it closes. What eould cause that?
@robinlambstudio
25 күн бұрын
Hello. If it is locking up when you turn left, there is probably either a problem with the hierarchy where everything is under PartsSkeletonContainer or whatever you called, or the code to move left. To check to see if it is the hierarchy, comment out the places where you are flipping the character and see if you are just able to move to the left. This should separate out where the problem is, whether you need to carefully check the code or the hierarchy. After this test, you could also try flipping the character in the ready function as soon as the scene runs to see if it locks up. If it is the hierarchy, check very carefully that you have a node like the PartsSkeletonContainer as a child of your CharacterBody2D and your parts and skeleton are a child of that, etc. While for mine I did not have everything lock up when I tried flipping the character body, it flashed on the screen and did very strange things.
@moinmaster64
Ай бұрын
thank youuuuuu!!
@robinlambstudio
Ай бұрын
@moinmaster6438 Thank you! Glad you found it helpful.
@yatziriizel
Ай бұрын
okay ty i was confused
@robinlambstudio
Ай бұрын
@yatziriizel Thank you! Glad you found it helpful.
@jasonwilliams8730
Ай бұрын
👍
@robinlambstudio
Ай бұрын
@@jasonwilliams8730 Thank you!
@mikhailhumphries
Ай бұрын
You created the assets?
@robinlambstudio
Ай бұрын
@mikhailhumphries Yes, for the game I am making.
@waryamhatake
Ай бұрын
Thank you this really helped
@robinlambstudio
Ай бұрын
@waryamhatake Thank you! Glad you found it helpful.
@_vofy
Ай бұрын
My usual dev experience with Godot. You'd think something obvious would work like having your 2D character go both ways...
@labreynth
Ай бұрын
Why was this so simple? Why did it make sense?
@izk4773
Ай бұрын
Thank you so much
@robinlambstudio
Ай бұрын
@izk4773 Thank you! Glad you found it helpful.
@mjdevlog
Ай бұрын
Thanks! You're like the only one covering this for Godot 4!
@robinlambstudio
Ай бұрын
@mjdevlog Thank you! Glad you found it helpful.
@John-q5c1g
2 ай бұрын
I love you! I could not wrap my head around how to fix the hint colour problem and you've solved it. Thank you!
@robinlambstudio
2 ай бұрын
@John-q5c1g Thank you! Glad you found it helpful.
@robinlambstudio
2 ай бұрын
Note: I showed how to add the player and enemies to a group in a previous tutorial in the series, Godot 4 Navigation 3D: Get Enemies to chase you, at 3:05. To add your player to a group, in the inspector on the right, select Node, then the groups tab, type in the name of your group, and select add. In Godot 4.3 you will select the + button and then type in the name of the group.
@jordan4longshaw
2 ай бұрын
After creating the enemy and starting the game with the code at 02:36 , I get the following errors: ERROR 1 Out of bounds get index '0' (on base: 'Array[Node]') ERROR 2 The local variable "velocity" is shadowing an already-declared property at the base class "CharacterBody3D" I'm in Godot 4.2.2, and the error occurs with 1 or more enemies in the scene. I get this error despite my code being the same as yours on screen. Any ideas why?
@robinlambstudio
2 ай бұрын
Hello. For the first error, it looks like it thinks that there is not an index 0 (the array is empty), probably in the group "hero" (or whatever you called it) where you are trying to access your player character in your enemy script. The group is apparently empty. Make sure that your player character is in the group, and that it is spelled the same way in both spots. For the second error (if it does not go away when you fix the first one), it seems to think that you have a local variable for velocity. Did you declare one? in Godot 4, you do not need to, character bodies already have velocity as a property.
@jordan4longshaw
2 ай бұрын
@@robinlambstudio I've just checked my code and the videos again, mine is identical to how yours is at the video timestamp 02:36 . The only difference being that "hero" is swapped out for the name of my player, spelt the same each time I've written it. The only place it's spelt different is on it's CharacterBody3D node of my player character, where they have a capital letter at the start of their name. Does this effect anything? Also, what puts my character in the group? Is it through the code written in the video? Or does this need to be done somewhere else that I may have missed? On the point of velocity, I notice that in your video you write "var velocity" at line 16, timestamp 02:36 . Am I right in saying that doesn't need to be there? Asking based off of your reply. (thank you for getting back btw, always great to get a response)
@robinlambstudio
2 ай бұрын
@@jordan4longshaw With the character selected, on the right side of the screen where the inspector is, select the Node tabs, then the Group tabs, and add a group. This group name is what you will reference when you call the group. I showed how to do this in a previous video in the series, Godot 4 Navigation for 3D games, at 3:05. When making this tutorial, I forgot that some people may not be following along with the other videos, so I did not show how to add something to a group again. As to the velocity, looking at the code, we do need that line, as that is where the ghost follows the player we are trying to collide with. Technically you could call it something besides velocity to get rid of the error if it persists (as long as you also move and collide with this variable), but it works in mine as is.
@jordan4longshaw
2 ай бұрын
@@robinlambstudio Good to know about the groups! Yeah, I have to pull a hodgepodge of code together from everywhere to make it work lol. Took me a while to get the hang of Unity, the move to Godot is smoother, but plenty more out there for me to learn. Thanks for the advice on the var velocity as well
@robinlambstudio
2 ай бұрын
@@jordan4longshaw Thank you.
@foxyinspace1471
2 ай бұрын
thanks!
@robinlambstudio
2 ай бұрын
Thank you! Glad you found it helpful.
@foxyinspace1471
2 ай бұрын
@@robinlambstudio i just started godot literally yesterday with no coding experience and have been looking for tutorials.
@Lu-yx2vj
2 ай бұрын
Thank you so much for this tutorial!
@robinlambstudio
2 ай бұрын
@Lu-yx2vj Thank you! Glad you found it helpful.
@paulimriss
2 ай бұрын
Loved it, thanks!
@robinlambstudio
2 ай бұрын
@paulimriss Thank you! Glad you found it helpful.
@queworldwow6262
2 ай бұрын
Thank you so much
@robinlambstudio
2 ай бұрын
@queworldwow6262 Thank you! Glad you found it helpful.
@Dunkable
2 ай бұрын
I've got all sorts of lights now! Thank you
@robinlambstudio
2 ай бұрын
@Dunkable Thank you! Glad you found it helpful.
@friendlyfox2189
2 ай бұрын
Where is part 2?
@natriumhydrid
2 ай бұрын
Thanks, I had no idea that "input_event" signal existed on Area2D lol
@robinlambstudio
2 ай бұрын
@natriumhydrid Thank you! Glad you found it helpful.
@DanShalak
2 ай бұрын
Which version of godot is used in this tutorial? I have no IK chains in 4.2.2
@robinlambstudio
2 ай бұрын
Hello. I don't remember exactly which version I was using for this tutorial. I am using 4.2.2 now for my game, though, and it seems to work still, such as it does, anyway. As I mentioned in the video, Godot still needs some work with the 2d skeletons. I still have the IK chains in 4.2.2. I would check through the steps of adding the skeleton modification stack and the IK modifications and adding bones to that.
@lucaspawprint1888
2 ай бұрын
It says at the bottom right of the screen - 4.1
@marvinalberto7963
2 ай бұрын
its crazy how hard this looks in other videos. you actually helped me understand the subviewport node. Thank you!
@robinlambstudio
2 ай бұрын
Thank you! Glad you found it helpful.
@dreidgon
2 ай бұрын
Thank you so much, it helped me!
@robinlambstudio
2 ай бұрын
@dreidgon Thank you! Glad you found it helpful.
@timolawuyi1501
2 ай бұрын
Can you show us in a tutorial how Knockback works on enemies, nice tutorial too
@TentacleShark
2 ай бұрын
the head bone's connected to the~ rib bone~ the rib bone's connected to the~ leg bone~
@victorgustavo4366
2 ай бұрын
I speended my full monday to make a mob that follow de player (e.x., an object 3D follow another one in 3D World), but I can't do this to work. I make everything in your video Robin, but the debug shows a erro "Invalid get index 'global_transform' (on base: 'Nil')." I think is better change my game engine, because, in Unity, for exemple, this function "mob chase the player" works better.
@robinlambstudio
2 ай бұрын
Hello. On looking this up, I found that "invalid get index" usually happens if something has been incorrectly called, and the (on base: 'Nil') part means that the data can't be found for the global transform, which I think would be of the player that is being chased. So there is probably no data for the player character's position. You can try a print statement "print(hero.global_transform.origin)" to see what you are getting there (there should be the x, y, and z locations of the player). Just comment out the section where you are using the player's global transform first so that it will run first to see what you are getting there. Make sure that the player character is in the scene and has a position before calling that line. You could also check the line where you are referencing the player to make sure it is all spelled correctly, the player is in the group you are referencing and that they are both spelled the same way.
@victorgustavo4366
2 ай бұрын
@@robinlambstudio THX, I going to try this today.
@Xalkomak347
2 ай бұрын
Multiplying the rotation value by delta will allow it to be FPS independent
@Xalkomak347
3 ай бұрын
I have never been able to find any resources that explain how the advance expressions work. You are a gem among them.
@robinlambstudio
3 ай бұрын
@Xalkomak347 Thank you! Glad you found it helpful.
@GEMAGEMA-xr3rp
3 ай бұрын
Thanks for the nice video. Please provide the code
@igorras-ff7oe
3 ай бұрын
I was looking exactly for how to manage focus in other screens. That helped! Thank you!
@robinlambstudio
3 ай бұрын
@@igorras-ff7oe Thank you! Glad you found it helpful.
@Animaster10
3 ай бұрын
thank you for posting this!!!!! it's crazy how there's absolutely nothing in the docs for how to format these...
@robinlambstudio
3 ай бұрын
@@Animaster10 Thank you! Glad you found it helpful.
@will-iy9gu
3 ай бұрын
YOURE THE BEST!!!!!!!! i spent so long trying to figure this out, and you just showed me a great and easy way to do it. Thank you.
@robinlambstudio
3 ай бұрын
@@will-iy9gu Thank you! Glad you found the tutorial helpful.
@truenincillo805
3 ай бұрын
Please🙏🙏, tutorial, tree cutting, the tree shakes when cut, ((The tree will fall when it reaches the number of times required by the player's skill (cut) - ((example: small tree 2 to 5 times )), (and that the tree drops objects when the tree ends up falling and disappears)🙏🙏
@truenincillo805
3 ай бұрын
Game 2d
@robinlambstudio
3 ай бұрын
@@truenincillo805 I might make a tutorial on this in the future ( I don't know when, as I am working on other things). To implement this in your game, break it down into pieces. You would want an area on your trunk and detect when the axe or whatever hits the tree, then maybe shake the tree with an AnimationPlayer. Use a variable to store the amount of times cut, and you could also use variables to store the player skill level, size of tree, and use that to determine when the tree falls. You could make the tree fall with the animation player. Use a timer to know when the tree should disappear and make the sprite invisible. You could have Node2ds inside of your tree scene and use the locations of these to spawn your drops after the tree disappears.
@jasonwilliams8730
3 ай бұрын
👍
@Roh_studio
3 ай бұрын
Yes Clean clean !!
@pro-pb1cq
3 ай бұрын
I have error with Invalid get index 'rotetion' (on base: 'node3d'). what should I do?
@robinlambstudio
3 ай бұрын
@@pro-pb1cq Make sure that you are spelling rotation as "rotation" not "rotetion". I have looked up this error, and sometimes it occurs when the value is null when the scene loads. So if that is not the problem, check how you are referencing the FaceDirection node if you are doing it differently than I do in the video, if you are setting it to a variable or something instead of referencing it as $,FaceDirection.
@pro-pb1cq
3 ай бұрын
@@robinlambstudio i have done this but now i have error with Invalid type in function 'get_nodes_in_group' in base 'SceneTree'. Cannot convert arguument 1 from Nil to StringName.plese halp if you can
@robinlambstudio
3 ай бұрын
@@pro-pb1cq It thinks that the value for the group name is null apparently, and cannot change it to a string name. Do you have the group name "hero" or whatever you called it inside quotes like in the tutorial in the call group function? Check that line very carefully as that is probably where the problem is.
@rick-7850
3 ай бұрын
the heal potion work but it restore my health 100% no matter what value i type, can you help me?
@robinlambstudio
3 ай бұрын
Hello. In your restore_health function, add two print statements to see what the values of hit_points and health are after your if and else statements: print(hit_points) print(health) This will help you see if the correct value is coming in, and if the calculation of health is correct. If hit_points is not the correct value, check your call_group statement and make sure you have the correct amount there, and that it is not inside quotes since it is a number. Otherwise, check your calculation if ((hit_points + health) < 100: etc., because something is probably wrong there to make health always being set to 100.
@rick-7850
3 ай бұрын
@@robinlambstudio thank you so much i just started so im new to this kinda stuff
@kiyasuihito
3 ай бұрын
Most straightforward tutorial I've seen yet. I feel this is the way Godot intends to do d/n cycles.
@robinlambstudio
3 ай бұрын
Thank you! I hope they will add more options to it in the future, though, like a moon as well as sun and clouds.
@LindasheesStitches
3 ай бұрын
Thank you for this video! While initially I didn't really get what you were doing and felt like I was mind-numbingly copying, it did allow me to scrap my original idea of using an IBL with a gradient map. I also found very interesting how you generated the sun & moon directly in the shader with math, I kept them for now but potentially will replace them with 3D assets that have fresnel and glow. One thing I didn't want for my project was the stepped change you get with the full night & full day so I removed the conditionals to have a gradual change. I think with my change, dawn & dusk last proportionally too long, but I'll investigate later a way to do that, for now that suits me just fine :) If anybody else is interested , replace the whole paragraph of if else, else if else, with this : if (LIGHT0_DIRECTION.y > 0.0) { skyColor = mix(skyColorSunRiseSet,skyColorDay, LIGHT0_DIRECTION.y); } else { skyColor = mix(skyColorSunRiseSet, skyColorNight, abs(LIGHT0_DIRECTION.y)); }
@robinlambstudio
3 ай бұрын
Thank you! Glad you found it helpful.
@danielf.r.gordillo7514
4 ай бұрын
Can't replicate your workflow. IK breaks or starts spinning without control
@danielf.r.gordillo7514
4 ай бұрын
nevermind. Just upgraded to the latest build and all started to work properly (after that, I tried using other bones as targets and it works too!)
Пікірлер