The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: ThallionDarkshine on December 31, 2012, 01:09:22 PM

Title: [XP][VXA] Design a HUD (WIP)
Post by: ThallionDarkshine on December 31, 2012, 01:09:22 PM
Alright, so I'm working on a really customizable HUD framework. It uses a language sort of like HTML, only not as great. Right now I'm working on adding new features and elements and stuff like that, but if anyone would like to try it out, here's the script. This is basically a tool for non-scripters to create awesome-looking huds that look exactly how they want them to look.

RMVXA Script (http://pastebin.com/raw.php?i=DdWVeuu5)

  I originally started making this in RMXP, but ported it over to RMVXA when it appeared that I had found a bug in RMXP's ruby interpreter. However, I just tried back-porting it to RMXP, and it worked. So now, I will resume development in RMXP. Here is the current RMXP version of the script:

RMXP Script (http://pastebin.com/raw.php?i=qz8c20cD)

  And here's the list of elements and properties that I've already implemented:

<hud>
  Properties Implemented:
    windowskin=FILENAME
    bg=FILENAME
    width=WIDTH
    height=HEIGHT
    align=ALIGN
    offsetx=OFFSETX
    offsety=OFFSETY
    back_opacity=OPACITY
    contents_opacity=OPACITY
    opacity=OPACITY
    skin_tone=R:G:B (VXA only)
<ln></ln>
<right></right>
<left></left>
<center></center>
<pos x=X y=Y></pos>
<offset x=X y=Y></pos>
<ico=X:Y> (VXA only)
<ico=FILENAME> (XP only)
<pic=FILENAME>
<b></b>
<i></i>
<c=R:G:B[:A]></c>
<font=NAME:SIZE></font>


Edit - Here's a screenie of some of the different types of gradient bars.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FOS8bK.png&hash=fc50a9c148dcafbb54dbdaaf2801a8d843fa64d1)