Making a 3D Minesweeper Game 💥

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • If you never played Minesweeper before, it’s a simple puzzle game, first released back in 1989. You clear a board by clicking little grey tiles. If you click on a hidden mine, you instantly blow up and lose.
    The game hasn’t really changed much in over 3 decades. This got me thinking - what would Minesweeper’s casual gameplay be like if it could be experienced from a 3D, first person perspective?
    To find out, I decided to hop into Unity and build the game from scratch.
    Now you can revisit an old classic in a new light! Play through 3 difficulty levels, each with its own peaceful environment. Sweep your board to clear all mines... just don't hit one!
    Gabriel's Channel: / @gabrielaguiarprod
    FREE GAME DOWNLOAD: tutmo.itch.io/...
    📺 Other Game Devlogs
    Donkey Defender: • How We Made Our First ...
    Jumping Beans: • Making a Couch Co-Op G...
    Minecraft Illager Raid: • I Made Minecraft, but ...
    Food Delivery Game: • Our First Game Jam
    🎮 Other Playable Games
    Donkey Defender: tutmo.itch.io/...
    Jumping Beans: tutmo.itch.io/...
    Minecraft Illager Raid: tutmo.itch.io/...
    Food Delivery Game: tutmo.itch.io/...
    ❤️ Subscribe: bit.ly/2XOcUXm
    😎 Join me!
    ● Discord: / discord
    ● Twitter: / tutmoyt
    ● Instagram: / tutmobuffet

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

  • @tutmo
    @tutmo  3 ปีที่แล้ว +3

    Thanks for watching! If you want more, check out the Minecraft Illager Battlefield game I recently made: th-cam.com/video/Smo1jUTLHaU/w-d-xo.html

  • @michaelzing1197
    @michaelzing1197 3 ปีที่แล้ว +11

    Made minesweeper like 4 years ago, to what I remember mines are generated when you first click, and it makes sure it never spawns near where you clicked. This just ensures that you have a nice start to work with when you play the game.

    • @tutmo
      @tutmo  3 ปีที่แล้ว +2

      Yes, you remember correctly! And it makes total sense, not sure how I completely missed that detail over the years. Only learned about it a few days ago when I posted the game in a Minesweeper subreddit and a couple kind folks provided feedback. 😄

  • @eddie.z
    @eddie.z 3 ปีที่แล้ว +2

    Great video! This is a great challenge and definitely gave me a new perspective on the game! Nice :)

    • @tutmo
      @tutmo  3 ปีที่แล้ว

      Hey, thank you!! It was a fun one to make 🙂

  • @StrangeIndeed
    @StrangeIndeed 3 ปีที่แล้ว +3

    Great video, as always. It's fascinating to see you improving your game development and editing skills. Keep up the good work c:

    • @tutmo
      @tutmo  3 ปีที่แล้ว

      Thanks so much! Really appreciate you watching my stuff :)

  • @Wondercool923
    @Wondercool923 2 ปีที่แล้ว +1

    Ok now I have the inspiration to create minesweeper in scratch, great video and cool explosions btw

    • @tutmo
      @tutmo  2 ปีที่แล้ว +1

      Haha, sounds fun! Glad you enjoyed it :)

  • @blackangusffxi
    @blackangusffxi 3 ปีที่แล้ว +3

    I gently tapped like, as instructed sir.

    • @tutmo
      @tutmo  3 ปีที่แล้ว

      Haha, it is greatly appreciated. Those like buttons are expensive.

  • @maryjohnson6761
    @maryjohnson6761 3 ปีที่แล้ว +1

    This is great! I love seeing all the steps you take, and you explain it well! I am able to follow even without knowledge of programming or game design. I am excited to see how this and your other ventures evolve!

    • @tutmo
      @tutmo  3 ปีที่แล้ว

      Thank you!! You’re just the best, Mary.

  • @katerio22
    @katerio22 3 ปีที่แล้ว +4

    yo this game is so fun to play!!!

    • @tutmo
      @tutmo  3 ปีที่แล้ว +1

      Awesome to hear! Really happy you like it :)

  • @SynthD
    @SynthD 4 หลายเดือนก่อน

    Question marks are for playing out hypotheticals to see if they can work or not. That way you can go back through and clear the question marks without getting them mixed up with flags which are known mines.

  • @RyanNGameDev
    @RyanNGameDev 3 ปีที่แล้ว +1

    Your videos are amazing! Loved this one.

    • @tutmo
      @tutmo  3 ปีที่แล้ว +1

      Wow, thanks for the kind words! Glad you enjoyed it!

  • @TylerGreen
    @TylerGreen 3 ปีที่แล้ว +2

    Great video and I definitely agree, a hammer is much more satisfying than a metal detector! Love how you made it without knowing how Minesweeper even worked to start haha. Question marks are used if you're not sure if it's a mine or not so it's a "I'll return to this later" type thing but ya, sort of useless. Also sweet explosion!

    • @tutmo
      @tutmo  3 ปีที่แล้ว +1

      Ahhh! The “I’ll return later” thing makes sense. I guess my gameplay style just isn’t that. I like smoothing out an area before moving on.

  • @akaruuidek9208
    @akaruuidek9208 2 ปีที่แล้ว +1

    Hey thats pretty awesome keep it up dude

    • @tutmo
      @tutmo  2 ปีที่แล้ว

      Thank you! Glad you enjoyed it :)

  • @koopa283
    @koopa283 ปีที่แล้ว +1

    0:39 Triple S Games, is that you?

  • @fabianklevenz4800
    @fabianklevenz4800 3 ปีที่แล้ว +1

    Dani would be proud of that explosion

    • @tutmo
      @tutmo  3 ปีที่แล้ว

      Haha, thanks 🙂 Dani is awesome!

    • @fabianklevenz4800
      @fabianklevenz4800 3 ปีที่แล้ว +1

      @@tutmo All hail the unity particle system

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

    2:28 did you add a code that checks if the tile is already a bomb so it doesn’t place multiple bombs on the same tile? A code like “place a bomb on the nth non-bomb tile” and have “number of non-bomb tiles left” will help. Loop every tile, place a bomb within a random number between 0 and “non-bomb tiles left”-1 (array ranges from 0 to length-1)

  • @IRLtwigstan
    @IRLtwigstan ปีที่แล้ว

    I use the question mark to show where a mine might be, also what is the algorithm to get some the squares to disappear after click?

  • @kronenapp2918
    @kronenapp2918 3 ปีที่แล้ว +2

    This interpretation of minesweeper looks interesting. I am guessing that you have a boxcollider/meshcollider for each tile...? I tried something similar and couldn`t handle the drop of the framerate having hundreds/thousends of colliders... , so I decided to use the very ground as the only collider. Getting the integer-rounded hit-point-position gave me the tile-indexes.
    Just out of curiosity:
    How did you save the mine positions?... tile-value?
    (An array existing of 10 positions?)
    An array[] of (10x10) elements?
    A boxed array[][]?
    A 2 dimensional array[ , ] ?
    An array in array array[array[]]?

    • @tutmo
      @tutmo  3 ปีที่แล้ว +1

      Hey, thanks! I basically did what you guessed - each tile has a box collider, but I didn’t experience a significant drop in frames even with the largest board option, and my laptop is nearly 10 years old. Maybe b/c they’re all set to discrete and I only reference them using a raycast. The raycast hit sets the black highlighter and “slots” the current tile. If the player clicks, it checks whether or not it’s a mine, then loops through all adjacent tiles to check for any nearby mines.
      I “save” mines simply by setting a bool (isMine) to true or false when the board is created. After all tiles are spawned, it just creates random numbers to select a tile by child index (all tiles are under the same parent GameObject). If the selected child tile is not already a mine, it’s then set to one. This repeats until all mines are placed. Not saying this was the most efficient approach at all, but I didn’t run into any major performance issues. Hope all that made sense, haha!

  • @orinfahey9182
    @orinfahey9182 3 ปีที่แล้ว +1

    ? in minesweper are tiles can't decide to click or to flag

  • @kosmotion2081
    @kosmotion2081 ปีที่แล้ว +1

    “Please drop a gentle tap on the like below”
    I was gonna smash it with a hammer 😩

  • @21wahyubahriirsandy13
    @21wahyubahriirsandy13 4 หลายเดือนก่อน

    Can i get unity files?

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

    They already made 3D one
    Heck, they eveb made 4D one

  • @Door_Dude
    @Door_Dude 3 ปีที่แล้ว +1

    Door

    • @tutmo
      @tutmo  3 ปีที่แล้ว

      Thanks

  • @mynameisjustt
    @mynameisjustt 3 ปีที่แล้ว +1

    Bruh you didn't know what the numbers were? This is embarrassing, you should be embarrassed.

    • @tutmo
      @tutmo  3 ปีที่แล้ว

      Nope 😔