I Made A Survivors Clone In Godot

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 88

  • @Jova
    @Jova 10 หลายเดือนก่อน +53

    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  10 หลายเดือนก่อน +20

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

    • @ChrisRamsey-v1m
      @ChrisRamsey-v1m 10 หลายเดือนก่อน +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 10 หลายเดือนก่อน

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

    • @luckyknot
      @luckyknot 10 หลายเดือนก่อน

      @@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 10 หลายเดือนก่อน

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

  • @broomob
    @broomob 10 หลายเดือนก่อน +18

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

    • @Cakez77
      @Cakez77  10 หลายเดือนก่อน +3

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

  • @TechAtScale
    @TechAtScale 9 หลายเดือนก่อน +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.

  • @jcen_
    @jcen_ 10 หลายเดือนก่อน +12

    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.

  • @bearwynn
    @bearwynn 8 หลายเดือนก่อน +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

  • @Road_to_Dawn
    @Road_to_Dawn 2 หลายเดือนก่อน

    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 11 หลายเดือนก่อน +5

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

    • @Cakez77
      @Cakez77  11 หลายเดือนก่อน +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

  • @fuzzy-02
    @fuzzy-02 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน +1

      lol well good luck on your game bro

    • @Sunny659
      @Sunny659 10 หลายเดือนก่อน

      halls of torment already exists

  • @Nyamistaya
    @Nyamistaya 11 หลายเดือนก่อน +5

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

    • @Cakez77
      @Cakez77  11 หลายเดือนก่อน

      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

  • @satrio_rivo
    @satrio_rivo 6 หลายเดือนก่อน

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

  • @kevinscales
    @kevinscales 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

      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 10 หลายเดือนก่อน

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

  • @airleks6494
    @airleks6494 11 หลายเดือนก่อน +4

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

    • @Cakez77
      @Cakez77  11 หลายเดือนก่อน

      xD

  • @tonymorgan602
    @tonymorgan602 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน +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

  • @brandonjacksoon
    @brandonjacksoon 9 หลายเดือนก่อน +2

    That was interesting! Liked and subscribed))

    • @Cakez77
      @Cakez77  9 หลายเดือนก่อน

      Awesome, thank you!

  • @quattro6842
    @quattro6842 3 หลายเดือนก่อน

    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.

  • @DamianCentkiewicz
    @DamianCentkiewicz 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

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

  • @mikefulli
    @mikefulli 10 หลายเดือนก่อน +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.

  • @MrChick1984
    @MrChick1984 10 หลายเดือนก่อน +4

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

    • @Cakez77
      @Cakez77  10 หลายเดือนก่อน +2

      Damn that's possible? Holy! Good to know

  • @MEMUNDOLOL
    @MEMUNDOLOL 8 หลายเดือนก่อน

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

  • @EricLefebvrePhotography
    @EricLefebvrePhotography 5 หลายเดือนก่อน

    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.

  • @danielbarlow1453
    @danielbarlow1453 7 หลายเดือนก่อน +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  7 หลายเดือนก่อน +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 7 หลายเดือนก่อน

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

  • @tiktokdailyreview7015
    @tiktokdailyreview7015 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

      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

  • @NeZversSounds
    @NeZversSounds 11 หลายเดือนก่อน +1

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

    • @Cakez77
      @Cakez77  11 หลายเดือนก่อน

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

  • @ArsentyevYaroslav
    @ArsentyevYaroslav 8 หลายเดือนก่อน +1

    Thats what chaos looks like 😅👍

    • @Cakez77
      @Cakez77  8 หลายเดือนก่อน

      Hey bro, I'm happy you like it

  • @user-du9ch3tn2v
    @user-du9ch3tn2v 7 หลายเดือนก่อน

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

  • @NeZversSounds
    @NeZversSounds 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน +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

  • @HansMilling
    @HansMilling 7 หลายเดือนก่อน

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

  • @torrescle
    @torrescle 23 วันที่ผ่านมา

    While Godot support C# I'll stick with it;

  • @ekagaurangadas
    @ekagaurangadas 9 หลายเดือนก่อน +1

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

    • @Cakez77
      @Cakez77  9 หลายเดือนก่อน

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

  • @CarbonTaxLOL
    @CarbonTaxLOL 7 หลายเดือนก่อน

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

  • @Lansamatv
    @Lansamatv 10 หลายเดือนก่อน

    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,

  • @Nyamistaya
    @Nyamistaya 11 หลายเดือนก่อน +1

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

    • @Cakez77
      @Cakez77  11 หลายเดือนก่อน

      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

  • @this-cris
    @this-cris 10 หลายเดือนก่อน

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

  • @TimelessGamingSoftware
    @TimelessGamingSoftware 3 หลายเดือนก่อน

    I’m sure he tried that

  • @Lansamatv
    @Lansamatv 10 หลายเดือนก่อน

    Can you make more game tutorials in GDSCRIPTS please?

  • @josepescina4360
    @josepescina4360 10 หลายเดือนก่อน +1

    YESSSSSSSSSSSSSSSS

    • @Cakez77
      @Cakez77  10 หลายเดือนก่อน

      My man!

  • @Huedini74
    @Huedini74 5 หลายเดือนก่อน +1

    Cool!

  • @feelSmoothie
    @feelSmoothie 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน

      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"

  • @tarekmustafa2525
    @tarekmustafa2525 5 หลายเดือนก่อน +1

    Schlitz Schlitz. LOL

  • @Kavukamari
    @Kavukamari 8 หลายเดือนก่อน

    SCHLITZ BOOM BOOM BOOM

  • @MEMUNDOLOL
    @MEMUNDOLOL 8 หลายเดือนก่อน

    text is so pixilated bcs u need to add a font

  • @mikelezhnin8601
    @mikelezhnin8601 10 หลายเดือนก่อน +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.

  • @RGHdrizzle
    @RGHdrizzle 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

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

    • @MrChick1984
      @MrChick1984 10 หลายเดือนก่อน +3

      Scriptable object == Resources in godot

  • @w5-denyo113
    @w5-denyo113 หลายเดือนก่อน

    nice

  • @matiturock
    @matiturock 9 หลายเดือนก่อน +1

    PUM PUM PUM! jajaj

    • @matiturock
      @matiturock 9 หลายเดือนก่อน +1

      th-cam.com/video/dPYRmzu0cgA/w-d-xo.html

  • @bambooozeld
    @bambooozeld 10 หลายเดือนก่อน +1

    Nice video #fürdenalgo

    • @Cakez77
      @Cakez77  10 หลายเดือนก่อน

      My man big support!

  • @Kavukamari
    @Kavukamari 8 หลายเดือนก่อน

    i agree programming in c++ is boring lol

  • @Andrew-px4on
    @Andrew-px4on 10 หลายเดือนก่อน +2

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

  • @chaosmachines934
    @chaosmachines934 3 หลายเดือนก่อน +1

    SLIZ