Log In  


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

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! :)

44


1

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


1

fabulous spritework as always


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


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


@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


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.


I just want to play the parrot game.


@BoneVolt Thanks a lot, great tool. I was looking for some color combinations and try to get understand this pal({...},[0,1,2]) and made some "programming" to test.
This has even mouse control. And works in a cart,just copy paste. Amazing!



[Please log in to post a comment]