VXACE - GALV's Invader Mini Game Modification for HUD Image

Hey there, needed a short little modification to GALV's Invader Minigame script. Basically, I was hoping someone could help me figure out how to add an extra image between the backdrop image and the score/health/power-up section. Basically, so I can put an image between those two layers to act as a HUD of sorts.

I don't quite get RUBY coding enough to do it myself, but I'd assume it'd take maybe five or six lines of coding to throw that in there, right?

Link to GALV's Invader Minigame: https://galvs-scripts.com/2013/03/18/invader-mini-game/

Any help would be deeply appreciated.

Also, I got Galv's permission to go to these forums to ask for help in this matter, go to the comments on that link and you'll find where he says to do just that because he's too busy to work on it.
'Scripts' is where people who have written scripts that they want to share with the community can post them.
Moved to: RGSS3 Script Requests
'Scripts' is where people who have written scripts that they want to share with the community can post them.
Moved to: RGSS3 Script Requests
My bad! Thank you very much. I actually thought I put it into requests and not directly into scripts. Whoopsies.
I second this! I'm using this mini game in my project too but that standard health bar be ugly!!! its a great script though!
I second this! I'm using this mini game in my project too but that standard health bar be ugly!!! its a great script though!

I know right? I've customized the background and I'm going to customize the ships soon too, but the HUD would be amazing to edit. I saw somewhere that someone had done it for a Final Fantasy-based game, saw a screenshot and they had figured it out, so it IS possible
What's the name of the game that did it?
What's the name of the game that did it?
https://rpgmaker.net/games/4071/
Final Fantasy Discovery is the name of the game
I would have liked to see what it looked like. I don't see a picture of the invader mini game.
I would have liked to see what it looked like. I don't see a picture of the invader mini game.
https://rpgmaker.net/games/4071/images/51498/
There's the direct link to the picture's entry on that game page, and here's the actual picture itself.
Spoiler
Airship_Assault.PNG
Bumpity-bump?
There you go:
Spoiler
Code:
class Scene_Invaders < Scene_Base

  def init_back_new
    @back_new = Sprite.new
    @back_new.bitmap = Cache.space("filename_here") # Set the filename here
    @back_new.x = 0 # X position
    @back_new.y = 0 # Y position
    @back_new.z = 0 # Z level
    @back_new.opacity = 255 # Opacity ( from 0 to 255 )
  end
 
  alias add_back7725 create_backdrop
  def create_backdrop
    add_back7725
    init_back_new
  end
 
  alias disp_back9926 dispose_graphics
  def dispose_graphics
    disp_back9926
    @back_new.bitmap.dispose
    @back_new.dispose
  end
 
end
Put this right below Galv's mini-game script.
Change the filename to whatever name your image got. It is loaded from the same folder all the other images are in.
Awesome @Sixth , works well. Now I just realized that there are undisposed graphics in the original script. Need to figure that out.
Spoiler: not disposed? argh.
invader1sprites.png
There you go:
Spoiler
Code:
class Scene_Invaders < Scene_Base

  def init_back_new
    @back_new = Sprite.new
    @back_new.bitmap = Cache.space("filename_here") # Set the filename here
    @back_new.x = 0 # X position
    @back_new.y = 0 # Y position
    @back_new.z = 0 # Z level
    @back_new.opacity = 255 # Opacity ( from 0 to 255 )
  end
 
  alias add_back7725 create_backdrop
  def create_backdrop
    add_back7725
    init_back_new
  end
 
  alias disp_back9926 dispose_graphics
  def dispose_graphics
    disp_back9926
    @back_new.bitmap.dispose
    @back_new.dispose
  end
 
end
Put this right below Galv's mini-game script.
Change the filename to whatever name your image got. It is loaded from the same folder all the other images are in.

Thanks a bunch! This is amazing!
Here's what I've worked on so far when it comes to the code you wrote for this. Again, I cannot thank you enough, you've opened the doors to limitless possibilities.
Spoiler: HUD Screenshot (Invaders)
InvadersNewRegSize.png

Awesome @Sixth , works well. Now I just realized that there are undisposed graphics in the original script. Need to figure that out.
Spoiler: not disposed? argh.

There's undisposed graphics in the original, eh? How interesting, I never knew that! o.o

Original thread: https://forums.rpgmakerweb.com/threads/vxace-galvs-invader-mini-game-modification-for-hud-image.82552/