• Posted by : LiTTleDRAgo Sep 11, 2013



    Explanation

    This script can make you have a full access to character sprite in map

    Instruction

    Needs Drago - Core Engine v1.27 or later to work

    To change character sprite with other image
    (XP uses RPG::Cache while VX and VX-A uses Cache)

    $game_map.events[1].bitmap = RPG::Cache.battler('001-Fighter01')
    $game_map.events[2].bitmap = RPG::Cache.icon('001-Potion01')
    $game_map.events[3].bitmap = Cache.system('Iconset')
    $game_map.events[3].bitmap.src_rect.set(24,0,24,24)

    To add an effect to character sprite

    $game_map.events[1].bitmap.invert! 
    $game_map.events[1].bitmap.frost! 
    $game_map.events[1].bitmap.clear

    You can use all kind of methods in Bitmap class

    To reset character sprite back to normal

    $game_map.events[1].bitmap.reset_bitmap

    Compatibility

    Will cause trouble with something that alters Sprite_Character

    Notes

    You can use all methods in Sprite_Character as well, but it will get resetted when player changing scene
    It's impossible to alter some variable because it's been locked in update method

    $game_map.events[1].bitmap.blend_type = 1 # Immediately get resetted by @character.blend_type



    Leave a Reply

    Subscribe to Posts | Subscribe to Comments

  • Copyright © 2013 - Hyperdimension Neptunia

    LilGamers - Powered by Blogger - Designed by Johanes Djogan