How to Create a MAP for your game | Unity Tutorial

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

КОМЕНТАРІ •

  • @iiropeltonen
    @iiropeltonen Рік тому +5

    Very interesting. Especially the revealing rooms functionality.

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

    this video was a lifesaver, thanks for always explaining concepts like these in the most digestable ways

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

    Its like you know what i plan to work on next every time u release a video xD thank you so much!

  • @seblambert1
    @seblambert1 Рік тому +2

    Very good tutorial! I started listening to your videos 1 months ago and learned a lot. Your journey to create a video game studio is also very inspiring. I think you have the quality needed to succeed in running a succesful business. Keep up the good work.

  • @Taibot
    @Taibot Рік тому +2

    Awesome i will put it in my playlist. Thanks for that!

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

    Fantastic as usual! Thanks

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

    Well explained video.
    Technically though, that's quite a bit of data being processed for someting that on a data level is an array of bits.

  • @VoidShadow66
    @VoidShadow66 Рік тому

    I like the video and the idea. I respect you, Sasquatch, for a high-based knowledges of c#.
    I am making my game , i am good in Art, but i not even close to your level of Code understanding. For me - Code is like Language of Aliens from Distant Planets.

  • @MattiaBelletti
    @MattiaBelletti Рік тому

    Fun thing: this system would not work on hollow knight because the geometry of the rooms themselves are not consistent (there are multiples overlaps)!

  • @SaphireDO
    @SaphireDO 18 днів тому

    Hello, how do i make minimap not fixed on player? How do i make minimap show entire map.

  • @alif-fgd
    @alif-fgd Рік тому

    Great video!
    Any tips on how to achieve a more precise way of revealing the map, like just revealing areas that the player explored in rooms that are bigger/more complex?

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

      The best way would likely be to break one room into multiple regions. Then, instead of revealing on scene transition, you'd likely want to use triggers and colliders for those regions.
      Another thing you may want to consider adding would be some kind of fog of war overlay to the region borders. I'm guessing this would probably be done via shaders, but I haven't done research on using shaders in this way.

  • @MrOmega-cz9yo
    @MrOmega-cz9yo Рік тому

    Out of curiosity, for the large map, why not just zoom in the map camera and change the background transparency? After all, you made the minimap 1920 x 1080 and then zoomed the camera out. Seems to me that would be simpler. Or am I missing something?

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

    Nice

  • @rubpty
    @rubpty Рік тому

    Hi Brandon. I use the same approach as you for my map. I'm still looking for a proper way to dynamically reveal the map when inside the same scene. In your example, the scenes were just small rooms, but if we have larger scenes, it's more likely that we wouldn't want to reveal the entire map onSceneLoad. There's a way to do it using Clear Flags, but when using the 2D Renderer, there's no Clear Flag option on the Camera. If you happen to find a solution for this, it would be great to see a follow-up tutorial. Thanks!

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

      You can create textures at runtime and set their pixel values. So you could have two texures, one that contains the fully revealed map and one that contains nothing. And when your player moves around on the map, you copy all pixels around the player from the revealed map to the empty texture. It's kinda like fog of war works in old RTS games.

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

      @sealsharp, a very interesting approach. I'm not sure about the process of copying all the pixels around the player from the revealed map to the empty texture, but it seems like something I can explore further. Thank you!

    • @sealsharp
      @sealsharp Рік тому

      @@rubpty good luck ;-)

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

    how can i save the loaded level with json?

  • @hldfgjsjbd
    @hldfgjsjbd Рік тому +2

    Maintaining this will be a hell, and doesn’t scale well.

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

      What would be a better alternative?

    • @hldfgjsjbd
      @hldfgjsjbd Рік тому

      @@moshecristel Another tutorial

    • @moshecristel
      @moshecristel Рік тому +3

      @@hldfgjsjbd Thanks, but not helpful

  • @Coco-gg5vp
    @Coco-gg5vp Рік тому +3

    First