For anyone who experiences the invalid scene error: In my experience, restarting Godot is all that needs to be done. It happens frequently in my projects, often with the same scene, but I've never had to remake a scene or do anything special.
This doesn't work for me, but seems to be related to some kind of recursive reference where node A requires node B and also the opposite. I haven't figured out exactly the case, but I don't seem to experience it until I start doing lots of exports between nodes. I keep starting new projects and keep running into it :(
For anyone who experiences the invalid scene error: This was fixed in the latest 4.2.X. Renaming the file & then naming it back would have also solved it.
I don't know if you figured it out in the end but I think godot's project creator is pretty simple and straightforward. I just put the game name ("vampire survivors clone no. 14" or something) in the "Project Name:" field and project path is just the folder where you store your game projects (for me "D:/GameDev Projects") then I click the "Create Folder" button and "Create & Edit" and it's done. But renaming and moving files is still kind of bad and those invalid scene errors can sometimes be a real pain in the butt.
the thing with the enemy pushing you was funny to me because right above your face is the box for collision layers and collision masking which would have easily solved your problem
This is awesome! I’ve been wanting to make a survivors clone for a long time now, and finally downloaded godot just a few days ago and started on it. I also created an animation for my character, and while it could be better, it’s the first time I’ve ever made an animation for anything, and I’m very proud of myself. I might have to reference this video now and then to learn how to do things I’m stuck on!
This can't be real. I was literally thinking all day of the technicalities of a survivors game and how they might translate to Godot. Your video literally came out like 4h ago. Thank you
ease() is the function you where looking for. There is also smoothstep(), lerp() [+ type safe versions: lerpf(), Vector2.lerp() etc], inverse_lerp() also remap() See also Curve (for arbitrary curves defined by points on the curve) and Gradiant (for interpolating between colors in a particular color space) .tscn files are text files, maybe open it in a text editor to see if there is a problem? Maybe click Scene->Quit when quitting? I have no clue
Thats interesting, but ease(), what type of ease are we talking about? for example linear ease is x, but quadratic ease is x*x, just "ease()" wont be enough. We actually opened the .tscn file to have a look and found that is a referenced script could have been the problem. But I couldn't fix it.
@@Cakez77 check the ease() documentation, the second argument defines the exponent [ease(x,2) for x*x], the documentation also links to a cheat sheet for the possible curves.
Hey, great video. It was really entertaining and I really felt your highs and your lows. The only time I have ever had an kind of issue with invalid/corrupt scenes has been when I've done something dodgy like duplicating existing scenes but I've been using Godot for years and I've had that issue 2 or 3 times. However, I do Its nothing to do with how you shut down the app. To me it feels like you may be doing something a little quirky in how you create your scene perhaps. I'll try and find a stream and see if I can see anything suspicious. Anyway, great video :)
Glad you like the video bro thanks Interesting, duplication shouldn't break the scene tho lol. I also noticed that just restarting godot fixes the issue. Still confusing for newcomers
The problem you are encountering with corrupted scenes are probably caused by circular dependencies. In your lighting_strike scene if you save in a variable the reference of scene (like the player) that contains a reference to the lightning_strike you create a circular dependency.
For delaying I recommend a using await with a timer. I'm using this for delaying enable an Area2D for attack in right time of the animation: "await get_tree().create_timer(.1).timeout" Timer is deleting by the engine after timeout. _physics_process using only if you updating a velocity or other inbuild physics elements. For the everything else use a _process. For the unavailable scene I had similar problem with an old nodes (deleted) in my plugin because engine was trying a find these and somehow I fixed this by moving lines and I still don't understanding this. So maybe engine is trying to add this scene before loaded. You can try close an all scenes in game engine befeor quit from him.
The problem is Godot gets a little wonky when saving the .tscn file. When you fix it, I'm betting money you didn't save and close it, so it remembers your edits but continues to perpetuate the load_steps error. I wish Godot had a way of re-scanning the file if this happens. To get around it, follow my comment in response to Jova.
For those invalid scenes: moving and renaming file are encouraged to be done in editor to so that scene depending on it are also updated, in that case dependancies are missing you can easily resolve in godot filesystem by right click on scene/resource and edit edit dependencies...but this case likely it is a recent bug I have also found it it very hard to replicate restarting godot or deleting the .godot folder sometimes helps
I did use the editor exclusively but still got the error. You are right however that restarting is all you need lol. Just tested it, I wish I knew this before lol
For those invalid scenes error - could it be that you moved some files around without explicitly using "move to" dropdown method? I know it's kind of dumb. Renaming or moving folders breaks stuff in general.
Hmm I only remember that I created the assets folder for sprites, but I kept the scenes in the root folder. Kinda stupid that you have to use a dropdown menu tho. That should be improved
new subscriber I love how you do these tutorials, you can continue making more clones like this, and when you can one clone of 8 poll ball from miniclip the pool game for android with multiplayer please ❤ but do it in tutorial mode more detailed each part , it can be done in parts,
Well C# has no editor support, so you have to google the documentation yourself. Additionally I don't think the "hot reloading" feature doesn't work as great. But don't quote me on that. So it's your descision if you want to go for it. Taken from Google: "C# integration is newer. As the language wasn't specifically designed to work with Godot, some code you write will be a bit more talkative. It is however the overall more mature and well designed language. You will find magnitudes more guides on how to write C# than GdScript, but not specifically for C# in Godot"
two points of somewhat harsh critique: 1) just asking "have you seen this" and flaming does not sound productive - link the repo with the game so people can check if they get that corrupted instance error or not 2) as the chat correctly said, and as you might have noticed, making UI attached to character camera not only can cause it to be off-center, but also makes in-game objects be drawn ob top of your UI, which you never want to happen.
Unity has a good feature called scriptable objects. This makes it easy to have multiple weapons and other items. I think if godot has something similar to that , it would have have been easier for u. Anyways great video , I was planning to make a survival horde game and ur video inspired me to start developing instead of learning things first on a separate project and then work on the game but I believe learning while building the project is what makes it fun. Thank you
For anyone who experiences the invalid scene error: In my experience, restarting Godot is all that needs to be done. It happens frequently in my projects, often with the same scene, but I've never had to remake a scene or do anything special.
I wish I knew this back then, it actually works lol
This doesn't work for me, but seems to be related to some kind of recursive reference where node A requires node B and also the opposite. I haven't figured out exactly the case, but I don't seem to experience it until I start doing lots of exports between nodes. I keep starting new projects and keep running into it :(
says a lot about stability of a game engine. "restart it and the problem is hopefully gone"
@@ChrisRamsey-v1m it has happened to me i few times when i happen to change the type of the parent node and it has quite a few children.
It happens to me when i open a lot of scene tabs
this is wild, Ive been struggling with the multiple weapons thing for a couple days. what a lifesaver!
Yeah, what a mess that was lol. Dictionaries are cool
For anyone who experiences the invalid scene error: This was fixed in the latest 4.2.X. Renaming the file & then naming it back would have also solved it.
I don't know if you figured it out in the end but I think godot's project creator is pretty simple and straightforward. I just put the game name ("vampire survivors clone no. 14" or something) in the "Project Name:" field and project path is just the folder where you store your game projects (for me "D:/GameDev Projects") then I click the "Create Folder" button and "Create & Edit" and it's done. But renaming and moving files is still kind of bad and those invalid scene errors can sometimes be a real pain in the butt.
the thing with the enemy pushing you was funny to me because right above your face is the box for collision layers and collision masking which would have easily solved your problem
This is awesome! I’ve been wanting to make a survivors clone for a long time now, and finally downloaded godot just a few days ago and started on it. I also created an animation for my character, and while it could be better, it’s the first time I’ve ever made an animation for anything, and I’m very proud of myself. I might have to reference this video now and then to learn how to do things I’m stuck on!
Für den Algorithmus. + Nice video, I liked the pacing and the overall cutting style.
Holy fking shit man. Thank you so much for the crazy high tip. I don't know what to sad, thank you! Danke man! Das ist mega großzügig
This can't be real. I was literally thinking all day of the technicalities of a survivors game and how they might translate to Godot.
Your video literally came out like 4h ago.
Thank you
lol well good luck on your game bro
halls of torment already exists
Cool video, I hope there will be more Godot videos in the future
Glad you like it bro, and yeah I will make another game in Godot for sure. I had a lot of fun, not sure what game yet to
Using the function in [AnimationPlayer]...
That's new, haven't thought of using that in my project.
Thanks for the video!
ease() is the function you where looking for.
There is also smoothstep(), lerp() [+ type safe versions: lerpf(), Vector2.lerp() etc], inverse_lerp() also remap()
See also Curve (for arbitrary curves defined by points on the curve) and Gradiant (for interpolating between colors in a particular color space)
.tscn files are text files, maybe open it in a text editor to see if there is a problem? Maybe click Scene->Quit when quitting? I have no clue
Thats interesting, but ease(), what type of ease are we talking about? for example linear ease is x, but quadratic ease is x*x, just "ease()" wont be enough.
We actually opened the .tscn file to have a look and found that is a referenced script could have been the problem. But I couldn't fix it.
@@Cakez77 check the ease() documentation, the second argument defines the exponent [ease(x,2) for x*x], the documentation also links to a cheat sheet for the possible curves.
05:05 Schlitz Schlitz Schlitz. So Geil! :D
xD
Hey, great video. It was really entertaining and I really felt your highs and your lows. The only time I have ever had an kind of issue with invalid/corrupt scenes has been when I've done something dodgy like duplicating existing scenes but I've been using Godot for years and I've had that issue 2 or 3 times. However, I do Its nothing to do with how you shut down the app. To me it feels like you may be doing something a little quirky in how you create your scene perhaps. I'll try and find a stream and see if I can see anything suspicious. Anyway, great video :)
Glad you like the video bro thanks
Interesting, duplication shouldn't break the scene tho lol. I also noticed that just restarting godot fixes the issue. Still confusing for newcomers
That was interesting! Liked and subscribed))
Awesome, thank you!
The problem you are encountering with corrupted scenes are probably caused by circular dependencies.
In your lighting_strike scene if you save in a variable the reference of scene (like the player) that contains a reference to the lightning_strike you create a circular dependency.
For delaying I recommend a using await with a timer. I'm using this for delaying enable an Area2D for attack in right time of the animation: "await get_tree().create_timer(.1).timeout" Timer is deleting by the engine after timeout.
_physics_process using only if you updating a velocity or other inbuild physics elements. For the everything else use a _process.
For the unavailable scene I had similar problem with an old nodes (deleted) in my plugin because engine was trying a find these and somehow I fixed this by moving lines and I still don't understanding this. So maybe engine is trying to add this scene before loaded. You can try close an all scenes in game engine befeor quit from him.
So far noone really came up with a permanent good solution. So this should be fixed by them
Did you use splitting from main scene to create all the other scenes? I create new scenes from scratch and have not got invalid scene error yet.
I would recommend you to enable static typing for the GD script. You can do it in the editor settings.
Damn that's possible? Holy! Good to know
i had the issue with constantly corrupted scenes in the project once, the only thing helped was migrating everything into new blank project
For the damage numbers, I probably would have done that wiht a particle emiter maybe? I'm just starting with GODOT myself so maybe that's stupid.
The problem is Godot gets a little wonky when saving the .tscn file. When you fix it, I'm betting money you didn't save and close it, so it remembers your edits but continues to perpetuate the load_steps error. I wish Godot had a way of re-scanning the file if this happens. To get around it, follow my comment in response to Jova.
Hey bro thanks for the help.
The question ist tho, why is this not fixed already? This error is the worst for new users
@@Cakez77 Honestly, I wonder the same thing...
For those invalid scenes: moving and renaming file are encouraged to be done in editor to so that scene depending on it are also updated, in that case dependancies are missing you can easily resolve in godot filesystem by right click on scene/resource and edit edit dependencies...but this case likely it is a recent bug I have also found it it very hard to replicate restarting godot or deleting the .godot folder sometimes helps
I did use the editor exclusively but still got the error. You are right however that restarting is all you need lol. Just tested it, I wish I knew this before lol
with godot you can make 100% procedural and generate anything with code.
Yeah I saw a video where some pair made an entire game with less than 10 lines of code or something
Thats what chaos looks like 😅👍
Hey bro, I'm happy you like it
I think ui should be done with the ui nodes. Use the ancor options and stack them, for better scaling and usability.
For those invalid scenes error - could it be that you moved some files around without explicitly using "move to" dropdown method? I know it's kind of dumb.
Renaming or moving folders breaks stuff in general.
Hmm I only remember that I created the assets folder for sprites, but I kept the scenes in the root folder. Kinda stupid that you have to use a dropdown menu tho. That should be improved
I never get this error, they must have fixed it.
While Godot support C# I'll stick with it;
You don't use git? That could help seeing the problem with the corrupt scenes.
I do actually but it doesn't help with this problem. It's a script reference error as I have found out lately
How did you get assets for this game,
Did you make them,
Could you make a tutorial on how you got these assets?
new subscriber I love how you do these tutorials, you can continue making more clones like this, and when you can one clone of 8 poll ball from miniclip the pool game for android with multiplayer please ❤
but do it in tutorial mode more detailed each part , it can be done in parts,
I had a similar problem with files once, but it was due to a git problems
Hmm okay, glad to hear I'm not the only one that has issues but sadly It was not related to git. It happened with and without git
What is the repo that you are showing at 17:16 ?
I’m sure he tried that
Can you make more game tutorials in GDSCRIPTS please?
YESSSSSSSSSSSSSSSS
My man!
Cool!
Good job, it would be nice to stress test Godot with this project. GDScript, C# is it worth the extra step to go for C#?
Well C# has no editor support, so you have to google the documentation yourself. Additionally I don't think the "hot reloading" feature doesn't work as great. But don't quote me on that. So it's your descision if you want to go for it. Taken from Google:
"C# integration is newer. As the language wasn't specifically designed to work with Godot, some code you write will be a bit more talkative. It is however the overall more mature and well designed language. You will find magnitudes more guides on how to write C# than GdScript, but not specifically for C# in Godot"
Schlitz Schlitz. LOL
SCHLITZ BOOM BOOM BOOM
text is so pixilated bcs u need to add a font
two points of somewhat harsh critique:
1) just asking "have you seen this" and flaming does not sound productive - link the repo with the game so people can check if they get that corrupted instance error or not
2) as the chat correctly said, and as you might have noticed, making UI attached to character camera not only can cause it to be off-center, but also makes in-game objects be drawn ob top of your UI, which you never want to happen.
Unity has a good feature called scriptable objects. This makes it easy to have multiple weapons and other items. I think if godot has something similar to that , it would have have been easier for u.
Anyways great video , I was planning to make a survival horde game and ur video inspired me to start developing instead of learning things first on a separate project and then work on the game but I believe learning while building the project is what makes it fun. Thank you
Hey glad you like it, good luck on your project. And yeah just try things out, you learn the most that way
Scriptable object == Resources in godot
nice
PUM PUM PUM! jajaj
th-cam.com/video/dPYRmzu0cgA/w-d-xo.html
Nice video #fürdenalgo
My man big support!
i agree programming in c++ is boring lol
It's pronounced like the movie / French pronunciation (Guh-doh)
SLIZ