コード例 #1
0
import sys

sys.path.append("../")
from settings import (NES_PALETTE_HEX, animation_settings)
from core import sprite

TanookiMarioWalkRight01 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 13],
        "s": NES_PALETTE_HEX[3, 6],
        "r": NES_PALETTE_HEX[1, 7],
    },
    matrix=[
        "x9b2x3b2x5", "x9b1s1b6x4", "x9b1s2b1r4b1x3", "x8b1r1s2r5b1x3",
        "x7b1r2s1r7b1x2", "x7b1r10b1x2", "x6b1r11b1x2", "x6b1r6b4r1b1x2",
        "x6b1r5b1s2b1s1b1x3", "x6b1r5s3b1s1b3x1", "x6b1r5s8b1",
        "x7b1r4s2b1s5b1", "x7b1r4s1b3s3b2", "x8b2r2s3b5x1", "x8b4r1s4b1x3",
        "x8b1r2b6x4", "x7b1r5b1s3b1x3", "x7b1r4b1s5b1x2", "x7b1r4b1s5b1x2",
        "x5b4r4b1s3b1s1b1x1", "x3b2s2r1b2r3b4s2b1x1", "x2b2r1s3b1r1b3r2s4b1x1",
        "x1b2s1r2s1b1r8s3b1x1", "b2s3r1b2r10b1x2", "b1r2s2b1x2b1r9b1x2",
        "b1r3b1x4b1r6b2x3", "b2r2b1x4b1r5b1x5", "x1b3x5b1s6b1x4", "x9b8x4"
    ])

