Saving and Loading Tilemaps - Unity Tutorial

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

КОМЕНТАРІ • 14

  • @ManjeetKumar-xk8jf
    @ManjeetKumar-xk8jf 3 роки тому +3

    Quality of content increasing day by day.

  • @jimkincaidz
    @jimkincaidz 3 роки тому

    Love the new 3D tiles on your wall. Tilemaps everywhere! Lol

    • @VelvaryGames
      @VelvaryGames  3 роки тому +1

      Haha thank you. But you are right, now I will always look at them like tilemaps :D

  • @Chris-zb5nm
    @Chris-zb5nm 3 роки тому

    Nice tutorial. Thanks

  • @ezoray
    @ezoray 3 роки тому

    This will come in useful, so thank you again. Incidentally, should this be titled Part 5 in the series?

    • @VelvaryGames
      @VelvaryGames  3 роки тому +2

      Glad to hear :)
      No it's not part 5. Part 5 will have some different content, but this is just loosely connected to the series and does not directly build up on, so it's titled differently.

  • @MidnightSkyGD
    @MidnightSkyGD 2 роки тому

    I have a silly question. I do ask those a lot... But, in my learning, I have learned to do function names as PascalCase. I even think in the previous videos you were doing this. In this video you started to use camelCase for functions like initTilemaps, onSave, and onLoad. I was wondering if there was a reason, or is that just your preference? I am sorry for the silly question that really has nothing to do with the video. Thank you. Keep up the amazing videos.

    • @VelvaryGames
      @VelvaryGames  2 роки тому +1

      Hehe, yeah, don't worry. The camelCase in this video was an accident. So in C# it's fine to start methods with an uppercase. I sometimes mess stuff up when I coded a lot in JavaScript before, where you don't do this. I actually even fix this in one of my "Fixing Tutorials" for this video.

    • @MidnightSkyGD
      @MidnightSkyGD 2 роки тому

      @@VelvaryGames I have a bad habit of trying to follow all the suggested naming conventions and things like that. Like, I am probably one of the few people that are doing Unity that still use the underscore for private variables. I notice not many people do that, and that is just something that has stuck with me since learning C#, but to be honest, it doesn't matter, and I know that. I am the only one working on the project, so no one is going to tell me I am doing it wrong. :P You are fine, I was just curious. Thank you.

    • @CrAzYpotpie
      @CrAzYpotpie Рік тому +1

      @@MidnightSkyGD It is all personal preference on what works best for you to understand quickly and proficiently. The only time it really matters for you to be hyper vigilant about it is if you have an employer or group projects with strict guidelines on syntax and naming conventions. You are not one of the few people to underscore before private variables. I still use Hungarian notation and camel case. So I always write out everything, e.g. of variables (private int m_iValue, public Vector 3 m_vec3ObjectPosition,) etc.

  • @VelvaryGames
    @VelvaryGames  2 роки тому

    I recommend you to watch the updated version: ua-cam.com/video/2S6q9ykTmy0/v-deo.html
    In some cases Unity changes the instanceIDs which will break the loading part. If you have any problems watch the update or check out the latest code in the GitHub repo 🙂

  • @syedaalena7902
    @syedaalena7902 2 роки тому

    Can you plz help me out in making player score history I saw the vdeo im confused

  • @NikicaVaradi
    @NikicaVaradi 2 роки тому

    I have 692850 tiles. :) Let's try