LOGIN
SEARCH
PROFILE
keys: ↑ ↓
LOGOUT
INDEX
MEMBERS
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
keys: ← →
Guest Access
Register:
Members:



View previous topic View next topic Go down Message [Page 1 of 1]

Poster Mcposty
Poster Mcposty
#1 How to make a HUD? Empty How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
Thinking of making a HUD in photoshop but have no idea what to do as far as Health/Mana. Do I make it animated? Do I save it as a .gif? How do I put in the RPGXP script database?
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
Poster Mcposty
Poster Mcposty
#2 How to make a HUD? Empty Re: How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
Still need help.
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
The only one
The only one
#3 How to make a HUD? Empty Re: How to make a HUD?
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
What do you mean exactly?
The only one
Show Signature


___________________________________________________________________________

Booyah!

...._
._|_|_
. ( ')>
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
Administrator
Administrator
#4 How to make a HUD? Empty Re: How to make a HUD?
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
@M\'s trade mark

for RMXP do you have a script ~ or would like to use one and edit, make a new one?

for Photoshop do you have a mock up? I always use .png format for graphics

what is it you want to display?
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
Poster Mcposty
Poster Mcposty
#5 How to make a HUD? Empty Re: How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
I'm sure a used one would work and I'll just edit it.
I didn't make one yet, I'm just making sure that I can actually do it first. It'll take a few hours to make it though.

@nuka: I just mean the entire process of how to put it in RPGXP.
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
The only one
The only one
#6 How to make a HUD? Empty Re: How to make a HUD?
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
If you know already how to program, take a look at my karma script. There's a class named Karma_Hud and the other is an aliased update of Scene_Map.

Else I'll explain how.
The only one
Show Signature


___________________________________________________________________________

Booyah!

...._
._|_|_
. ( ')>
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
Poster Mcposty
Poster Mcposty
#7 How to make a HUD? Empty Re: How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
I think an explanation would help more.. haha
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
The only one
The only one
#8 How to make a HUD? Empty Re: How to make a HUD?
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
Let's see, do you know how work a basic window? It's the SAME thing. Instead of printing text, you must call a method in window base. Be careful, in my script, I made my own drawing method. You must set the opacity of the window to 0, like that, you won't see the blue ugly window, only the picture. You make a switch, like that you can turn On or OFF your HUD. And you must update it in Scene_Map. The alias make you can add something in the update method without replacing it. You must alias the main too, like that, when the scene change, the HUD is dispose. You change the picture with the conditions.

Code:
#==============================================================================
# ** Karma_Hud
#------------------------------------------------------------------------------
#  This class handles the karma HUD.
#==============================================================================
class Karma_Hud < Window_Base
  include NuKaBuBbles_Karma
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    super(HUDX, HUDY, 640, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.opacity = 0
    refresh
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    self.contents.font.size = 24
    length = 1
    length = 0 if $game_party.karma.abs.to_s.size == 1
    length = ($game_party.karma.abs.to_s.size * 15) - (48 / 2) if $game_party.karma.to_s.size > 2
    if $game_party.karma >= Good
      draw_picture(-4, 2, 0, 0, 1, 1, Good_Pic)
      draw_numbers(16+48+length, 0, $game_party.karma, Number_Pic, 0, 0, 3, 0)
    elsif $game_party.karma <= Evil
      draw_picture(-4, 2, 0, 0, 1, 1, Evil_Pic)
      draw_numbers(16+48+length, 0, $game_party.karma, Number_Pic, 0, 0, 3, 2)
    else
      draw_picture(-4, 2, 0, 0, 1, 1, Neutral_Pic)
      draw_numbers(16+48+length, 0, $game_party.karma, Number_Pic, 0, 0, 3, 1)
    end
    if $game_switches[KPSWITCH] == true
      self.visible = true
    else
      self.visible = false
    end
  end
end

#==============================================================================
# ** Scene_Map
#------------------------------------------------------------------------------
#  This class performs map screen processing.
#==============================================================================
class Scene_Map
  include NuKaBuBbles_Karma
  #--------------------------------------------------------------------------
  # * Main
  #--------------------------------------------------------------------------
  alias karma_hud_main main
  def main
    @karma_hud = Karma_Hud.new
    karma_hud_main
    @karma_hud.dispose
  end
  #--------------------------------------------------------------------------
  # * Update
  #--------------------------------------------------------------------------
  alias karma_hud_update update
  def update
    karma_hud_update
    @karma_hud.refresh
  end
end
The only one
Show Signature


___________________________________________________________________________

Booyah!

...._
._|_|_
. ( ')>
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
Poster Mcposty
Poster Mcposty
#9 How to make a HUD? Empty Re: How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
Sorry, but I have absolutely no idea how to work a window, haha.
I haven't used RPGmaker in about 2 years and I wasn't the best at it and I've forgotten just about how everything goes in RPGXP.
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
C.O.R.N.
C.O.R.N.
#10 How to make a HUD? Empty Re: How to make a HUD?
Loading

BluE

BluE
C.O.R.N.
C.O.R.N.
C.O.R.N.
profile
I think what NuKa is saying is:

When you make a window in RMXP using script, you put your HUD graphic into it and then set the window's opacity to 0 so that you can only see the image.
Since it's a HUD and it tells your current status, it must be constantly updated via the "Scene_Map" script. There are also other ways to update it without replacing it (to reduce lag I guess).

That ends my cryptology skillage...
C.O.R.N.
Show Signature


Want a real challenge? Try Crack this code!

If you read this message, please PM me. this is a test. And I'm serious, this isnt just some lousy time wasting paragraph that I wrote just to fill in my signature. It's here for a reason. PM ME.
C.O.R.N.
http://51s-seedy-masteroogway.blogspot.com
The only one
The only one
#11 How to make a HUD? Empty Re: How to make a HUD?
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
Your right BluE. But if you need a tutorial abour window, G@MeF@Ce made a good one here.
The only one
Show Signature


___________________________________________________________________________

Booyah!

...._
._|_|_
. ( ')>
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
Poster Mcposty
Poster Mcposty
#12 How to make a HUD? Empty Re: How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
Ah. I understand now. So how would I exactly place my HUD into RPGXP? I understand importing the graphic but like if I have 100% health, how would I end up putting that into the game, would I have to edit it via script or make 100 images telling of like 99%, 98%, 97% hp?
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
Administrator
Administrator
#13 How to make a HUD? Empty Re: How to make a HUD?
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
well here's a blast from the past ^,^

http://gameface101.playogame.com/t17-rmxp-hearts-and-stars-hp-sp-script

^I was at the stage of being able to edit ready-made hud scripts and then wanted to make a brand new one to learn...

as you will see in the script it searches for the appointed graphics in the "pictures" directory... you could simply assign it to search another folder like the windowskins folder and save your graphics there.

there's also this one

http://gameface101.playogame.com/t5-rmxp-xas-changing-face-hud-script

I will eventually complete this one... but it's good to study for certain code to write out player's class, lvl, etc...

I look forward to your mock-up ^,^
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
Poster Mcposty
Poster Mcposty
#14 How to make a HUD? Empty Re: How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
Thanks. I looked at some of it but didn't have enough time to finish reading it. I'll look at it more when I get home. Very Happy I kind of understand it though.
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
EVENTALIST
EVENTALIST
#15 How to make a HUD? Empty Re: How to make a HUD?
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
@ nuka your HUD,

Code:

if $game_switches[KPSWITCH] == true
      self.visible = true
    else
      self.visible = false
    end

This can be changed to,

Code:

self.visible = $game_switches[KPSWITCH]

either way works but the second is smaller. Also with HUDs you dont need it to redraw every frame, 40 times a second. You should make some kinda limiter for the update weather it be a timer or a check to see if anything changed, like the karma points for sample. This will help with lag as well.
EVENTALIST
Show Signature
EVENTALIST
Poster Mcposty
Poster Mcposty
#16 How to make a HUD? Empty Re: How to make a HUD?
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
Would it be possible to make a HUD using Adobe After Effects? It's be in more a video file format.
Poster Mcposty
Show Signature


How to make a HUD? Gfuserbar
^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

How to make a HUD? Lolicon: MShinigaki
Add me for some League of Legends fun!
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm

Sponsored content

profile

View previous topic View next topic Back to top Message [Page 1 of 1]

 

Chatbox system disabled
Personal messaging disabled