Sha256: f1edea406da04fb4bf8f9fbc3bf11c7adb1ec78c0e800f723066028a2024aca9

Contents?: true

Size: 1.04 KB

Versions: 9

Compression:

Stored size: 1.04 KB

Contents

# A layout designed for a card to be held in your hand.
#   * Bonuses align along the left-hand side.
#   * Title along the top.
#   * Middle area for artwork,
#   * Room for a text description
#   * And some theme-based text (which I like call the "snark")
# Along the lines of Race for the Galaxy or 7 Wonders
# Based on TheGameCrafter.com's Poker Card, which is 825x1125
# Sample usage is found in samples/layouts.rb
title:
  x: 275
  y: 75
  width: 475
  height: 125
art:
  x: 275
  y: 225
  width: 475
  height: 475
description:
  x: 275
  y: 725
  width: 475
  height: 200
snark:
  x: 275
  y: 950
  width: 475
  height: 100
bonus1:
  x: 75
  y: 75
  width:  175
  height: 175
bonus2:
  extends: bonus1
  y: += 198
bonus3:
  extends: bonus2
  y: += 198
bonus4:
  extends: bonus3
  y: += 198
bonus5:
  extends: bonus4
  y: += 198

# The "cut line", without rounded corners
cut:
  x: 37.5
  y: 37.5
  width: 750
  height: 1050

# The "safe zone" as defined by TheGameCrafter poker cards
safe:
  x: 75
  y: 75
  width: 675
  height: 975
  radius: 16
  dash: 3 3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
squib-0.19.0 lib/squib/builtin/layouts/hand.yml
squib-0.19.0b lib/squib/builtin/layouts/hand.yml
squib-0.19.0a lib/squib/builtin/layouts/hand.yml
squib-0.15.2 lib/squib/builtin/layouts/hand.yml
squib-0.15.1 lib/squib/builtin/layouts/hand.yml
squib-0.14.2 lib/squib/builtin/layouts/hand.yml
squib-0.10.0 lib/squib/layouts/hand.yml
squib-0.8.0 lib/squib/layouts/hand.yml
squib-0.7.0 lib/squib/layouts/hand.yml