When my character levels up, I would like for the words "Level Up" to appear over the sprite similar to the way the damage text does.
I fiddled around with the default script a little but I'm probably changing the wrong thing.
In Window_BattleStatus I changed line 44 to : self.contents.draw_text(self.x, self.y, 160, 20, "LEVEL UP!")
But now I can't even see the words. I tried some other things too, but they moved the text off to the side of the screen. I am using a side view battle system by Paradog but this should not affect what I'm trying to do, hopefully.
Here's what that whole section looks like:
As you may have probably noticed, I've been asking quite a few questions lately. I have a bit of time now to work on my project but I keep running into these little speed bumps. Any help would be greatly appreciated.
Oh, and one more thing: How do I get rid of the text [Normal] at the bottom of the character's stats in the battle screen? And then, when a character is inflicted with a status ailment, how do I get rid of the brackets?
I fiddled around with the default script a little but I'm probably changing the wrong thing.
In Window_BattleStatus I changed line 44 to : self.contents.draw_text(self.x, self.y, 160, 20, "LEVEL UP!")
But now I can't even see the words. I tried some other things too, but they moved the text off to the side of the screen. I am using a side view battle system by Paradog but this should not affect what I'm trying to do, hopefully.
Here's what that whole section looks like:
Code:
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors[i]
actor_x = i * 160 + 4
draw_actor_name(actor, actor_x, 0)
draw_actor_hp(actor, actor_x, 32, 120)
draw_actor_sp(actor, actor_x, 64, 120)
if @level_up_flags[i]
self.contents.font.color = Color.new(255, 255, 128, 255)#added color
self.contents.draw_text(self.x, self.y, 160, 20, "LEVEL UP!")
self.contents.font.size = 22#added
self.contents.font.bold = true#added
Audio.se_play('Audio/SE/decide10', 90, 100)#added
else
draw_actor_state(actor, actor_x, 96)
end
end
end
As you may have probably noticed, I've been asking quite a few questions lately. I have a bit of time now to work on my project but I keep running into these little speed bumps. Any help would be greatly appreciated.
Oh, and one more thing: How do I get rid of the text [Normal] at the bottom of the character's stats in the battle screen? And then, when a character is inflicted with a status ailment, how do I get rid of the brackets?