RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
A couple requests. Thanks for checking :)

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 88
How can I make it so that it shows the max health a character can have in the battlescreen?

For example, my hero can have 870 life. In battle, he was attacked so he is down to 650. How can i make it show the bar and show "650/870"

Also, how can i make it so that after the battle, if you level up, along with "Exp" and "Gold" earned it says "Level Up" as well?

And last but not least, how can I make it so in the status screen it shows, in white, the base stats (base agi n str, etc), then next to it in blue or something have the total after all of the +attributes are added.

Thanks :)
« Last Edit: October 24, 2006, 09:23:05 PM by D3luxe »

*
I love Firerain
Rep:
Level 97
=D
if youre using 2k3 the firstone 650/870 i spose always shows, i dont think in xp, maybe script..
Arlen is hot.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
That can be done per script, it actually only needs to extend the width of the status window drawings, but it would look weird and go over the HP of the next character. Trust me, I've tried. You would need a different draw_actor_hp method, nothing else.


Here is a script for better LvlUp notification.

Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
Oh yeah, I forgot to mention that I am using XP.

Thanks for the link and the info Blizzard, i'll be sure to check it out.

Any suggestions for my other questions?

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
I can't right now, but I will post the code tomorrow for the HP. I think I know what I can do about that...
The LvlUp Notifier will automatically show the stats and there already IS a "Level UP" when characters level up. Just look at the characters' status (i.e. [Normal]) when the battle is over and when they level up.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
I knew there already was one, but I have some friends testing my beta game right now and they all agreed that they think it would be better if it said Level Up in the gold/exp box after the battle than just down at the bottom instead of [Normal], as it would be easier to see.

Take your time with the code for the HP, I dont need to integrade it till sunday as thats when I said my next release would be, and I said that this would probably be featured in it.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Lol, you're lucky! I've just had five minutes of time. ;D
Put it under the Window_Base script.

Code: [Select]
#==============================================================================
# Window_Base
#==============================================================================

class Window_Base < Window

  def draw_actor_hp(actor, x, y, width = 144)
    self.contents.font.color = system_color
    self.contents.draw_text(x, y, 32, 32, $data_system.words.hp)
    if width - 32 >= 108
      hp_x = x + width - 108
      flag = true
    elsif width - 32 >= 48
      hp_x = x + width - 48
      flag = false
    end
    self.contents.font.color = actor.hp == 0 ? knockout_color :
      actor.hp <= actor.maxhp / 4 ? crisis_color : normal_color
    if flag
      self.contents.draw_text(hp_x, y+1, 48, 32, actor.hp.to_s, 2)
      self.contents.font.color = normal_color
      self.contents.draw_text(hp_x + 48, y+1, 12, 32, "/", 1)
      self.contents.draw_text(hp_x + 60, y+1, 48, 32, actor.maxhp.to_s)
    else
      self.contents.font.size -= 4
      self.contents.draw_text(hp_x - 48, y+1, 48, 32, actor.hp.to_s, 2)
      self.contents.font.color = normal_color
      self.contents.draw_text(hp_x + 48 - 48, y+1, 12, 32, "/", 1)
      self.contents.draw_text(hp_x + 60 - 48, y+1, 48, 32, actor.maxhp.to_s)
      self.contents.font.size += 4
    end
  end
 
  def draw_actor_sp(actor, x, y, width = 144)
    # Draw "SP" text string
    self.contents.font.color = system_color
    self.contents.draw_text(x, y, 32, 32, $data_system.words.sp)
    if width - 32 >= 108
      sp_x = x + width - 108
      flag = true
    elsif width - 32 >= 48
      sp_x = x + width - 48
      flag = false
    end
    self.contents.font.color = actor.sp == 0 ? knockout_color :
      actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color
    if flag
      self.contents.draw_text(sp_x, y+1, 48, 32, actor.sp.to_s, 2)
      self.contents.font.color = normal_color
      self.contents.draw_text(sp_x + 48, y+1, 12, 32, "/", 1)
      self.contents.draw_text(sp_x + 60, y+1, 48, 32, actor.maxsp.to_s)
    else
      self.contents.font.size -= 4
      self.contents.draw_text(sp_x - 48, y+1, 48, 32, actor.sp.to_s, 2)
      self.contents.font.color = normal_color
      self.contents.draw_text(sp_x + 48 - 48, y+1, 12, 32, "/", 1)
      self.contents.draw_text(sp_x + 60 - 48, y+1, 48, 32, actor.maxsp.to_s)
      self.contents.font.size += 4
    end
  end
 
end

You might also like this add-on in that case:

http://rmrk.net/index.php?topic=3271.0
« Last Edit: October 25, 2006, 07:13:18 PM by Blizzard »
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
Sweet man, thanks a lot!

now the last thing i need is
Quote
And last but not least, how can I make it so in the status screen it shows, in white, the base stats (base agi n str, etc), then next to it in blue or something have the total after all of the +attributes are added.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
As I already said, the Easy LvlUp Notifier will do that. When characters level up, it will show any increased stats.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
Unless he wants the Menu's status screen to show Base Stat + [bonuses from equipment]...

**
Rep: +0/-0Level 88
Unless he wants the Menu's status screen to show Base Stat + [bonuses from equipment]...

exactly. I like it that it shows up in the battle screen when you level up, but is there a way to make it show up in the status screen as well?

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Of course there is, but the is not really much place in the status window to be honest... I'd have no idea where to put it without decreasing the font size and skewing everything together as much as possible. But that looks stupid, I tried that once to see how it looks like.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
so without horribly messing up the looks of the screen, there is really no way to add it in?

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
alright thanks Blizzard.

One more thing, did you release a script or tutorial on making the intro cinematic like on your game The Three Moons? I know how to put an intro into the game, but did you use an AVI player or just a crapload of pictures through a script?

EDIT: nvm. I found one. Thanks for all of your help Blizzard. BTW, i realized that the AMS you posted shows the agi updates and stuff when you equip stuff, so that is exactly what I wanted. Thanks again guys :)
« Last Edit: October 28, 2006, 04:35:36 PM by D3luxe »

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Okay. BTW, I just used moving/zooming pictures to make the intro scene. ;)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
so you just made a gif or something then took it apart into each pic as a png or w/e then ran them all through the script?

if thats how you did it, then its very impressive. I think making an AVI movie would be easier though, which is what im gonna try.

****
MONOCLE MAN
Rep:
Level 89
-::Gone::-
No I don't think he did

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Yes, I did. But RMXP doesn't support .gif, I used pngs. I posted the code... somewhere... Try checking my posts in the last 3 days and you will find it.
« Last Edit: October 30, 2006, 11:17:28 AM by Blizzard »
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 88
hmm, i cant seem to find what you posted Blizzard, think you can get a link of it?

BTW, your intro scene is awesome, the music just ties it all together :P

cant wait for the full game.

EDIT: i may have found it

http://rmrk.net/index.php?topic=3913.msg108389#msg108389

is that it? If so, got any instructions on using it?

EDIT 2: I downloaded your uncompiled intro thing, so that should be enough for me to understand it a bit.
« Last Edit: October 30, 2006, 10:32:23 PM by D3luxe »