LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: b_took on March 29, 2010, 02:20:04 PM

Title: Solitaire Game -- Cards Not Appearing?
Post by: b_took on March 29, 2010, 02:20:04 PM
I'm attempting to create my own little plugin.  So far I've made it to the point where the game has the structure I want, the cards all show up in the deck editor, and I can make decks and load them to me . . .

except no cards actually show up in the solitaire game.  The Deck tab, for example will indicate 60 cards, but there's no way to access them, move them, or see what any of them are.

What could be causing this?
Title: Re: Solitaire Game -- Cards Not Appearing?
Post by: Trevor on March 29, 2010, 04:51:17 PM
You need to make a deck, and load it to you, and then draw cards from it. I'm not sure what the issue is.
Title: Re: Solitaire Game -- Cards Not Appearing?
Post by: b_took on March 29, 2010, 06:55:52 PM
I can draw cards just fine -- they're simply invisible and unselectable.  It's definitely specific to the plugin I'm trying to make, as other people's plugins work just fine. :)
Title: Re: Solitaire Game -- Cards Not Appearing?
Post by: mathman1550 on March 29, 2010, 07:15:25 PM
can you post the files and file structure?
Can you see the card images in the deck editor?
Title: Re: Solitaire Game -- Cards Not Appearing?
Post by: b_took on March 29, 2010, 07:17:19 PM
Figured out the problem -- my cardback.jpg and spawned.jpg were in my /Basic set folder instead of in my /setimages or /general folders.  At a guess, Lackey didn't know how to draw the cards in-game because it couldn't find those.   :-[