• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

HP bars, custom style

hirokimura

Miltank's Fanboy Number One
150
Posts
6
Years
Hey !
I was bored with HP bars so I made some.
EDIT : forgot the preview !
http://prntscr.com/k32hev

Those are edited rips from Danganronpa trigger happy havoc game. Ressource can be found on spriter's

Juste replace your graphics with this
https://imgur.com/a/B1SajKM

And change this line in pokebattle_scene replace line 625-626 with this
HTML:
    base   = Color.new(244,244,244)
    shadow = Color.new(0,0,0)

Well, just ctrl f base and take the one after this comment
#===============================================================================
# Data box for regular battles (both single and double)
#===============================================================================

EDIT : To fix the text position in the box like this
http://prntscr.com/khsr84
Spoiler:

No credit required, edits are okay, have fun !
 
Last edited:
15
Posts
5
Years
  • Age 28
  • Seen Apr 13, 2019
Is there anyway of putting the pok?mon names a little bit higher so that they become a little more visible?
 

hirokimura

Miltank's Fanboy Number One
150
Posts
6
Years
Hey Joaom ^^
I'll look at this. To be fair, I don't know about scripting so It'll require some time to figure what is the text position thing for pokemons, let me few days and I'm yours :3

EDIT, FIXED THIS !
http://prntscr.com/khsr84

In pokebattle scene look for this :
# Draw pokemon's name
Select the part just after this comment, until the line :
#Draw shiny icon

And paste this instead
# Draw Pok?mon's name
textpos.push([@battler.name,@spritebaseX+8,2,false,base,shadow])
# Draw Pok?mon's gender symbol
genderX = self.bitmap.text_size(@battler.name).width
genderX += @spritebaseX+14
case @battler.displayGender
when 0 # Male
textpos.push([_INTL("?"),genderX,2,false,Color.new(48,96,216),shadow])
when 1 # Female
textpos.push([_INTL("?"),genderX,2,false,Color.new(248,88,40),shadow])
end
pbDrawTextPositions(self.bitmap,textpos)
# Draw Pok?mon's level
pbSetSmallFont(self.bitmap)
imagepos.push(["Graphics/Pictures/Battle/overlay_lv",
@spritebaseX+180-self.bitmap.text_size(@battler.level.to_s).width,16,0,0,-1,-1])
textpos = [
[@battler.level.to_s,@spritebaseX+202,8,true,base,shadow]
]
# Draw Pok?mon's HP numbers
if @showhp
hpstring = _ISPRINTF("{1: 2d}/{2: 2d}",self.hp,@battler.totalhp)
textpos.push([hpstring,@spritebaseX+188,46,true,base,shadow])
end
pbDrawTextPositions(self.bitmap,textpos)
# Draw shiny icon
 
Last edited:
15
Posts
5
Years
  • Age 28
  • Seen Apr 13, 2019
The sprites are amazing and now look even greater thanks alot!
 
Last edited:
Back
Top