- Joined
- Mar 17, 2012
- Messages
- 164
- Reaction score
- 150
- First Language
- French
- Primarily Uses
; )
Archeia > Nope, there's no invert color function in it.
Whatever, I've made one as fast as I could : https://www.dropbox.com/s/o7i4u51dkschjor/InvertColors.dll
You put the dll in the System folder of your game and you add this script :
: )
Archeia > Nope, there's no invert color function in it.
Whatever, I've made one as fast as I could : https://www.dropbox.com/s/o7i4u51dkschjor/InvertColors.dll
You put the dll in the System folder of your game and you add this script :
Code:
class Bitmap InvertColors = Win32API.new('System/InvertColors','InvertColors','i','') def invert_colors InvertColors.call(__id__<<1) rescue nil clear_rect(0, 0, 0, 0) # for internal use endendclass Game_Map_Effects attr_accessor :invert_colors alias addon_clear clear def clear addon_clear @invert_colors = false end alias addon_active? active? def active? @active and (@invert_colors or addon_active?) endendclass Spriteset_Map_Effects alias addon_refresh_bitmaps refresh_bitmaps def refresh_bitmaps addon_refresh_bitmaps @effects_bitmaps[0].invert_colors if @data.invert_colors endend
Last edited by a moderator:


