Ok so I doing a redo of the battle system it will still work the same way but it will look a lot different and along the way I'm sure to have lots of questions so I'm making a thread for it
Questions:1) Is there a better way to do this? [Answered]
Stretching the battle back to the bottom of the window: ShowHide class Spriteset_Battle
alias atbs_Spritset_Battle_upd_later update
def update
@viewport1.rect = Rect.new(0, 0, 640, 480)
if @battleback_name != $game_temp.battleback_name
@battleback_name = $game_temp.battleback_name
if @battleback_sprite.bitmap != nil
@battleback_sprite.bitmap.dispose
end
@battleback_sprite.bitmap = Bitmap.new(640, 480)
@battleback_sprite.bitmap.stretch_blt(Rect.new(0, 0, 640, 480),
RPG::Cache.battleback(@battleback_name), Rect.new(0, 0, 640, 320))
end
atbs_Spritset_Battle_upd_later
end
end
2)Sprite or Window [simi answered]
ok. so I'm remaking the window battle status into a bar at the top of the screen I made a sprite class that draws a box that holds the actors SP, HP, and status then made another class that creates four instances of the sprite and puts them together into a bar and acts as a buffer so that all the method calls that would work with Window_Battlestatus would have the same effect with my new boxes. (The reason i made them different boxes is so that I could move them separately).
what i want to know is if I made the right choice in picking sprites instead of windows to do the job?
also you know the window that pops up with skill names? should I remake that as a sprite or window?
3) What does $game_temp.battle_proc do when called? [Answered]
4)animated posing battlers [Answered]
so i'm considering an option for my new battle system that would allow animated batterers (like they go up and attack enemies)
I was looking at the Sprite_Battler class and it appeared that I could just change the sprites bitmap based on @battler.current_action am I correct?
also if I wanted to shrink or expand the battler as it got closer the only way i could think of would be to use the stretch_blt method repeatedly changing the destination rect every time. but this seems like a laggy process is there any better way?
5)scrolling battleback [Answered]
how would you get the other side of the battleback appear on the other side of the screen as you move it?