Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
Guest Raziel

Actor/Enemy HP Bars

Recommended Posts

Guest Raziel

  • Author: Raziel
  • Version: 1.1

Introduction

This script allows you to display the character's HP/SP and the Enemy's HP on the battle screen.

 

The Script

ActorEnemy HP Bars.zip

 

Instructions

Nothing much to say, you just need to paste it in a new window above main.

 

FAQ

How do I display the enemy's name?

self.contents.draw_text(@enemy.screen_x - 39, @enemy.screen_y - 22, 100, 32, "#{@percent}" + "%")

add this line:

self.contents.draw_text(@enemy.screen_x - 45, @enemy.screen_y - 42, 100, 32, "#{@enemy.name}")

 

Credits & Thanks

Credits and thanks to SephirothSpawn for the gradient bars script. Thanks to Queed for the original code I based this script on.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...