#Mirror Settter by LBQ # pictures(1).mirror = true # 1 is the index class Spriteset_Map #-------------------------------------------------------------------------- # =-= #-------------------------------------------------------------------------- def update_pictures $game_map.screen.pictures.each do |pic| @picture_sprites[pic.number] ||= Sprite_Picture.new(@viewport2, pic) @picture_sprites[pic.number].mirror = $game_map.screen.pictures[pic.number].mirror if $game_map.screen.pictures[pic.number].mirror @picture_sprites[pic.number].update end end end class Game_Picture attr_accessor :mirror end class Game_Interpreter def pictures(index) return $game_map.screen.pictures[index] end end
#Mirror Settter by LBQ
# pictures(1).mirror = true # 1 is the index
class Spriteset_Map
#--------------------------------------------------------------------------
# =-=
#--------------------------------------------------------------------------
def update_pictures
$game_map.screen.pictures.each do |pic|
@picture_sprites[pic.number] ||= Sprite_Picture.new(@viewport2, pic)
@picture_sprites[pic.number].mirror = $game_map.screen.pictures[pic.number].mirror if $game_map.screen.pictures[pic.number].mirror
@picture_sprites[pic.number].update
end
end
end
class Game_Picture
attr_accessor :mirror
end
class Game_Interpreter
def pictures(index)
return $game_map.screen.pictures[index]
end
end
|