• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jan 08, 2014 at 11:27 PM by Eric5h5 for the following reason:

Question is off-topic or not relevant

avatar image
0
Question by Geoth21 · Jan 08, 2014 at 11:00 PM · programminggame developmentgame design

Designing a Trading Card Game

Hello all!

I am in the process of starting a trading card game with unity just to practice my programming skill with a project. The game is similar to magic the gathering but on a not so complicated scale. What i was contemplating and couldn't find an answer to it is, how should i go about programming the cards in order to have automatic effects.

What i mean is, when for example i activate a creature's ability the effect should be made by the program and not by the user manually. So in order to have many effects, should i structure the program:

  1. Class Card and as a subclass each card of the game?

  2. Class Card and each unit as an entry in an XML file?

  3. Or a database ( i think this is the most inefficient way of doing it)

Thanks for considering this question and reading it :D

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eric5h5 · Jan 08, 2014 at 11:27 PM 0
Share

This is a discussion question for the forums since there's no objective answer.

avatar image Spinnernicholas · Jan 09, 2014 at 12:43 AM 0
Share

Geoth21, start a forum thread and post it here. I'll help you get started.

avatar image Geoth21 · Jan 09, 2014 at 10:47 AM 0
Share

http://forum.unity3d.com/threads/221624-Designing-a-Trading-Card-Game?p=1477667#post1477667 The link for anyone wanting to keep up!

0 Replies

  • Sort: 

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Change hdrp/Frame Setting Setting on Runtime 0 Answers

Unity Text Book Recommendations 1 Answer

What are the prerequisites to learn unity? 2 Answers

Should I do UI design first or Level Design 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges