How to make an Online Card Game in Unity | Mirror Networking (FREE Full Project in description)

How to make an Online Card Game in Unity | Mirror Networking (FREE Full Project in description)

Dicko

3 года назад

36,114 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

NekoAlone
NekoAlone - 24.10.2023 16:59

where I can change the size of the pokémon image?

Ответить
mopaak
mopaak - 12.09.2023 06:20

As a person with zero knowledge in coding or programming of any kind who is just starting to look at it, this is not that confusing, it's very well explained

Ответить
Doge Binance Feed
Doge Binance Feed - 06.09.2023 06:04

brother im new to this but im happy on your explanation what editor do you use

Ответить
잼순이
잼순이 - 26.07.2023 03:17

Hi Dicko!
I'm copying your project and making a fan game CCG.
I'm currently running into a problem, which also occurs with the same symptom in your project.

the problem is
Connect to the game opened with the build exe file as host(server+client)
After connecting as a client to a game in the Unity engine.
If the host(server+client)presses G and drop 1 cost duck and EndTurn, and then the Unity engine player(the client)points to the hand cards and moves out of the right, an error appears.
"(GameManager.CallRpcCardHover (System.Single moveBy, System.Int32 index) (at Assets/CCG/Scripts/GameManager.cs:53))"

I cant understant why this happen so can you help fix this?

Ответить
Arturo Chavez Sendra
Arturo Chavez Sendra - 25.07.2023 07:00

How would you do it if you wanted to handle turns simulteously how would it change? Thanks for the vid very helpful

Ответить
Arturo Chavez Sendra
Arturo Chavez Sendra - 25.07.2023 03:28

You are the best! 2 years later and I am using this. New Subs, you deserve more!

Ответить
Sharaud Ramey
Sharaud Ramey - 17.06.2023 11:47

What would be the easiest process or approach to use custom cards for this? Thank you for this lesson!

Ответить
Zarabatana Productions
Zarabatana Productions - 07.06.2023 23:08

spaghetti code

Ответить
Joseph Nichols
Joseph Nichols - 01.06.2023 17:07

Love this video, thanks!

Ответить
pulseMOD441
pulseMOD441 - 11.03.2023 04:46

Hey Nick, do you do any kind of game development contract work? Am currently working on a project converting a tabletop game I created to a mobile game that strictly just needs a dev (which, try as I may, I am not). Would love to chat with you if you're interested.

Ответить
Zimmy Mine
Zimmy Mine - 27.12.2022 01:20

Dicko do u have a discord or group app?

Ответить
Dago 64
Dago 64 - 30.11.2022 01:56

Would you recommend Mirror for a turn based strategy game?

Ответить
Jason Ellingsworth
Jason Ellingsworth - 31.10.2022 12:36

Your friend not wanting you to use an arrow is a little petty. It's what...3 minutes of work in a free graphic editor?

Ответить
lian eifert
lian eifert - 20.08.2022 17:20

I cant download the project how can i fix this

Ответить
Pan Banan
Pan Banan - 26.06.2022 15:25

Hey, thanks for this nice piece of a project. Really helped me get out of the stupid loop of doing same nonsense over and over again.
Maybe someone can help me, I'm having a problem with the cards IDs for the scriptable card, the ID is staying blank and does not get refreshed. Should I used other methods and call them manually to create the GUID. Please advise

Ответить
LowKeyNerd
LowKeyNerd - 24.04.2022 06:10

Hey! I don't know if you still monitor comments, but what would your choice of netcode be in 2022 for an online multiplayer TCG? Also, what server solution do you think best handles the matchmaking and in-game requirements?

Ответить
Stipan72
Stipan72 - 27.02.2022 10:39

is this just a local multiplayer? and if so how could i make it into a Lobby type thing?

Ответить
MuSuppasit
MuSuppasit - 17.02.2022 10:39

Hey Nick, I learn from your project and REALLY really learn a lot form it, Not many Mirror tutorial has real-world example like you. Thanks a lot for you

Ответить
Marcelo Leite Junior
Marcelo Leite Junior - 10.02.2022 23:19

Do you have a patreon or any kind of mentoring with these projects? A lot of people (me) are trying to create the same kind of game. Discord? Anything pleeease!

Ответить
Pro_MT
Pro_MT - 28.01.2022 17:17

:D

Ответить
Cloudy Canadians Gaming
Cloudy Canadians Gaming - 12.01.2022 07:50

You sir... are a genius for releasing this... been wondering how to approach a project im attempting by myself, and this helps bigtime. Your a godsend.

Ответить
Master Aki
Master Aki - 06.01.2022 04:33

THANKS so much for this! <3

Ответить
Julio Sanchez
Julio Sanchez - 29.12.2021 02:21

YOU ARE A REAL HERO!! THANKS SO MUCH FOR THIS

Ответить
Kavve The Homm3 Player
Kavve The Homm3 Player - 15.12.2021 00:46

Well I launched the project and it is not working at all like in the video, connecting to the server don't adds a player or draws any cards so basically unplayble can I have a fonctionning version of the project?
I'm starting in unity with mirror so it would really help thank you.

Ответить
SasssyPotato
SasssyPotato - 12.12.2021 22:14

how did you open the game project in a window rather then fullscreen?

Ответить
ゆかなえ
ゆかなえ - 30.11.2021 09:20

Amazing Video!
Is it possible to set the player2 canvas, to the outcome by rotating player1 canvas by 180°? including the cards direction.

