diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-06 17:36:27 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-06 17:39:02 -0300 |
commit | 6ecb5b355b08999952efcc60bc20fae649b131a7 (patch) | |
tree | 0714642adc0d25d24d6634c98692932e4718ee7e | |
parent | d3c2c13c096132fb73dbb902d31572f78110c08b (diff) |
Update ppu_rp2c02 graphics to use only one tiles layer
3 files changed, 20 insertions, 226 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/graphics/ppu_rp2c02_affine.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/graphics/ppu_rp2c02_affine.lua deleted file mode 100644 index 8d72b84..0000000 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/graphics/ppu_rp2c02_affine.lua +++ /dev/null @@ -1,105 +0,0 @@ -return { - screen = { - default = { - width = 256, - height = 224, - fps = 29.97, - origin = { - x = 0, - y = -8, - }, - }, - pal = { - width = 256, - height = 240, - fps = 25, - origin = { - x = 0, - y = 0, - }, - }, - }, - colors = { - '6bpp', - transparent = 'colorKey', - }, - mesh = false, - api = false, - shader = { - false, - fragment = false, - }, - physic = false, - sprite = { - true, - colors = '2bpp', - limits = { - true, - screen = 64, - line = 8, - }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 8, - height = 8, - }, - bigH = { - width = 8, - height = 16, - }, - }, - }, - tile = { - layer = { - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - rotate = false, - scale = false, - shear = true, - affine = true, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - }, - }, -} diff --git a/src/information_only/scripts/load/graphics/ppu_rp2c02.lua b/src/information_only/scripts/load/graphics/ppu_rp2c02.lua index fe1f97c..39d8ece 100644 --- a/src/information_only/scripts/load/graphics/ppu_rp2c02.lua +++ b/src/information_only/scripts/load/graphics/ppu_rp2c02.lua @@ -55,14 +55,15 @@ return { }, tile = { layer = { - { + a = { colors = '2bpp', specifyColors = false, - moveIndividual = false, + moveIndividual = 'bcd', + independent = 'bcd', rotate = false, scale = false, - shear = false, - affine = false, + shear = true, + affine = true, size = { default = { width = 32, @@ -70,14 +71,15 @@ return { }, }, }, - { + b = { colors = '2bpp', specifyColors = false, - moveIndividual = false, + moveIndividual = 'acd', + independent = 'acd', rotate = false, scale = false, - shear = false, - affine = false, + shear = true, + affine = true, size = { default = { width = 32, @@ -85,14 +87,15 @@ return { }, }, }, - { + c = { colors = '2bpp', specifyColors = false, - moveIndividual = false, + moveIndividual = 'abd', + independent = 'abd', rotate = false, scale = false, - shear = false, - affine = false, + shear = true, + affine = true, size = { default = { width = 32, @@ -100,14 +103,15 @@ return { }, }, }, - { + d = { colors = '2bpp', specifyColors = false, - moveIndividual = false, + moveIndividual = 'abc', + independent = 'abc', rotate = false, scale = false, - shear = false, - affine = false, + shear = true, + affine = true, size = { default = { width = 32, diff --git a/src/information_only/scripts/load/graphics/ppu_rp2c02_affine.lua b/src/information_only/scripts/load/graphics/ppu_rp2c02_affine.lua deleted file mode 100644 index 8d72b84..0000000 --- a/src/information_only/scripts/load/graphics/ppu_rp2c02_affine.lua +++ /dev/null @@ -1,105 +0,0 @@ -return { - screen = { - default = { - width = 256, - height = 224, - fps = 29.97, - origin = { - x = 0, - y = -8, - }, - }, - pal = { - width = 256, - height = 240, - fps = 25, - origin = { - x = 0, - y = 0, - }, - }, - }, - colors = { - '6bpp', - transparent = 'colorKey', - }, - mesh = false, - api = false, - shader = { - false, - fragment = false, - }, - physic = false, - sprite = { - true, - colors = '2bpp', - limits = { - true, - screen = 64, - line = 8, - }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 8, - height = 8, - }, - bigH = { - width = 8, - height = 16, - }, - }, - }, - tile = { - layer = { - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - rotate = false, - scale = false, - shear = true, - affine = true, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - }, - }, -} |