From eb170d7e2db393c0e90af7b1ff4b512ec7572af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Wed, 7 Dec 2016 16:20:55 -0300 Subject: Fix ppu_rp2c02.lua --- .../scripts/load/graphics/ppu_rp2c02.lua | 85 ++++++++-------------- .../scripts/load/graphics/ppu_rp2c02.lua | 85 ++++++++-------------- 2 files changed, 64 insertions(+), 106 deletions(-) diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/graphics/ppu_rp2c02.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/graphics/ppu_rp2c02.lua index a818d3a..5e3da47 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/graphics/ppu_rp2c02.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/graphics/ppu_rp2c02.lua @@ -21,7 +21,21 @@ return { }, colors = { 54, - limit = 25, + limit = { + background = 1, + tiles = { + 3, + 3, + 3, + 3, + }, + sprites = { + 3, + 3, + 3, + 3, + }, + }, transparent = 'colorKey', }, mesh = false, @@ -59,65 +73,30 @@ return { a = { colors = '2bpp', specifyColors = false, - moveIndividual = 'bcd', - independent = 'bcd', - mirror = 'tilesOnly', - rotate = false, - scale = false, - shear = true, - affine = true, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - b = { - colors = '2bpp', - specifyColors = false, - moveIndividual = 'acd', - independent = 'acd', - mirror = 'tilesOnly', - rotate = false, - scale = false, - shear = true, - affine = true, - size = { - default = { - width = 32, - height = 32, - }, + moveIndividual = false, + independent = false, + mirror = { + 'horizontal', + 'vertical', + 'singleScreen', + 'fourScreens', + 'diagonal', + 'lShaped' + 'threeScreenHorizontal', + 'threeScreenVertical', + 'threeScreenDiagonal', }, - }, - c = { - colors = '2bpp', - specifyColors = false, - moveIndividual = 'abd', - independent = 'abd', - mirror = 'tilesOnly', rotate = false, scale = false, - shear = true, - affine = true, + shear = false, + affine = false, size = { default = { - width = 32, - height = 32, + width = 8, + height = 8, }, }, - }, - d = { - colors = '2bpp', - specifyColors = false, - moveIndividual = 'abc', - independent = 'abc', - mirror = 'tilesOnly', - rotate = false, - scale = false, - shear = true, - affine = true, - size = { + map = { 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 a818d3a..5e3da47 100644 --- a/src/information_only/scripts/load/graphics/ppu_rp2c02.lua +++ b/src/information_only/scripts/load/graphics/ppu_rp2c02.lua @@ -21,7 +21,21 @@ return { }, colors = { 54, - limit = 25, + limit = { + background = 1, + tiles = { + 3, + 3, + 3, + 3, + }, + sprites = { + 3, + 3, + 3, + 3, + }, + }, transparent = 'colorKey', }, mesh = false, @@ -59,65 +73,30 @@ return { a = { colors = '2bpp', specifyColors = false, - moveIndividual = 'bcd', - independent = 'bcd', - mirror = 'tilesOnly', - rotate = false, - scale = false, - shear = true, - affine = true, - size = { - default = { - width = 32, - height = 32, - }, - }, - }, - b = { - colors = '2bpp', - specifyColors = false, - moveIndividual = 'acd', - independent = 'acd', - mirror = 'tilesOnly', - rotate = false, - scale = false, - shear = true, - affine = true, - size = { - default = { - width = 32, - height = 32, - }, + moveIndividual = false, + independent = false, + mirror = { + 'horizontal', + 'vertical', + 'singleScreen', + 'fourScreens', + 'diagonal', + 'lShaped' + 'threeScreenHorizontal', + 'threeScreenVertical', + 'threeScreenDiagonal', }, - }, - c = { - colors = '2bpp', - specifyColors = false, - moveIndividual = 'abd', - independent = 'abd', - mirror = 'tilesOnly', rotate = false, scale = false, - shear = true, - affine = true, + shear = false, + affine = false, size = { default = { - width = 32, - height = 32, + width = 8, + height = 8, }, }, - }, - d = { - colors = '2bpp', - specifyColors = false, - moveIndividual = 'abc', - independent = 'abc', - mirror = 'tilesOnly', - rotate = false, - scale = false, - shear = true, - affine = true, - size = { + map = { default = { width = 32, height = 32, -- cgit v1.2.3