Palette Script
Authors: Wecoc
Version: 1.1
Type: Misc Add-on
Key Term: Misc Add-on
IntroductionThis script allows to obtain and modify a bitmap palette in-game.
This new property will be stored in $game_system so it will be saved when you save the game.
Features
- Gets the palette of any type of graphic
- Graphics are not modified, only its display on the game
Screenshots(http://s8.postimg.org/8tgwm1lxt/Aluxes.png)
Default Aluxes with an alternative palette changed in-game
DemoPalette Script v1.1 (http://share.cherrytree.at/showfile-15981/palette_script_11.zip)
InstructionsConfiguration and callers on the script. It's easy to use!
Is is possible to get a RMX-OS addon for this?
Quote from: whitespirits on July 28, 2014, 01:39:59 pm
Is is possible to get a RMX-OS addon for this?
I don't know exactly how RMX-OS works but I think it would be so hard, if it's even possible.
RMX-OS does not change so much the Cache, so probably you could use this script anyway within the RMX-OS but others would no see the change.
Out of RMX-OS, this script changes the display of a certain graphic from the Cache, if you change the palette of any thing, every time you display that, it will have the modified palette. The only way to have the same graphic with both palettes is with a copy of the file in its folder (so it's not really the same). Those are not good news for a online system.
Maybe you can do this for RMX-OS with an entirely new approach.
(I did this in that way so get_pixel is only used once)
(http://puu.sh/avsha/315cce6e70.png)
Have you ever considered using a DLL since Ruby's set/get pixels are pretty slow (and you did state a maximum palette size of 64 to prevent lag)?
I thought that, and it would be great to implement. In normal graphics there is no lag but with big ones it's a problem. But I'm not an expert of this type of things, and I don't know a good dll to use a faster get/set pixel instead of the default.
(http://puu.sh/avsha/315cce6e70.png)
hahahahahahahahahahahhaha