The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.


Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old July 17th, 2013, 04:30 PM
aaniil
 
Join Date: May 2009
Gender:
Is there a way to set a global font size?
For example, I want all fonts to be size 25. So far I've resorted to doing it individually in each event, with the <fs=25> thing, but I was just wondering if there was a way to make it so it's size 25 by default.

Also, is there a way to distribute where the message box appears?
I'm using a HUD, and at the moment, any dialogue or messages overlay the HUD, however I want it so the message box appears above the HUD instead of over it. I know theres the thing that makes the message box appear in the middle, but I only want it above the HUD.

Thanks.
Reply With Quote
  #2    
Old July 17th, 2013, 05:05 PM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
Search def pbRepositionMessageWindow
and
bitmap.font.size
That's about the only help I can give... I think they look right, since you need to change the y positioning a little for message boxes and you'll see the font styles used for each font size too... Why not try it lol.
Reply With Quote
  #3    
Old July 17th, 2013, 05:45 PM
aaniil
 
Join Date: May 2009
Gender:
Both of those seem to affect the "Please refer to the Pokemon Essentials Wiki" splashscreen, but not the Professor Oak and later messages that seem to follow :/
Reply With Quote
  #4    
Old July 18th, 2013, 06:54 AM
aaniil
 
Join Date: May 2009
Gender:
An idea I had, if anyone knows, might be to use the /wm so that the window is in the middle, and then change the x and y position that determines where /wm is positioned? I'm not too sure. But then would there be a way to make /wm the default as opposed to /wd?
Reply With Quote
  #5    
Old July 18th, 2013, 09:23 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
I'm answering this here rather than responding to your PM to me with the same question, because I think it's unfair to give a private answer to a public question.

Firstly, your PM provided a helpful screenshot of your "above the HUD instead of over it" problem, which really should be put in here too. Here it is:



My answer: I really don't know. You don't just want to reposition the messages that are displayed by an event's "Show Text" command, you want to reposition every message that would show while you're looking at the field. There probably isn't a way to differentiate between these messages and some other messages that don't need moving, which would at least make it an utter pain to cope with.

I imagine, if you must have a HUD, rather than one of the myriad of better options, that your best bet may be to look into dual screens, with the HUD on the second screen. I don't know anything about dual screens, though. Alternatively, you can jiggle things around a bit and call it a feature (i.e. message boxes intentionally cover the HUD).
__________________
Reply With Quote
  #6    
Old July 18th, 2013, 10:24 AM
aaniil
 
Join Date: May 2009
Gender:
Quote:
Originally Posted by Maruno View Post
I'm answering this here rather than responding to your PM to me with the same question, because I think it's unfair to give a private answer to a public question.

Firstly, your PM provided a helpful screenshot of your "above the HUD instead of over it" problem, which really should be put in here too. Here it is:



My answer: I really don't know. You don't just want to reposition the messages that are displayed by an event's "Show Text" command, you want to reposition every message that would show while you're looking at the field. There probably isn't a way to differentiate between these messages and some other messages that don't need moving, which would at least make it an utter pain to cope with.

I imagine, if you must have a HUD, rather than one of the myriad of better options, that your best bet may be to look into dual screens, with the HUD on the second screen. I don't know anything about dual screens, though. Alternatively, you can jiggle things around a bit and call it a feature (i.e. message boxes intentionally cover the HUD).
Okay, thank you anyway Maruno. Do you know how I could go about resizing the sprites? This is the code that presents them:-

Quote:
# Draw the pokémon icons
for i in 0...$Trainer.party.size
pokeicon=IconSprite.new(120+64*i,yposition-8,@viewport1)
pokeicon.setBitmap(pbPokemonIconFile($Trainer.party[i]))
pokeicon.src_rect=Rect.new(0,0,64,64)
pokeicon.opacity=(160)
@hud.push(pokeicon)
end
# Adjust z of every @hud sprite
for sprite in @hud
sprite.z+=600
end
end
Sorry I keep double posting, but could changing this work?

Quote:
elsif control=="wd"
atTop=false
msgwindow.y=(Graphics.height)-(msgwindow.height)
msgback.y=msgwindow.y if msgback
pbPositionNearMsgWindow(facewindow,msgwindow,:left)
msgwindow.y=Graphics.height-(msgwindow.height*(20-signWaitCount)/20)

Last edited by aaniil; July 18th, 2013 at 10:31 AM. Reason: Your double post has been automatically merged.
Reply With Quote
  #7    
Old July 28th, 2013, 09:47 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
In PokemonMessages, before line 'break if !letterbyletter' add:

Code:
msgwindow.y=(Graphics.height)-(msgwindow.height)-64
msgback.y=msgwindow.y if msgback
pbPositionNearMsgWindow(facewindow,msgwindow,:left)
msgwindow.y=Graphics.height-(msgwindow.height*(20-signWaitCount)/20)-64
Probably this results in collateral effects.

To resizing the sprites: http://www.pokecommunity.com/showpos...0&postcount=10
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 03:51 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.