Example

PIXEL COPY (like bg copy)

1

SP4CEBAR 2022-11-16 20:18 (Edited)

This is one of the hardest things I've ever done

I made a subprogram (CCOP6) that can shift and crop characters of any size by any amount. This is all done on the data level: without decoding and encoding (I liked the challenge). With this, I should be able to make a copy function (like BG COPY).

Such a copy function can be used to make an animated character that loads its pixels from a texture map so that you can customize the character while keeping the same animation

DEMO:
Tap the center of the screen to properly position the character (otherwise you'll see modern art), dragging changes parameters depending on the mode

tap on the right side of the screen to switch the mode

Modes:
0: MOV: dragging moves the character around
1: X2: dragging crops the end (X2) off the character
2: X1: dragging moves the character, pixels past X1 get cropped off X1 and X2 are shown on the source image with white dots

Char Copy.nx | Open in app
2022-11-17 09:02
Char Copy.nx | Open in app
2022-11-16 20:18

SP4CEBAR 2022-11-17 09:03

I added the little 1-pixel sprites that indicate the crop locations on the image, with this I could make the copy function


SP4CEBAR 2022-11-17 09:17

COPYO3 is the subprogram with the COPY function


Log in to reply.