summaryrefslogtreecommitdiff
path: root/src/information_only/scripts/load/graphics/ym7101.lua
blob: 81b53a723ee6f7659cd3a8c1a8d08acd6435a7a5 (plain)
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
return {
  screen = {
    default = {
      width  = 320,
      height = 224,
      fps    = 29.97,
      origin = {
        x = 0,
        y = 0,
      },
    },
    pal     = {
      width  = 320,
      height = 240,
      fps    = 25,
      origin = {
        x = 0,
        y = 0,
      },
    },
  },
  colors = {
    '9bpp',
    transparent = 'colorKey',
  },
  mesh   = false,
  api    = false,
  shader = {
    false,
    fragment = false,
  },
  physic = false,
  sprite = {
    true,
    colors = '4bpp',
    limits = {
     true,
     screen = 80,
     line   = 20,
    },
    rotate = false,
    scale  = false,
    shear  = false,
    affine = false,
    size   = {
      small    = {
        width  =  8,
        height =  8,
      },
      default  = {
        width  = 16,
        height = 16,
      },
      big      = {
        width  = 24,
        height = 24,
      },
      huge     = {
        width  = 32,
        height = 32,
      },
    },
  },
  tile   = {
    layer = {
      a = {
        colors         = '4bpp',
        specifyColors  = false,
        moveIndividual = 'w',
        independent    = 'w',
        mirror         = 'b',
        rotate         = true,
        scale          = true,
        shear          = true,
        affine         = true,
        size           = {
          default = {
            width  =  64,
            height =  64,
          },
          bigW    = {
            width  = 128,
            height =  32,
          },
        },
      },
      b = {
        colors         = '4bpp',
        specifyColors  = false,
        moveIndividual = false,
        independent    = false,
        mirror         = 'a',
        rotate         = true,
        scale          = true,
        shear          = true,
        affine         = true,
        size           = {
          default = {
            width  =  64,
            height =  64,
          },
          bigW    = {
            width  = 128,
            height =  32,
          },
        },
      },
      w = {
        colors         = '4bpp',
        specifyColors  = false,
        moveIndividual = 'a',
        independent    = 'a',
        mirror         = false,
        rotate         = false,
        scale          = false,
        shear          = false,
        affine         = false,
        size           = {
          default = {
            width  = 32,
            height = 32,
          },
          bigW    = {
            width  = 64,
            height = 32,
          },
        },
      },
    },
  },
}