How to make Minesweeper in Unity (Complete Tutorial) 💣🏳️
Learn to make the classic 2D puzzle game Minesweeper in Unity. Minesweeper is a single-player puzzle game that originated in the 1960s. The objective of the game is to clear a rectangular board containing hidden “mines“ or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field.
00:00 - Intro
00:55 - Project Creation
01:56 - Importing Sprites
04:18 - Scene Setup
06:21 - Data Structure
11:16 - Tile Creation
14:09 - Game Board
29:13 - Cells
37:52 - Mines
43:27 - Numbers
52:22 - Flagging
01:00:21 - Revealing
01:03:03 - Flooding
01:09:38 - Exploding
01:16:46 - Win State
01:23:42 - Outro
🖥️ View the source code:
❤️ Support my work on Patreon:
👍 Subscribe for more Unity tutorials:
💬 Join the community Disc
17 views
123
30
5 days ago 00:03:47 1
SCOOTER - HOW MUCH IS THE FISH (Metal cover)
1 week ago 00:20:57 1
Incredible Discovery In The Grand Canyon? - YouTube
1 week ago 00:29:11 1
Interview with Valentin Kozlov, Valmix Company | Potato Tour Across Russia (Part 2) 🥔🚜
1 week ago 00:57:54 1
Lost In Time : The Isolated House Where She Lost Her Mind | How I Find Abandoned Placess
1 week ago 01:01:39 1
TIME SLIP STORIES (SN 18 EP 38) TRUE UNEXPLAINABLE EXPERIENCES WITH MISSING TIME & TIME SLIPS
1 week ago 00:00:31 2
How To Train Your Dragon | Big Game Spot
1 week ago 00:05:05 59
How to Clown - Misha Usov - Professional Clown School
1 week ago 00:38:45 2
Try Not To Laugh Challenge#7 | Instant Regret Fails Compilation 2024 | Amazing People
2 weeks ago 00:29:31 1
Membership Perks
2 weeks ago 07:10:32 1
У края бездны-(2024) все серии 1-4. Освобождение Мариуполя.Причитайте ограничения в описании ниже!!
2 weeks ago 00:08:00 16
Dream Theater - Midnight Messiah (Official Video)
2 weeks ago 00:05:14 2
Clara Fernández: The Spanish Sensation Transforming Pole Vaulting
2 weeks ago 00:27:54 5
Секретные космические лазеры устраивают пожары на Земле?
2 weeks ago 01:18:02 2
The Spider’s Web: Britain’s Second Empire | The Secret World of Finance
2 weeks ago 00:03:57 46
Britney Spears - ...Baby One More Time (Official Video)
2 weeks ago 00:17:09 1
Blouse crochet pattern - how to crochet summer top
2 weeks ago 00:15:40 1
Как вязать росток кардигана Вязание укороченными рядами How to knit a cardigan back height
2 weeks ago 00:04:50 20
In The Army Now (Status Quo) • Drum Cover
2 weeks ago 00:38:56 2
Time Team Podcast | New excavations at Pompeii
2 weeks ago 00:56:53 3
DOGMAN, MIRRORED MEN AND HIGHWAY GHOSTS: TALES FROM THE ROAD (SN 18 EP 36) TRUE SPOOKY STORIES
2 weeks ago 00:15:46 2
🐹 КРОТЫ УХОДЯТ НАВСЕГДА! Как прогнать кротов с участка дымовой самодельной шашкой
2 weeks ago 01:12:12 1
Crochet Lacey Vest Tutorial | Chenda DIY
2 weeks ago 00:09:56 1
Mother Tucker: The Donald Trump & Jared Kushner Family Business Suckled From The Tit Of Saudi Arabia
2 weeks ago 00:18:46 1
I Crocheted a Houndstooth Vest | Pattern Walk-through