I want to create a card game using C # and I get some API that gives me access to the card , But this API C ++ requires a wrapper. Are there some methods of XNA Framework to use the card for card games like Card.dll?
A short answer: No, there is no card API for XNA unless my Google-Fu is terrible is not.
I do not think it will be difficult to roll your own. It is very basic, you only need the card array, card / color on card and every card on the card. Flipped or not.
For card display order, you can use the Sprintbap Depth Parameter so that you do not worry about relying on your card array.
I also have graphic cards in a single textured sheet to avoid switching expensive textures all in real time.
Comments
Post a Comment