Card game

I play card games and I like idea of trying to make one.
So if you worked on something like a card game please be kind and break it down.
Am not looking to make some amazing game, more like to entertain myself with project.

  1. How to build placeholders for cards. (battlefield)
  2. What logic I need apart from shuffle deck and some random cards being pulled out of deck.
  3. Algorithms for damage dealing if you have more then 4 variables involved in(not just attack and defense)
  4. ETC

Every single aspect mentioned above would be done slightly differently depending on what is really needed. There’s a design chasm between Slay the Spire, Elder Scroll Legends and, let’s say, Gloomhaven which also has a card system, event though it’s not, technically, a card game…

Let’s say we’re making an MTG-like clone.

#1. The battlefield it too dynamic for a fully fixed placeholders system so you’d need a hybrid.

  • child actor components for placeholders
  • niagara + splines for fx
  • collision volumes to detect player interaction
  • some 2d interface on top for things that are pure screen space
  • cards should be actors with world space widget components (potentially wrapped in collision volumes) serving as display elements; card logic should be compartmentalised as actor components
  • zones would need to be actor with its own distribution system, either grid or spline based

#2. it’s more about the features you need? you’re the designer

#3. the default damage system and damage types for processing would probably take you very far already

#4. ? :person_shrugging:

1 Like

Can you build grid system on some environment and there manage fights ?

Yes.