Ответить
Rossmar Java
Rossmar Java - 11.11.2021 18:59

Can i ask where the keyword "G" is located? Also the connectivity is it possible for mobile? Did you try it?

Ответить
Kadmos
Kadmos - 15.10.2021 20:14

Thanks! As a beginner it would have been helpful if you also explained from the beginning how to setup the Unity object parts, like getting the camera in place and the transform size/scales/etc.

Ответить
fkeyz
fkeyz - 26.08.2021 23:19

bro i legit just came back to this video for the target card line thing and you said you took it out LOL

Ответить
Pedro Carvalho
Pedro Carvalho - 26.08.2021 15:56

Hey buddy, your project is awesome. Can u explain how u made the cards? Me and my friend, we are making a card game project too, for our university here in Brazil, and in this part we are a little lost.

Ответить
S W
S W - 04.08.2021 03:17

Algorithm !

Ответить
Andrew
Andrew - 12.07.2021 20:05

This video is incredible. I've been making a card game called Collision Gate for a while and this made the digital card game take considerably less time. (Months less)

Ответить
Zyugo / 10ゴウ
Zyugo / 10ゴウ - 09.07.2021 14:05

Finally, something I'll need because I've been struggling to find a good tutorial for a turn-based combat for CCGs.

Ответить
Theo
Theo - 21.06.2021 17:29

Hello, I was thinking to use this as a fundament for a card game I am making. So is this sopen source? Can I use this however I want? I will make a lot of changes so how does the ownership work?

Ответить
Salim Aarab
Salim Aarab - 09.06.2021 12:42

Hey amazing video! I have a simple question please. I encouter a problem where I can't sync the deck of cards to the clients ( Acts as if each client has his own deck ) - So i end up, for example, with the 5 of heart on both hands. The cards that each client draws are not removed from the deck to the other player.
My cards are all GameObjects and I can't use SyncList of gameobjects to my knowledge.

Any help would be much appreciated.

Ответить
NYN2K
NYN2K - 05.06.2021 22:08

Nice video but am kind of lost.... Are you making any series step by step, 1st wit assets then game engine then starting the process & coding etc? I'm interested in making a card game could do with some help.

Ответить
Thomas Huster
Thomas Huster - 28.05.2021 22:54

Great video dude, a lot of great information. Subbed!

Ответить
TheParasone
TheParasone - 24.05.2021 13:47

Is there a way to contact you maybe on discord and have a chat about this ? I would love to talk about it and buy you a coffee for making this downloadable :)

Ответить
fkeyz
fkeyz - 18.05.2021 05:03

nice video again :)

Ответить
Ladislav Vavírka
Ladislav Vavírka - 11.05.2021 01:31

Hey man, got a really cool idea on TCG but Im totally lost in programing, would you be interested to hear me out, eventually work together? Let me know thx.

Ответить
John Paul Pineda
John Paul Pineda - 01.05.2021 17:12

Does this have a playlist? Thanks bro. It really helps.

Ответить
MunkBusiness
MunkBusiness - 12.04.2021 16:36

I have been looking through the internet to try and figure out how to make a scalable way to make abilities on cards, and then I found this video, I really liked the idea even though I know you weren't finished sadly. But I ran into an issue with the scriptable object approach, when making a deal x damage or draw x cards, I have to make a new scriptable for every single damage, which quickly got annoying when I wanted something dealing 1, 2, 3, 4, 5, or any amounts of damage, did you come up with a solution to this randomly since you posted this vid?

Ответить
twitch.tv_UnluckiestAhri
twitch.tv_UnluckiestAhri - 03.04.2021 19:13

hey , i found the vid really usefull, i was wondering if theres any way to start the game automaticly once both players join, i tried with booleans but can't find a way to block the other player fuction

Ответить
Logic Projects
Logic Projects - 31.03.2021 10:33

Amazing Resource! Please keep up the unity tutorials. I've made a board game clone and I've been trying to retrofit multiplayer into it with little luck. This is going to help so much!

If you have any insights: I have player turns with multiple different states and different actions the players can take. Right now I'm thinking of just having the player manage the internals of a given turn's state machine and then the server handling refreshing the game board and alerting the next player that its their turn. Does this sound obviously wrong? I'm very fuzzy with mirror but videos like yours are helping make things click.

Ответить
The spying Batman
The spying Batman - 29.03.2021 22:42

Get a patreon bro, if you're good at something, don't do it for free

Ответить
Yahya Mohamed
Yahya Mohamed - 24.03.2021 03:31

I am trying to make 4 Player Card game, How can I distinguish between the players and as I will have 4 drop zones instead of 2, then how will I instantiate these cards in each of the client's screen?

2. How can I have one common variable that is accessible by all clients, for example I want to have 1 card deck and not each player having his own card deck

Ответить
Cairiel Ari
Cairiel Ari - 23.03.2021 20:18

Hey! Thanks for the vid, looks very nice :) Where did you learn how to use Mirror? I've been struggling to get a grasp on it over the last few weeks and I'm quite frustrated. Do you know any good resources to learn more about it? Your vid is very helpful for understanding the principles, but I need deeper knowledge in order to create a game using Mirror myself. :)

Ответить
Restless Thoughts
Restless Thoughts - 15.03.2021 07:01

Haven't finished the vid yet. I downloaded the project from Itch to follow along and I'm concerned that there's 512 'Access Denied' files in the zip xD

And when trying to open it regardless Unity warns that there's a bunch of compilation errors. So may want to double check the download.

Ответить