Search Unity

Card game in Unity3d - Newbie help

Discussion in 'Scripting' started by gasper133, Nov 5, 2015.

  1. gasper133

    gasper133

    Joined:
    Nov 5, 2015
    Posts:
    31
    Hello guys. I hope I didn't miss the thread.

    So I watched Drag and Drop tutorial for Unity (
    ).
    It's my first project in Unity and I want to make a simple card game. I know Java and c#, but I'm new to Unity and game making.

    At the moment I have everything this guy showed in the video, a hand where you can smoothly move cards around and battlefield where you can drop your cards.

    I just wonder if anyone can give me some help or usefull link on how to make a deck and pull card off it. I'm a really fast learner so any usefull link or help would be great to help me making process :)

    Thanks for your time and sorry for my English. It's not my primary language :(
     
  2. moh05

    moh05

    Joined:
    Nov 26, 2015
    Posts:
    65
    Hello!

    I was looking for the same thing...Did you find any?
     
  3. Manawydan

    Manawydan

    Joined:
    Nov 25, 2015
    Posts:
    30
    so you can make one CardBase script(all cards functions and variables), like cardName, cardID, cardImage, cardPositons ..
    script CardSlot to put cards, deck can be one list of CardBase.
    One CardManager/GameManager to manager the cards/game.
    perhaps one script with CardsEffects(or you can put the cards effects in CardBase script)
    perhaps one CharacterBase script to be the base for all player/AI
    Try make the basic first, after make the hard. One card game is hard because the cards effects.
    Good Luck!