Let's Make Solitaire in Unity Part 1: Set Up and Shuffle

preview_player
Показать описание
GET THE SCRIPTS AND PLAY IN YOUR BROWSER HERE:

*********************************

In part one we take a quick look at the background, confirm the rules of Klondike Solitaire and start to set up the scene. We acquire the required assets and start on the first scripts to generate a deck of cards and shuffle them.

*********************************

Royalty free assets:

Fisher Yates Shuffle extension from Stack Overflow:

*********************************
Рекомендации по теме
Комментарии
Автор

👾 Hey everyone! I’m back with a brand-new series.

This time, I’m exploring how to build a dev team made entirely of AI agents.

In Episode 1, I dive into why AI struggles to build software alone and how specialized AI agents might solve that.
I’d love to hear your thoughts—drop a comment and tell me what role I should assign to the next AI agent.

Thanks for sticking around all these years. You’re awesome! ❤

megalomatt
Автор

Even in Unity 2023 this is so useful and simple to follow! I'm making this game purely for my mum lmao so it's so nice to have something to build off of. I could just use your scene but understanding the code is better to add my own spin on it :') back later when I've followed the lot...

UnpaidInternJR
Автор

What a tutorial man. You should be as popular as Brackeys and even more <3

kirollosmagdy
Автор

This tutorial helped so much! You really are as good as brackeys! keep up the great work 😎!

excaliber_bruh
Автор

Thank you for making this kind solitaire video!!

youngwoongjin
Автор

Great tutorial just one question why did you use List if you are using Array, can you do this with array only sorry i am new in coding

MySandy
Автор

Sounds like exactly what I am looking for. Such a simple game but in my head I think this code is about to get hairy.

jackmiddleton
Автор

good job, can you please explain how did u add the empty card?thanks

Rana-vbpf
Автор

Great Tutorial. You deserve more subscribers and view. Thanks for sharing.

NestedMango
Автор

cool tut thx. sadly I gave up on following it...tried to slow it down and enjoy a little but it's too fast

yanko
Автор

I have a very important question. How exactly did you draw the empty rectangle, and what platform did you use to create it. You said that we could use that simple and empty rectangle that you created yourself, but failed to provide us with link to download it or instructions to create it.

These missing details is causing me and probably a few others, some major confusion on what to do about the rectangle part, leaving us all stuck. I am completely new to Unity and trying to learn how to build my first solitaire game, and I have searched Google, Bing, and various other search engines about this topic, and found nothing. I cannot figure out how to draw the empty rectangle (sprite) and it is preventing me from being able to move to your next step. It has been 4 days now that I have been watching this same video and viewing every part over and over about game setup part of your video with no clear instructions on the rectangle piece.

If you could kindly provide me with instructions on how to create that empty rectangle (sprite) so I can move on to the scene setup part of the video, i would greatly appreciate it. ❤

gamesbyxa
Автор

08:46 My 2 cents: make sure you use only one instance of Random (use a static variable). Otherwise it will always be the same, if you're creating new instance of Random every game. :)

kawahertz
Автор

Hello! Loved the tutorial. I am however lost on how the decklist got shuffeled when you passed it as an argument. Does the <T> have anything to do with it?

jonathangodar
Автор

Thanks, this is really cool and well presented! I'm trying to follow along with this then I'll see if I can fumble my way thru making some kind of video poker

Apocaloctopus
Автор

Solitaire battle royale development has officially begun... XD

smpark
Автор

Thank you so much for this tutorial its been an incredible asset to my project! I wanted to ask if you might know how to give each of the cards an individual backside - so each card has a unique front and back from the others? Thanks again :)

WITH_LOH
Автор

Thanks you tutorial, i am from Russia

MugnusDux
Автор

How to select several objects like this 4:56 and move them all? I try to move them to left/right but objects just dissapeared wtf

Согласен_с_тобой
Автор

I tried to use your tutorial for a mobile version, but the lines of the rectangle sometimes appear, and sometimes disappear, most of the time only 2 or 3 render on the game, what can it be?

jacaTM
Автор

the fastest man alive. but thanks for the tutorial

rimasso
join shbcf.ru