Hello guys. I'm a fresh user, although I've always been around as a visitor. My issue is: I tried implementing woratanas' script for Picture Below Character in RMAce (originally for RGSS2). It works, but it is generating a minimal lag.
class Spriteset_Map FIRST_PICBELOW_ID = 5 # First ID of picture that will show below characters LAST_PICBELOW_ID = 10 # Last ID of picture that will show below characters alias wora_picbelow_sprsetmap_crepic create_pictures def create_pictures(*args) wora_picbelow_sprsetmap_crepic(*args) for pic_id in FIRST_PICBELOW_ID..LAST_PICBELOW_ID @picture_sprites[pic_id].dispose if @picture_sprites.include? pic_id @picture_sprites[pic_id] = Sprite_Picture.new(@viewport1,$game_map.screen.pictures[pic_id]) end endend
Developer's Website: http://boxsuke.exteen.com/20090224/vx-picture-below-characters-script-by-woratana
It's not something that would affect gameplay drastically, but I wish it could be avoided. Is there something to be done about it?
class Spriteset_Map FIRST_PICBELOW_ID = 5 # First ID of picture that will show below characters LAST_PICBELOW_ID = 10 # Last ID of picture that will show below characters alias wora_picbelow_sprsetmap_crepic create_pictures def create_pictures(*args) wora_picbelow_sprsetmap_crepic(*args) for pic_id in FIRST_PICBELOW_ID..LAST_PICBELOW_ID @picture_sprites[pic_id].dispose if @picture_sprites.include? pic_id @picture_sprites[pic_id] = Sprite_Picture.new(@viewport1,$game_map.screen.pictures[pic_id]) end endend
Developer's Website: http://boxsuke.exteen.com/20090224/vx-picture-below-characters-script-by-woratana
It's not something that would affect gameplay drastically, but I wish it could be avoided. Is there something to be done about it?