TanookiMarioWalkRight02 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 13],
        "s": NES_PALETTE_HEX[3, 6],
        "r": NES_PALETTE_HEX[1, 7],
    },
    matrix=[
        "x10b1x5b1x5", "x9b1s1b5s1b1x4", "x9b1s2r5b1x4", "x8b1s3r6b1x3",
コード例 #2
0
RiderRightStandard01 = sprite(
    palette = {
        "b":NES_PALETTE_HEX[0, 13],
        "w":NES_PALETTE_HEX[3, 0],
        "r":NES_PALETTE_HEX[0, 6],
    },
    matrix = [
        "x8w4x8",
        "x7w5r1x7",
        "x7w4r3x6",
        "x7r3b3x7",
        "x7w4b1w1x7",
        "x7b1r2w4x6",
        "x6w2r3x9",
        "x5w2b1r2w1x9",
        "x5w1b1w1r5x1b1x5",
        "x5w1b1w2r3b1r1b1x5",
        "x5w1b2w1x3w2b1x5",
        "x2r3w2b2w1x1r2w1r4x2",
        "x5b2w1b1w2r2w2x3r1x1",
        "x2b2r3b1w1b1w1r3w2b2x2",
        "x1b2x1r3b1w3r2x1w2x1b2x1",
        "b2x2r2x1w1r3b1x1b2w1x2b2",
        "b1x2b1x2w2r3b1x1b1x1w2x2b1",
        "b1x2w4x1r3x2b1x2w1x2b1",
        "b2x3b2x1r4x1b2x3b2",
        "x1b2x1b2x4b1x3b2x1b2x1",
        "x2b3x10b3x2",
    ]
)
コード例 #3
0
import sys
sys.path.append("../")
from settings import (NES_PALETTE_HEX, animation_settings)
from core import sprite

LinkWalkLeft01 = sprite(
    palette={
        "g": NES_PALETTE_HEX[2, 10],
        "b": NES_PALETTE_HEX[1, 8],
        "s": NES_PALETTE_HEX[3, 7],
    },
    matrix=[
        "x7b6x3", "x4b3g3b1g2b1x2", "x3b5g1b1s1b1g2b1x1", "x3b7s1b1g1b1g1b1",
        "b3x1b1s2b2s2b1g1b3", "b1g1b3s1b1s1b1s2b3x2", "b1g1b1s3b1s1b1s2b2x3",
        "b1g1b2s6b4x2", "b1g1b1x1b2s4b2x4", "b1g1b1x1b1s4b4x3",
        "b1g1b1x2b3s1b4x3", "b1g1b1x2b1g1b2g3b2x2", "b4x1b1g1b1g3b3x2",
        "b1s3b2g4b5x1", "b1s4b1g5b4x1", "b2s4b1g2b2g1b4", "b1g1b1s4b8x1",
        "x1b1x1b2s3b1s3b2x2", "x5b2s1b1s4b1x2", "x5b1g1b2s4b1x2",
        "x4b1g3b2s2b1x3", "x4b10x2", "x4b1s2b2s3b1x3", "x3b1s4b1s3b1x3",
        "x2b1s4b2s3b1x3", "x2b3s1b1x2b1s1b2x3", "x2b4x3b3g1b1x2",
        "x1b3g1b1x3b5x2", "x1b5x4b3g1b1x1", "x1b3g1b1x5b4x1", "b6x4b5x1",
        "b6x3b4x3"
    ])

LinkWalkLeft02 = sprite(palette={
    "g": NES_PALETTE_HEX[2, 10],
    "b": NES_PALETTE_HEX[1, 8],
    "s": NES_PALETTE_HEX[3, 7],
},
                        matrix=[
                            "x7b6x3",
コード例 #4
0
TrevorBelmontWalkLeft01 = sprite(palette={
    "p": NES_PALETTE_HEX[3, 7],
    "o": NES_PALETTE_HEX[1, 7],
    "d": NES_PALETTE_HEX[0, 7],
},
                                 matrix=[
                                     "x3d5x8",
                                     "x2d2o4d1x7",
                                     "x2d2p1d5x6",
                                     "x3d2p1o1d4x5",
                                     "x3d1p2o2d5x3",
                                     "x3d1p1o1d6o1d1x2",
                                     "x3d3p1o3d1o2d1x2",
                                     "x4d1p1d3o4d2x1",
                                     "x2d1x2d2p1d2o2d3x1",
                                     "d2p1d1x1d1p3d4p2d1",
                                     "d1p2d2p3d4o1p2d1",
                                     "d1o1p1o2p2d5o1p1d1x1",
                                     "x1d1p1o3d8x2",
                                     "x2d5o1p3d1x4",
                                     "x6d1p2d4x3",
                                     "x6d8x2",
                                     "x5d9x2",
                                     "x4d1p1o1d7x2",
                                     "x3d1p1o2d2p3d1x3",
                                     "x2d1p1o2d1x1d1p3d1x3",
                                     "x2d1p1o1d1x3d1p2d1x3",
                                     "x2d4x3d1p3d1x2",
                                     "x2d1p1o1d1x4d3o1d1x1",
                                     "x2d3o1d1x3d1p1o2d1x1",
                                     "x2d1p1o2d1x4d3o1d1",
                                     "x2d1p1o2d1x5d1o2d1",
                                     "x2d2o2d1x5d2o1d1",
                                     "d2p1o2d1x6d1o2d1",
                                     "d1p1o3d1x5d1o3d1",
                                     "d6x5d5",
                                 ])
コード例 #5
0
RedDragonNorthEast01 = sprite(
    palette = {
        "b":NES_PALETTE_HEX[0, 13],
        "y":NES_PALETTE_HEX[2, 7],
        "r":NES_PALETTE_HEX[1, 7],
    },
    matrix = [
        "b1x31",
        "b2x30",
        "b1r1b1x29",
        "x1b1r1b2x11b1x15",
        "x1b1y1r2b3x3b1x3b1r1b1x14",
        "x1b1r1y1r1y1r2b4x1b2r2b1x14",
        "x2b1r1y1r1y1r1y1r1b4r1y1r1b1x14",
        "x2b1y1r1y1r1y1r1b1r1b1x1b1r1y1r1b1x14",
        "x2b1r1y1r1y1r1b1r1b1r1b2r2b2x2b1x11",
        "x3b1r1y1r1b1r2b1r1b1r1y1b1x1b1x1b2x11",
        "x3b1r2b1r1y1b1r5b1x1b2r1b2x10",
        "x4b2r1y1r1b1r1b1r3b2r2b2r1b1x9",
        "x4b1r2y1r1b2r1y1r5b1r1b1r2b2x7",
        "x5b1r2b1r1b1r1y1r1b1r2b1r2b1r1y1r2b2x5",
        "x6b1r1b1r2y1r2b1r1b1r1y1r1b1r2y1r1y1r1b2x3",
        "x7b1r3y1r1b1r1b1r2y1r1b1r1y1r1y1r1y1r1y1b3",
        "x8b1r1y1r3b1r2y2r1b1r2y1r1y1r1b3x2",
        "x8b1y1r2b2r6b1r1y1r1b3x5",
        "x7b1r3b1x2b4r2b1r1b2x8",
        "x7b1r2b1x7b4x10",
        "x6b1r2b1x10b1x11",
        "x6b1r1b1x11b1x11",
        "x5b1r1b1x24",
        "x4b1r1b1x25",
        "x3b1r1b1x26",
        "x3b1r1b1x26",
        "x2b1r1b1x27",
        "x3b1x28",
    ]
)
コード例 #6
0
MegaMan02StandRight = sprite(palette={
    "b": NES_PALETTE_HEX[0, 13],
    "w": NES_PALETTE_HEX[2, 0],
    "d": NES_PALETTE_HEX[1, 2],
    "l": NES_PALETTE_HEX[3, 1],
    "s": NES_PALETTE_HEX[3, 7],
},
                             matrix=[
                                 "x11b2x8",
                                 "x8b3l2b1x7",
                                 "x7b1d3b1l2b1x6",
                                 "x6b1d5b4x5",
                                 "x6b1d5b1l2d1b1x4",
                                 "x5b1l1d6b2d1b1x4",
                                 "x5b1l1d2s1w3d2w1b1x4",
                                 "x5b1l1d1s1w2b2s1b1w1b1x4",
                                 "x6b1d1s1w2b2s1b1w1b1x4",
                                 "x5b2d1s1w4s1w1s1b1x4",
                                 "x3b2l2b1d1s1b4s1b3x3",
                                 "x2b1d1l4b1s5b1l2d1b1x2",
                                 "x2b1d2l4b5l2d2b1x2",
                                 "x1b1d3l1b1l7b1l1d3b1x1",
                                 "x1b1d2b3l7b3d2b1x1",
                                 "x1b1d3b2l7b2d3b1x1",
                                 "x1b1d3b2d7b2d3b1x1",
                                 "x2b3x1b1d7b1x1b3x2",
                                 "x5b1l2d4l3b1x5",
                                 "x4b1d2l3b1l4d1b1x4",
                                 "x3b2d3l1b1x1b1l1d3b2x3",
                                 "x1b2d5b1x3b1d5b2x1",
                                 "b1d7b1x3b1d7b1",
                                 "b9x3b9",
                             ])
コード例 #7
0
BatmanWalkRight01 = sprite(
    palette = {
        "b":NES_PALETTE_HEX[0, 13],
        "p":NES_PALETTE_HEX[0, 3],
        "l":NES_PALETTE_HEX[2, 3],
    },
    matrix = [
        "x17b1p1b1x4",
        "x17b1p1b1x4",
        "x17b1p3x3",
        "x17b1p2l1x3",
        "x15b2p5x2",
        "x10b1p3b1p4l2x3",
        "x9b1p1b3p1b1p1b2p1l1x3",
        "x9b2p1l2b1p1b1p1b3x3",
        "x8b1p2l3p1b1p1b1p1b1p1x3",
        "x7b1p1l5p1l1b1p3b1x3",
        "x7b1p1l1p1b1p1b1l4b2p1x1l2",
        "x8b6p1l2p2b1l1b1p1l1",
        "x7b1p3b3p4l1b1l1p1b1p1",
        "x7b1p2l1p1b3p1l2b1p4b1",
        "x7b3p2l2b9x1",
        "x6b1p2b2p1l1b3p1l1x6",
        "x6b1p2b5p1b3x6",
        "x6b1p1b5l3b2x6",
        "x5b1p2b4p1l3p1b1p1x5",
        "x3b2p2b6p1l2p1b1p2x4",
        "x2b1p3b7p1l3p1b1p1x4",
        "x1b1p3b9l3p1b1p1x4",
        "x1b1p3b9p1l1p1b3x4",
        "b1p3b13p1b1x5",
        "b1p2b8p1b1p2l1p2x6",
        "b1p2b5x1b1p2b2p3x7",
        "b1p1b3x4b1p2b1p3x8",
        "b1p1b1x7b1p1b1p1l1p1x8",
        "b1p1b1x8b2p2x9",
        "x12b1p2x9",
        "x12b1p1l1p1x8",
        "x1b1x10b1p4x7",
    ]
)
コード例 #8
0
import sys
sys.path.append("../")
from settings import (NES_PALETTE_HEX, animation_settings)
from core import sprite

RyuClimb01 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 8],
        "l": NES_PALETTE_HEX[1, 2],
        "p": NES_PALETTE_HEX[3, 13],
    },
    matrix=[
        "x5b4x5b2", "x4b1l4b1x3b1p2", "x5b1l4b1x2b1p2", "x4b1l1b1l2b2x1b2p1b1",
        "x4b1l2b1p2b5x1", "x4b1p1b1l2b1p1b3x2", "x3b1l3b1l1b1p2b1x3",
        "x3l3p2b1p2b1x2b2", "x2b1l2b1p3b2x2b1p2", "x2l3b1p4b1x1b2p2",
        "x1b1l4b1p4b3p1b1", "x1b1l3b3p2b4x2", "x1l6b2p1b3x3",
        "b1l5b2l1b3l1b1x2", "b1l3b3l7b1x1", "x1l1b2l3b1l1b1l2b3x1",
        "x1b1l5b2l1b4x2", "x1b1l3b3l1b1x1b3x2", "x1b1l2b1l3b1x2b4x1",
        "x2b1l6b1x2b2p1b1", "x3b1l5b1x2b2p1b1", "x4b1l5b1x1b1p2b1",
        "x5b3l2b1x1b1p1b1x1", "x6b1l2b2x2b2x1", "x7b4x5", "x8b4x1b1x2",
        "x9b4p1b1x1", "x10b3p1b1x1", "x10b2p2b1x1", "x10b1p2b1x2", "x11b2x3"
    ])

