03-05-2014, 02:11 PM
(01-18-2014, 05:46 PM)MechanicalPen Wrote: in Scene_Item.update you'll need to check the index of the slot selected, and then call your_sprite.flash(Color.new(0,0,0), 12) and don't forget to call your_sprite.update in Scene_Item.update as well.In Scene_Item? Or in Scene_Equip?
Edit:
I went to update_right in Scene_Equip and called the Sprite.new defined as lefthand and then tryied to make it flash, however, it says that 'flash' is an undefined method :/
In Window_EquipRight
@lefthand = Sprite.new
@lefthand.bitmap = RPG::Cache.picture("left")
@lefthand.x = 0
@lefthand.y = 158
In Scene_Equip
def update_right
# FLASHING
if @right_window.index == 0
@lefthand.flash(Color.new(0,0,0), 12)
end
I'm looking for a scripter to help me with my proyect. Need some minor adjustments-modifications and some larger codes. The larger ones will be remunerated :) Thanks beforehand.