Let's Create: Minesweeper in Unity

  Рет қаралды 2,763

Firnox

Firnox

Күн бұрын

Пікірлер: 19
@numaanjaved
@numaanjaved 2 ай бұрын
yours was the best of the tutorials for minesweeper
@numaanjaved
@numaanjaved 2 ай бұрын
I am done with all of this tutorial, the code you did is very repetitive, and had a lot of dependencies between both tile and gameManager, however I do understand that you used this approach so that beginners can understand code easily, Good tutorial for beginners
@-BCA-Akhilsiby
@-BCA-Akhilsiby Ай бұрын
You are heaven sent God bless you
@shellyrodriguez2835
@shellyrodriguez2835 Жыл бұрын
Thank you so much for this tutorial! I prefer to learn by doing vs memorizing theory, and this was perfect. It was a lot fun to make one of my favorite classics in Unity!
@AlreadyRented
@AlreadyRented Жыл бұрын
This was amazing, without this I wouldn't have been able to start my game!
@numaanjaved
@numaanjaved 2 ай бұрын
The code you used to return count could not be understood easily can you please elaborate .. thank you
@wrongenvelope
@wrongenvelope Жыл бұрын
Thank you for helping me make my first Unity game! You were incredibly easy to follow along with, even considering I know nothing about Unity, C#, or object oriented programming in general. I do admit this project became a lot creepier owing to my choice to instead make "Spider Sweeper" with my own sprites, in homage to my terrifyingly occupied apartment. I found myself questioning my life choices every time I had to type out things like "HowManySpiders" and "spiderPositions[i]", or designing the exploding spider tile. At one point, I got much more of a crash course than I bargained for, having no idea a MainCamera object was required, only that my Game view failed to materialize after implementing the GameManager object. But what's an afternoon project without a labyrinthine side quest in which you learn the meaning of Orthographic Projection Mode? Anyhow, there's no way I would have figured this out on my own without hardcoding each tile, so I'm immensely grateful for being shown the concept of Prefabs, along with everything else. 10/10, would make more very creepy spider games with you. xD
@AreHorsesReal
@AreHorsesReal Жыл бұрын
Is there a way to make it so that the first tile you click isn't a mine or number?
@FirnoxGames
@FirnoxGames Жыл бұрын
Not an easy way no, as that's fundamentally changing the puzzle. You could only actually generate the initial puzzle on first click and keep generating until the random puzzle has the desired square where it was clicked - but there's no guarantee that square would ever by what you want so could take a very long time to generate it.
@blockify
@blockify Жыл бұрын
@@FirnoxGameswhat if you create a temp list of all tiles, when you click your first tile it will remove that from the list and then set up the grid data such as mines and neighbour counts, the tile you clicked on can be blank or 1-8, but it should work no problem.
@blockify
@blockify Жыл бұрын
@@FirnoxGamesapparently the way windows minesweeper does it: if your first click is a mine, it will move the mine to the furthest top left tile that doesn’t contain a mine
@fazrul2600
@fazrul2600 Жыл бұрын
How to get the number all all asset for minesweeper
@FirnoxGames
@FirnoxGames Жыл бұрын
I included a link to the assets I created in the description of the video. Here it is for you: github.com/Firnox/Minesweeper/blob/main/Minesweeper-Sprites.zip
@ContinuedOak
@ContinuedOak 10 ай бұрын
On “private List tiles = new();” I get the error CS0246, the type or namespace name Tile could not be found…. And I’ve copied the code 100% I’ve gone over it over and over and over
@eldanridley7
@eldanridley7 5 ай бұрын
maybe your script name is wrong in unity
@agameboy
@agameboy Жыл бұрын
EDIT: i switched my editor version to 2021 and it works fine now great tutorial btw, keep it up on lines 9 and 76 in the gamemanager script unity keeps erroring that the tuple must have 2 elements and a new expression requires (), [], or {} after type i have the exact same code and i'm using untiy 2019.4.5 so i dont know if my version is causing the issue
@FirnoxGames
@FirnoxGames Жыл бұрын
Ah sorry I didn't reply to you sooner. Yeah I shall try to be explicit in my videos going forward the version I'm using. The later versions use a later version of C# which has some nice features to help you write cleaner code (I.e. less of it) which I tend to use but would have been missing from your version.
@three-d-s-h-k-ir
@three-d-s-h-k-ir Жыл бұрын
Hi tutorial saving and loading scene listing in unity 5 for Android c# code
@What-a-save
@What-a-save 10 ай бұрын
its hard to follow this tutorial on visual scripting but i made it🙂👍
Let's Create: Asteroids in Unity
31:59
Firnox
Рет қаралды 5 М.
1D, 2D, 3D, and 4D Minesweeper
8:26
Icely Puzzles
Рет қаралды 543 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 27 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 3 МЛН
Crushing Minesweeper | Game Dev's Revenge
9:46
Useless Game Dev
Рет қаралды 29 М.
Creating a Custom Tab System in Unity
13:45
Game Dev Guide
Рет қаралды 237 М.
I Coded a Nuclear Physics Simulator to Play God in VR
44:21
Thomas Wald
Рет қаралды 10 М.
I Made an Electronic Chessboard Without Turns
14:32
From Scratch
Рет қаралды 948 М.
I Made Minesweeper with just Redstone!
17:39
mattbatwings
Рет қаралды 253 М.
How My Dumb Mobile Game Got 400k Downloads
13:24
Will Kwan
Рет қаралды 1,4 МЛН
Coding Adventure: Portals
16:06
Sebastian Lague
Рет қаралды 1,3 МЛН
Blazingly Fast Greedy Mesher - Voxel Engine Optimizations
23:35
Unity Prefabs - The Complete Animated Guide  | Game Dev Classroom
10:43
Lost Relic Games
Рет қаралды 41 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН