Two new built-in layouts: fantasy.yml and economy.yml

Contributes to #97
This commit is contained in:
Andy Meneely
2015-07-26 00:59:12 -04:00
parent 4d2230cd34
commit 003a26ae68
8 changed files with 287 additions and 5 deletions
+85
View File
@@ -0,0 +1,85 @@
#This layout inspired by popular fantasy games
title:
x: 90
y: 90
width: 635
height: 50
align: center
art:
x: 75
y: 150
width: 675
height: 520
description:
x: 100
y: 675
width: 625
height: 275
valign: middle
align: center
font_size: 18
desc: # alias
extends: description
type:
x: 90
y: 955
width: 645
height: 50
align: center
lower_right:
x: 675
y: 975
width: 75
height: 75
font_size: 18
valign: bottom
align: right
lr: #alias
extends: lower_right
lower_left:
x: 75
y: 975
width: 75
height: 75
font_size: 18
valign: bottom
align: left
ll: # alias
extends: lower_left
copyright:
x: 75
y: 1025
width: 675
height: 25
font_size: 16
align: center
valign: bottom
#aliases for copyright
copy:
extends: copyright
credit:
extends: copyright
credits:
extends: copyright
# 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
+101
View File
@@ -0,0 +1,101 @@
#This layout inspired by popular fantasy games
title:
x: 90
y: 90
width: 500
height: 50
upper_right:
x: 595
y: 90
width: 135
height: 50
align: right
ur: # alias
extends: upper_right
art:
x: 75
y: 150
width: 675
height: 520
type:
x: 90
y: 675
width: 500
height: 50
type_right:
x: 595
y: 675
width: 135
height: 50
align: right
tr: #alias
extends: type_right
description:
x: 100
y: 730
width: 625
height: 275
valign: middle
align: center
font_size: 18
desc: # alias
extends: description
lower_right:
x: 675
y: 975
width: 75
height: 75
font_size: 18
valign: bottom
align: right
lr: #alias
extends: lower_right
lower_left:
x: 75
y: 975
width: 75
height: 75
font_size: 18
valign: bottom
align: left
ll: # alias
extends: lower_left
copyright:
x: 75
y: 1025
width: 675
height: 25
font_size: 16
align: center
valign: bottom
#aliases for copyright
copy:
extends: copyright
credit:
extends: copyright
credits:
extends: copyright
# 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
+16
View File
@@ -44,3 +44,19 @@ bonus4:
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
+18 -1
View File
@@ -1,4 +1,5 @@
# A basic playing card layout with bonuses in the upper-left and lower-right. The lower-right angle is rotated for text.
# A basic playing card layout with bonuses in the upper-left and lower-right.
# The lower-right angle is rotated for text.
bonus_ul:
x: 75
y: 75
@@ -16,3 +17,19 @@ art:
height: 575
valign: middle
align: center
# 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