I Made A Survivors Clone In Godot

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 87

  • @Jova
    @Jova 9 місяців тому +51

    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.

    • @Cakez77
      @Cakez77  9 місяців тому +19

      I wish I knew this back then, it actually works lol

    • @ChrisRamsey-v1m
      @ChrisRamsey-v1m 9 місяців тому +3

      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 :(

    • @sunofabeach9424
      @sunofabeach9424 9 місяців тому

      says a lot about stability of a game engine. "restart it and the problem is hopefully gone"

    • @luckyknot
      @luckyknot 9 місяців тому

      @@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.

    • @androidleeno7172
      @androidleeno7172 9 місяців тому

      It happens to me when i open a lot of scene tabs

  • @jcen_
    @jcen_ 9 місяців тому +11

    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.

  • @broomob
    @broomob 9 місяців тому +16

    this is wild, Ive been struggling with the multiple weapons thing for a couple days. what a lifesaver!

    • @Cakez77
      @Cakez77  9 місяців тому +2

      Yeah, what a mess that was lol. Dictionaries are cool

  • @Road_to_Dawn
    @Road_to_Dawn Місяць тому

    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!

  • @MrElmida
    @MrElmida 9 місяців тому +5

    Für den Algorithmus. + Nice video, I liked the pacing and the overall cutting style.

    • @Cakez77
      @Cakez77  9 місяців тому +1

      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

  • @bearwynn
    @bearwynn 7 місяців тому +1

    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

  • @TechAtScale
    @TechAtScale 7 місяців тому +4

    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.

  • @kevinscales
    @kevinscales 9 місяців тому +3

    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

    • @Cakez77
      @Cakez77  9 місяців тому

      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.

    • @kevinscales
      @kevinscales 9 місяців тому

      @@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.

  • @ekagaurangadas
    @ekagaurangadas 7 місяців тому +1

    You don't use git? That could help seeing the problem with the corrupt scenes.

    • @Cakez77
      @Cakez77  7 місяців тому

      I do actually but it doesn't help with this problem. It's a script reference error as I have found out lately

  • @fuzzy-02
    @fuzzy-02 9 місяців тому +9

    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

    • @Cakez77
      @Cakez77  9 місяців тому +1

      lol well good luck on your game bro

    • @Sunny659
      @Sunny659 9 місяців тому

      halls of torment already exists

  • @MrChick1984
    @MrChick1984 9 місяців тому +4

    I would recommend you to enable static typing for the GD script. You can do it in the editor settings.

    • @Cakez77
      @Cakez77  9 місяців тому +2

      Damn that's possible? Holy! Good to know

  • @Nyamistaya
    @Nyamistaya 9 місяців тому +5

    Cool video, I hope there will be more Godot videos in the future

    • @Cakez77
      @Cakez77  9 місяців тому

      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

  • @user-du9ch3tn2v
    @user-du9ch3tn2v 5 місяців тому

    I think ui should be done with the ui nodes. Use the ancor options and stack them, for better scaling and usability.

  • @airleks6494
    @airleks6494 9 місяців тому +4

    05:05 Schlitz Schlitz Schlitz. So Geil! :D

  • @EricLefebvrePhotography
    @EricLefebvrePhotography 3 місяці тому

    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.

  • @CarbonTaxLOL
    @CarbonTaxLOL 6 місяців тому

    How did you get assets for this game,
    Did you make them,
    Could you make a tutorial on how you got these assets?

  • @NeZversSounds
    @NeZversSounds 9 місяців тому +1

    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.

    • @Cakez77
      @Cakez77  9 місяців тому +1

      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

  • @tonymorgan602
    @tonymorgan602 9 місяців тому +2

    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 :)

    • @Cakez77
      @Cakez77  9 місяців тому +1

      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

  • @mikefulli
    @mikefulli 9 місяців тому +1

    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.

  • @tarekmustafa2525
    @tarekmustafa2525 3 місяці тому +1

    Schlitz Schlitz. LOL

  • @Lansamatv
    @Lansamatv 9 місяців тому

    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,

  • @NeZversSounds
    @NeZversSounds 9 місяців тому +1

    with godot you can make 100% procedural and generate anything with code.

    • @Cakez77
      @Cakez77  9 місяців тому

      Yeah I saw a video where some pair made an entire game with less than 10 lines of code or something

  • @Nyamistaya
    @Nyamistaya 9 місяців тому +1

    I had a similar problem with files once, but it was due to a git problems

    • @Cakez77
      @Cakez77  9 місяців тому

      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

  • @DamianCentkiewicz
    @DamianCentkiewicz 9 місяців тому +1

    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.

    • @Cakez77
      @Cakez77  9 місяців тому

      So far noone really came up with a permanent good solution. So this should be fixed by them

  • @w5-denyo113
    @w5-denyo113 14 годин тому

    nice

  • @brandonjacksoon
    @brandonjacksoon 8 місяців тому +2

    That was interesting! Liked and subscribed))

    • @Cakez77
      @Cakez77  7 місяців тому

      Awesome, thank you!

  • @MEMUNDOLOL
    @MEMUNDOLOL 6 місяців тому

    text is so pixilated bcs u need to add a font

  • @Kavukamari
    @Kavukamari 6 місяців тому

    SCHLITZ BOOM BOOM BOOM

  • @fartmerchant
    @fartmerchant 9 місяців тому +3

    you could also use custom resources for different weapons (similar to scriptable objects in unity)
    I'm interested in doing the weapon animations through code instead of the animator, can anyone recommand a good tutorial?

    • @ChrisRamsey-v1m
      @ChrisRamsey-v1m 9 місяців тому +2

      Tweens! You can tween basically any property. I'm loving them.

  • @feelSmoothie
    @feelSmoothie 9 місяців тому +1

    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#?

    • @Cakez77
      @Cakez77  9 місяців тому

      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"

  • @Kavukamari
    @Kavukamari 6 місяців тому

    i agree programming in c++ is boring lol

  • @MEMUNDOLOL
    @MEMUNDOLOL 6 місяців тому

    i had the issue with constantly corrupted scenes in the project once, the only thing helped was migrating everything into new blank project

  • @quattro6842
    @quattro6842 2 місяці тому

    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.

  • @TimelessGamingSoftware
    @TimelessGamingSoftware Місяць тому

    I’m sure he tried that

  • @HansMilling
    @HansMilling 6 місяців тому

    I never get this error, they must have fixed it.

  • @danielbarlow1453
    @danielbarlow1453 6 місяців тому +1

    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.

    • @Cakez77
      @Cakez77  6 місяців тому +1

      Hey bro thanks for the help.
      The question ist tho, why is this not fixed already? This error is the worst for new users

    • @danielbarlow1453
      @danielbarlow1453 5 місяців тому

      @@Cakez77 Honestly, I wonder the same thing...

  • @satrio_rivo
    @satrio_rivo 5 місяців тому

    Using the function in [AnimationPlayer]...
    That's new, haven't thought of using that in my project.
    Thanks for the video!

  • @Lansamatv
    @Lansamatv 9 місяців тому

    Can you make more game tutorials in GDSCRIPTS please?

  • @josepescina4360
    @josepescina4360 9 місяців тому +1

    YESSSSSSSSSSSSSSSS

  • @Huedini74
    @Huedini74 4 місяці тому +1

    Cool!

  • @ArsentyevYaroslav
    @ArsentyevYaroslav 7 місяців тому +1

    Thats what chaos looks like 😅👍

    • @Cakez77
      @Cakez77  7 місяців тому

      Hey bro, I'm happy you like it

  • @this-cris
    @this-cris 9 місяців тому

    What is the repo that you are showing at 17:16 ?

  • @matiturock
    @matiturock 8 місяців тому +1

    PUM PUM PUM! jajaj

    • @matiturock
      @matiturock 8 місяців тому +1

      ua-cam.com/video/dPYRmzu0cgA/v-deo.html

  • @mikelezhnin8601
    @mikelezhnin8601 9 місяців тому +1

    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.

  • @bambooozeld
    @bambooozeld 9 місяців тому +1

    Nice video #fürdenalgo

    • @Cakez77
      @Cakez77  9 місяців тому

      My man big support!

  • @tiktokdailyreview7015
    @tiktokdailyreview7015 9 місяців тому +2

    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

    • @Cakez77
      @Cakez77  9 місяців тому

      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

  • @RGHdrizzle
    @RGHdrizzle 9 місяців тому +1

    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

    • @Cakez77
      @Cakez77  9 місяців тому

      Hey glad you like it, good luck on your project. And yeah just try things out, you learn the most that way

    • @MrChick1984
      @MrChick1984 9 місяців тому +3

      Scriptable object == Resources in godot

  • @Andrew-px4on
    @Andrew-px4on 9 місяців тому +2

    It's pronounced like the movie / French pronunciation (Guh-doh)

  • @chaosmachines934
    @chaosmachines934 2 місяці тому +1

    SLIZ