RyuClimb02 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 8],
        "l": NES_PALETTE_HEX[1, 2],
        "p": NES_PALETTE_HEX[3, 13],
    },
    matrix=[
        "x5b4x7", "x4b1l4b1x6", "x5b1l4b1x5", "x4b1l1b1l2b2x5",
コード例 #9
0
SolidSnakeWalkRightGun01 = sprite(palette={
    "b": NES_PALETTE_HEX[0, 13],
    "g": NES_PALETTE_HEX[1, 9],
    "s": NES_PALETTE_HEX[3, 7],
},
                                  matrix=[
                                      "x8b3x5",
                                      "x7b5x4",
                                      "x7b2g2b1x4",
                                      "x5b4s2b1x4",
                                      "x3b1g1b1g1b2g1s1b2x3",
                                      "x2b1g3s1b1s1b5x2",
                                      "x2b2g2s1g1s1b2s1b1g1b1x1",
                                      "x1b1s1g1b1s1b1g1s1b2s1b1g1b1x1",
                                      "x1b1s2b1s1g3b1g1s1g2b1x1",
                                      "x1b1g1s1b2g4b2g1b2x1",
                                      "x2b1s1g1b4g1b5x1",
                                      "b3g1s1b11",
                                      "b3g1s1b8s1b1x1",
                                      "x4b9x3",
                                      "x4b2g1s1g1b1g1b2x3",
                                      "x4b1g4b1g2b1x3",
                                      "x5b1g4b1g1b1x3",
                                      "x6b2g2b1g1b1x3",
                                      "x6b1g3b1g1b1x3",
                                      "x6b2g2b2x4",
                                      "x6b1g3b2x4",
                                      "x6g1b1g1b3x4",
                                      "x5b1g1b5x4",
                                      "x4b4x1g1b2x4",
                                      "x5b3x1b4x3",
                                      "x6b2x2b6",
                                      "x7b6x3",
                                      "x9b3x4",
                                  ])
コード例 #10
0
import sys
sys.path.append("../")
from settings import (NES_PALETTE_HEX, animation_settings)
from core import sprite

FF1WarriorFieldSouth01 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 13],
        "r": NES_PALETTE_HEX[1, 7],
        "s": NES_PALETTE_HEX[3, 7],
    },
    matrix=[
        "x5b6x5", "x4b1r6b1x4", "x3b1r8b1x3", "x3b1r7b1r1x3", "x3b1r1s1r6b1x3",
        "x3b1r1s2r1s1r4x3", "x3b1r1b2s1b3r1b1x3", "x2b3s1b1s2b1s1r1b2x2",
        "x1b1r2b2s4b2r2b1x1", "x2b2r2b4r1s2b1x2", "x1b1s2r3b2r2s2b1x2",
        "x1b1s2b1r5b3x3", "x2b3s3r1s2b2x3", "x4b1r3b1r2b2x3", "x4b1r3b4x4",
        "x5b1r2b5x3"
    ])

