Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+All cards on Deck spawns multiple piles of 0 or 1 size instead of one pile for all cards #2280

Open
JonGetsGames opened this issue Sep 2, 2024 · 2 comments
Labels
bug Something isn't working editor

Comments

@JonGetsGames
Copy link

JonGetsGames commented Sep 2, 2024

I will admit that I'm doing some unusual things here. I added movable: false as well as a parent and fixedParent directly into the cardDefaults. That being said, when I tested this removing what I mentioned in the previous sentence, the odd pile creation was still happening.
Example of it happening here: QuickDownload without assets 2024-09-02 1736 - Unnamed copy.zip

@ArnoldSmith86 ArnoldSmith86 added bug Something isn't working editor labels Sep 5, 2024
@bjalder26
Copy link
Collaborator

I don't think setting a parent in cardDefaults is going to work.
Also, alignChildren, dropLimit, dropTarget, dropOffsetX, and dropOffsetY are a properties of holders, not cards.
I would also suggest using text and a border rather than images for the cards.

The issue seems to be related to those properties in cardDefaults. I'm not 100% sure what you're trying to accomplish with those settings, but if you can explain that, then I will try and help.

If I were to guess, I'd guess that what you want to do is make map_anchor a holder, put properties on that holder, and put your deck in that holder - but that is just a guess.

@JonGetsGames
Copy link
Author

I don't really remember the specifics from this project, I ultimately did what I wanted somehow and completed it.

It looks like I wanted cards that are also holders to be held by a map anchor, so that the map and all these cards to move together. Then have a different set of cards that are held by the first set, these being movable by the players.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor
Projects
None yet
Development

No branches or pull requests

3 participants