View Single Post
  #4    
Old June 27th, 2012 (11:23 AM).
xalien95's Avatar
xalien95 xalien95 is offline
Developer of Pokémon Omicron
     
    Join Date: Jan 2011
    Location: Italy, Monopoly
    Age: 21
    Gender: Male
    Posts: 76
    If you have basic rgss knowledges, to:
    - change the font, you have to import the new font in the game (editing SpriteWindow and PokemonLoad) and call it with the command bitmap.font.name = ["name_of_the_new_font"]
    - change coordinates of HP and EXP bar, you have to find something like this
    Code:
    # fill with HP color
        hpGaugeX=PokeBattle_Scene::HPGAUGE_X
        hpGaugeY=PokeBattle_Scene::HPGAUGE_Y
        expGaugeX=PokeBattle_Scene::EXPGAUGE_X
        expGaugeY=PokeBattle_Scene::EXPGAUGE_Y
        self.bitmap.fill_rect(@spritebaseX+hpGaugeX,hpGaugeY,hpgauge,2,hpcolors[hpzone*2])
        self.bitmap.fill_rect(@spritebaseX+hpGaugeX,hpGaugeY+2,hpgauge,4,hpcolors[hpzone*2+1])
        if @showexp
          # fill with EXP color
          self.bitmap.fill_rect(@spritebaseX+expGaugeX,expGaugeY,self.exp,2,PokeBattle_Scene::EXPCOLORSHADOW)
          self.bitmap.fill_rect(@spritebaseX+expGaugeX,expGaugeY+2,self.exp,2,PokeBattle_Scene::EXPCOLORBASE)
        end
    and edit
    - change coordinates of boxes, you have to find and edit this
    Code:
    if (@battler.index&1)==0 # if player's Pokémon
          @spritebaseX=34
        else
          @spritebaseX=16
        end
        yoffset=(Graphics.height-320)                       # Adjust for screen size
        if doublebattle
          case @battler.index
            when 0
              @databox=AnimatedBitmap.new("Graphics/Pictures/battlePlayerBoxD")
              @spriteX=224+Graphics.width-480
              @spriteY=102+yoffset
            when 1 
              @databox=AnimatedBitmap.new("Graphics/Pictures/battleFoeBoxD")
              @spriteX=-4
              @spriteY=2
            when 2 
              @databox=AnimatedBitmap.new("Graphics/Pictures/battlePlayerBoxD")
              @spriteX=236+Graphics.width-480
              @spriteY=162+yoffset
            when 3 
              @databox=AnimatedBitmap.new("Graphics/Pictures/battleFoeBoxD")
              @spriteX=-16
              @spriteY=62
          end
        else
          case @battler.index
            when 0
              @databox=AnimatedBitmap.new("Graphics/Pictures/battlePlayerBoxS")
              @spriteX=236+Graphics.width-480
              @spriteY=128+yoffset
              @showhp=true
              @showexp=true
            when 1 
              @databox=AnimatedBitmap.new("Graphics/Pictures/battleFoeBoxS")
              @spriteX=-16
              @spriteY=36
          end
        end
    Reply With Quote