FF1WarriorFieldSouth02 = FF1WarriorFieldSouth01.hflip(rows=range(8, 16))

FF1BlackMageFieldSouth01 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 13],
        "l": NES_PALETTE_HEX[1, 2],
        "y": NES_PALETTE_HEX[2, 8],
        "s": NES_PALETTE_HEX[3, 7],
    },
    matrix=[
        "x7b2x7", "x6b1y2b1x6", "x4b3y2b3x4", "x2b2y2b1y2b1y2b2x2",
        "x1b1y3b1y4b1y3b1x1", "x1b1y12b1x1", "x2b1y10b1x2", "x2b3y6b3x2",
コード例 #11
0
import sys
sys.path.append("../")
from settings import (NES_PALETTE_HEX, animation_settings)
from core import sprite

VicViper01 = sprite(palette={
    "w": NES_PALETTE_HEX[3, 0],
    "b": NES_PALETTE_HEX[0, 2],
    "l": NES_PALETTE_HEX[3, 1],
    "r": NES_PALETTE_HEX[1, 6],
    "o": NES_PALETTE_HEX[2, 8],
},
                    matrix=[
                        "x2l2x19",
                        "x3l3x17",
                        "x4l3x8r2w1r1x4",
                        "x5l6b3l1w1r3o1x3",
                        "x1r2x2w16l2",
                        "r2w1r1x3b7l4b4x1",
                        "x1r2x1w3l2w4b1l1x8",
                        "r2w1r1x1w5b1x12",
                        "x1r2x3w1b3x1l1w1x10",
                    ])

VicViper02 = sprite(palette={
    "w": NES_PALETTE_HEX[3, 0],
    "b": NES_PALETTE_HEX[0, 2],
    "l": NES_PALETTE_HEX[3, 1],
    "r": NES_PALETTE_HEX[1, 6],
    "o": NES_PALETTE_HEX[2, 8],
},
コード例 #12
0
import sys
sys.path.append("../")
from settings import (NES_PALETTE_HEX, animation_settings)
from core import sprite

SophiaLeft01 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 13],
        "w": NES_PALETTE_HEX[3, 0],
        "r": NES_PALETTE_HEX[0, 5],
    },
    matrix=[
        "x10b15x1", "x9b1w2b2w2b1w1b3w4b1", "x1b8w1b2w4b6w3b1",
        "b1w2b1w4b3w5b4w1b2w1b1x1", "b1w2b1w4b3w4b4w1r2b2x2",
        "b1r2b1r4b3w3b1w1r2w1r4b1x2", "x1b13w1b2r6b1x2", "x8b1w1r8b5x3",
        "x9b1w1r6b1x8", "x10b7x9", "x3b4x3b1w4b1x4b3x3",
        "x2b1w4b1x1b1w6b1x2b1w3b1x2", "x1b1w6b2w6b1x1b3w3b1x1",
        "x1b8x1b6x1b1w1b3w2b1x1", "x1b8x1b1w1r3b1x1b1w2b3w1b1x1",
        "x1b1r1w4r1b1x2b4x2b1r1w2b3x2", "x2b1r4b1x10b1r3b1x3", "x3b4x12b3x4"
    ])

