I'm trying to setup a sprue for PrintPlayGames card templates, but I'm not able to get a y-value that lines up with their template. You'll note that they have the cards rotated.
As a workaround, I can probably set the position_reference to :center, but that's a little harder to reason about card placement. Would be nice if the rotation wasn't offset somehow for the :topleft or if I was allowed to set a negative position for x/y. If I do, I don't match the regex:
Squib::Sprues::InvalidSprueDefinition: Invalid sprue definition in file: src/layout/ppg-poker.yml. "cards"[0]["y"] is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/
I'm trying to setup a sprue for PrintPlayGames card templates, but I'm not able to get a y-value that lines up with their template. You'll note that they have the cards rotated.
Using this as the sprue:
Results in
If I rotate the card, it shifts down, indicating that the
position_reference
isn't lining up. Sprue:Results in
As a workaround, I can probably set the
position_reference
to:center
, but that's a little harder to reason about card placement. Would be nice if the rotation wasn't offset somehow for the:topleft
or if I was allowed to set a negative position forx/y
. If I do, I don't match the regex: