Log In  

Cart #painto_8_lite-2 | 2020-10-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
15

Have you ever wanted to edit the screen palette of your carts on the fly? Now you can!

Using the secret palette can be hard because you need to go back and forth between the sprite editor and code, and you can't look at which color you're selecting.

Painto-8 Lite enables you to change the palette of your games during gameplay (at the cost of 407 tokens), making the process a lot easier!

Step 1

Copy the code from this cart to the cart of your choice. You have to copy everything below line #40. Paste at the end of your code, preferably in a separate tab.

Step 2

Run your cart. Right-click anywhere on the screen to open the palette selector. Select a color in the first row, and change it by clicking on a color in the second row. You can swap between the normal and hidden palettes on the "pal" tabs.

Step 3

Painto-8 Lite automatically saves your new palette in the clipboard. Go to the end of your _DRAW() function and paste your new palette there to make it permanent. You can also edit your sprites in the sprite tab with the new colors.

Step 4

Once you're done using Painto-8 Lite, erase the code injected in step 1!

Let me know if this is useful for you! :)

P#82916 2020-10-14 01:24 ( Edited 2020-10-14 02:45)

:: Athas
1

Looking good, I didn't realise I needed to right click.

P#82924 2020-10-14 10:06 ( Edited 2020-10-14 11:53)
:: Numzyx
1

fabulous spritework as always

P#82925 2020-10-14 11:12

@Athas Weird, it works for me. Did you right-click on the screen? Otherwise, the palette won't pop up.

P#82927 2020-10-14 11:42
:: Athas

Also I didn't think it was possible to have both palettes visible at the same time but it looks like you do that.

P#82930 2020-10-14 11:54

@Athas It's a feature added a few months ago. I made a post at the time explaining how it works, with several examples: https://www.lexaloffle.com/bbs/?tid=38565

P#82931 2020-10-14 12:01
:: Athas
1

@BoneVolt thank you. Thats really neat feels like all the types of hacks I used to see(but never implement) on real 8 bit computers.

P#82933 2020-10-14 14:10

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-10-25 23:02 | 0.074s | 2097k | Q:49