SophiaLeft02 = sprite(
    palette={
        "b": NES_PALETTE_HEX[0, 13],
        "w": NES_PALETTE_HEX[3, 0],
        "r": NES_PALETTE_HEX[0, 5],
    },
    matrix=[
        "x10b15x1", "x9b1w2b2w2b1w1b3w4b1", "x1b8w1b2w4b6w3b1",
        "b1w2b1w4b3w5b4w1b2w1b1x1", "b1w2b1w4b3w4b4w1r2b2x2",
        "b1r2b1r4b3w3b1w1r2w1r4b1x2", "x1b13w1b2r6b1x2", "x8b1w1r8b5x3",
コード例 #13
0
ArthurArmoredRunRight01 = sprite(palette={
    "b": NES_PALETTE_HEX[0, 13],
    "w": NES_PALETTE_HEX[3, 0],
    "r": NES_PALETTE_HEX[0, 6],
    "o": NES_PALETTE_HEX[1, 8],
    "s": NES_PALETTE_HEX[3, 13],
},
                                 matrix=[
                                     "x7b2w1b1x5",
                                     "x5b1w1b1w3b1x4",
                                     "x4b1w1b1w5x4",
                                     "x4w1b1w6x4",
                                     "x4w3b3w1b1x4",
                                     "x4w1b2s1b1s2b1x4",
                                     "x4b1w1o1s4b1x4",
                                     "x4b3o4b1x4",
                                     "x1b1w3b1w1b2o3x4",
                                     "b1w4b1w2b2o2x4",
                                     "b3w1b2w4b1w1b1x3",
                                     "b1w2b2w5b1w1b1x3",
                                     "b1w2b3w3b2w1b1x3",
                                     "b3w1b6r1b1x4",
                                     "x1w3b1r7b1w1x2",
                                     "x1b1w3b1w4r1w1b2x2",
                                     "x2b1w2b3w4b1x3",
                                     "x3b3w1b2w2b2x3",
                                     "x4b2w2b4w1b1x2",
                                     "x3b1w2b2x2b3x3",
                                     "x2b2w4x2b1w2b1x2",
                                     "x2b1w4b1x2b1w2b1x2",
                                     "x2b1w3b3x1b1w3b1x1",
                                     "x3b1w4b1x1b1w4b1",
                                 ])
コード例 #14
0
from core import sprite

DWHeroPrincessSouth01 = sprite(
    palette = { 
        "b":NES_PALETTE_HEX[0, 1],
        "r":NES_PALETTE_HEX[0, 7],
        "w":NES_PALETTE_HEX[3, 0],
        "s":NES_PALETTE_HEX[3, 13],
        
    },
    matrix = [
        "x2r2w1r1w1x1b4x3w1",
        "x1r1w1r2w2r1b5w3",
        "r3w2r3w4b1w2x1",
        "r2w1r5b6x2",
        "r6s1r1b1s2b1s1b1x2",
        "r4s1r1s1r1b1s2b1s2b2",
        "r3s2r1s1r1s5b3",
        "r4s3r1b1s2b4s1",
        "r3w3r1w2r2w3r1s1",
        "x1r2w2s4r1w1r2w2r1",
        "x2s1r1w5r1w3r2w1",
        "x3s1r1w3r1s2r1w3r1",
        "x4w3r4w1r1w3",
        "x5s4w3r1w2x1",
        "x5s4w2r1w2x2",
        "x5r4x7",
        
    ]    
)

DWHeroPrincessSouth02 = sprite(
コード例 #15
0
ScroogeWalkRight01 = sprite(
    palette = { 
        "b":NES_PALETTE_HEX[0, 13],
        "w":NES_PALETTE_HEX[3, 0],
        "r":NES_PALETTE_HEX[1, 6],
        "y":NES_PALETTE_HEX[2, 8],
        "l":NES_PALETTE_HEX[3, 1],
    },
    matrix = [
        "x13b6x4",
        "x12b4w1b3x3",
        "x11b5w2b2x3",
        "x11b6w1b2x3",
        "x11b6r1b2x3",
        "x12b4r3b1x3",
        "x13b2r1b7",
        "x11b5w3b1w1b1x1",
        "x10b5w1l2w2l1w1x1",
        "x10b4w1l4w1l2x1",
        "x12b2w1l2b2w1b1l1x1",
        "x12w3l2b2w1b1l1w1",
        "x9b4w3l1b2y1b1y1w1",
        "x7b2r2b1w2b1y3w1l1y1l1x1",
        "x6b1r4b6y6",
        "x4b2r6b2w1b8",
        "x3b1w1b2r1b2r2b6x2b2x1",
        "x3b1w1b4r3b2r3b3w2b1",
        "x4b1w2b3r4b1w1r1b1r2w2b1",
        "x4b1w2b1w1b1r4b2r1b1r3b1x1",
        "x4b4w2b2r5b4x2",
        "x3b1y1b2w4b6x1b2x3",
        "x2b1y1b1x1b1w9b2y2b1x2",
        "x1b1y1b1x1b1x1b2w1y3b2w1b1y3b1x2",
        "b1y1b1x1b1y1b1y2b3y3b1y4b1x2",
        "y1b1x2b1y3b1x3b2y1b1w2y1b1x3",
        "b1x3b1w1b2x6b1y1w2b1x4",
        "x4b1w2b2x5b1y2b1x5",
        "x4b1y4b1x5b2x6",
    ]    
)
コード例 #16
0
ColScottOConnorWalkRight01 = sprite(palette={
    "b": NES_PALETTE_HEX[0, 13],
    "d": NES_PALETTE_HEX[0, 6],
    "l": NES_PALETTE_HEX[1, 6],
    "w": NES_PALETTE_HEX[3, 0],
},
                                    matrix=[
                                        "x14b6x2",
                                        "x11b3d1l5b1x1",
                                        "x7b4d1l9b1",
                                        "x4b3d1l13b1",
                                        "x2b2d1l16b1",
                                        "x1b1d1l14w1l1w1l1b1",
                                        "b1d1l1d3l7d3l3w1b1x1",
                                        "x1b1d1b3d8w2d1l1b3x1",
                                        "x2b1x3b6d1w4d2b1x2",
                                        "x11b1d1w3d3b1x2",
                                        "x10b1d1w3d4b1x2",
                                        "x10b1d1w2d1w2d2b1x2",
                                        "x10b1d1w5d1l2b1x1",
                                        "x11b1d1w4d1l2b1x1",
                                        "x10b1d4w3d1b1x2",
                                        "x9b1d4w1d4b1x2",
                                        "x10b1d2w4d1b1x3",
                                        "x11b1d1w5d1b1x2",
                                        "x12b1d1w4d1b1x2",
                                        "x12b1d2w4b1x2",
                                        "x11b1d1w6b1x2",
                                        "x10b1d1w7b1x2",
                                        "x10b1d1w1d1w4b1x3",
                                        "x9b1d1l1d1w1d2w2b1x3",
                                        "x8b1d1l3d1w3b1x4",
                                        "x8b1d1l3d2b2x5",
                                        "x9b1d1l3d1b1x6",
                                        "x10b1d5b1x5",
                                        "x11b2d1l2b1x5",
                                        "x13b3x6",
                                    ])