summaryrefslogtreecommitdiff
path: root/game/gui/transforms.rpy
blob: e19952bc9cc24cc4fac106bfe1f9b8f98b82bb19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
########################################################################################
#     This file is part of Spheres.
#     Copyright (C) 2019  Jesusalva

#     This library is free software; you can redistribute it and/or
#     modify it under the terms of the GNU Lesser General Public
#     License as published by the Free Software Foundation; either
#     version 2.1 of the License, or (at your option) any later version.

#     This library is distributed in the hope that it will be useful,
#     but WITHOUT ANY WARRANTY; without even the implied warranty of
#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#     Lesser General Public License for more details.

#     You should have received a copy of the GNU Lesser General Public
#     License along with this library; if not, write to the Free Software
#     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
########################################################################################
# Transforms for the displayables
init offset = -1

transform enemy1:
    xalign 0.5
    yalign 0.5

transform enemy2:
    xalign 1.0
    yalign 0.5

transform enemy3:
    xalign 0.0
    yalign 0.5

transform party1:
    xpos 0.25
    xanchor 1.0
    yalign 1.0

transform party2:
    xpos 0.50
    xanchor 1.0
    yalign 1.0

transform party3:
    xpos 0.75
    xanchor 1.0
    yalign 1.0

transform party4:
    xpos 1.0
    xanchor 1.0
    yalign 1.0

#transform party5:
#    xalign 1.0
#    yalign 1.0

transform c_party1:
    xpos 0.25
    xanchor 1.0
    zoom 0.4

transform c_party2:
    xpos 0.50
    xanchor 1.0
    zoom 0.4

transform c_party3:
    xpos 0.75
    xanchor 1.0
    zoom 0.4

transform c_party4:
    xpos 1.0
    xanchor 1.0
    zoom 0.4

#transform c_party5:
#    xalign 1.0
#    yalign 1.0
#    zoom 0.25

transform czoom_70:
    zoom 0.70

transform czoom_75:
    zoom 0.75


transform prologue_right1:
    xalign 0.67
    yanchor 1.0
    ypos (1824-gui.textbox_height)

transform prologue_right2:
    xalign 1.1
    yanchor 1.0
    ypos (1824-gui.textbox_height)

transform prologue_center:
    xalign 0.42
    yanchor 1.0
    ypos (1824-gui.textbox_height)


transform tcenter:
    xalign 0.5
    yanchor 1.0
    ypos (1824-gui.textbox_height)

transform tleft:
    xalign 0.0
    yanchor 1.0
    ypos (1824-gui.textbox_height)

transform tright:
    xalign 1.0
    yanchor 1.0
    ypos (1824-gui.textbox_height)

transform toffscreenleft:
    xpos 0.0
    xanchor 1.0
    yanchor 1.0
    ypos (1824-gui.textbox_height)

transform toffscreenright:
    xpos 1.0
    xanchor 0.0
    yanchor 1.0
    ypos (1824-gui.textbox_height)

transform ttop:
    xalign 0.5
    yanchor 0.0
    ypos (gui.textbox_height)