yours was the best of the tutorials for minesweeper
@numaanjaved2 ай бұрын
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Ай бұрын
You are heaven sent God bless you
@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 Жыл бұрын
This was amazing, without this I wouldn't have been able to start my game!
@numaanjaved2 ай бұрын
The code you used to return count could not be understood easily can you please elaborate .. thank you
@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 Жыл бұрын
Is there a way to make it so that the first tile you click isn't a mine or number?
@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 Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
How to get the number all all asset for minesweeper
@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
@ContinuedOak10 ай бұрын
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
@eldanridley75 ай бұрын
maybe your script name is wrong in unity
@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 Жыл бұрын
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 Жыл бұрын
Hi tutorial saving and loading scene listing in unity 5 for Android c# code
@What-a-save10 ай бұрын
its hard to follow this tutorial on visual scripting but i made it🙂👍