heya there, again. duh -.-
i have a glitch/problem.
Usually, i dont want to use any fancy fonts, but i tried to change that for my game; first i tried to use helvetica neue, then i changed to myriad pro. but somehow i end up having those weird dots in the box.
(http://i.imgur.com/9VubPn7.png)
wat do? i kinda dont want to use Arial, eventhough it is similar to Helvetica.
before people ask:
yes, i have the font installed.
is it also in the directory? yes, just in case.
am i calling the script for fonts right under begin in main script?
$defaultfonttype = $fontface = Font.default_name = "Myriad Pro"
$defaultfontsize = $fontsize = Font.default_size = 28
yes, i think so.
do they only appear with outside fonts? seems to me so that way, allthough i only tried myriad pro and helvetica neue.
halp :urgh:
edit: while im at it; take a look at the picture provided:
id like the text to feature LONGER lines, but not more than 3
i would like the text to end further to the right and start more left (well thats not the problem here with the alligning of the textbox, but to make it longer - i tried UMS - but i had problems making it work with the script i am using for the textbox:
class Window_Message < Window_Selectable
# Alias Message_Window initialize
alias message_window_init initialize
def initialize
message_window_init
self.opacity = 0
@message = Sprite.new
@message.bitmap = RPG::Cache.picture('Message')
@message.y = 0
@message.x = 0
@message.visible = self.visible
@message.opacity = 255
end
# Alias Message_Window update
alias message_window_upda update
def update
message_window_upda
@message.visible = self.visible
end
end
and optional; on the top left of the textbox is a light greyish blue spot where id like to set in the name of the character talking.
That really is weird. I haven't seen anything like it before. I'm afraid I'm only familiar with the UMS, so I won't be of much help. On a side note, I think your message box looks awesome. :) It reminds me of the Persona games. Hopefully you can get this bug worked out!
Are you sure like 100% sure that it's not just on the picture itself. Maybe certain fonts cover them up o_o
I'd keep playing with the font a bit. You said it has only affected those two fonts and not Arial? Have you tried opening up a Word (or similar) document and test the font there? Could it possibly be the size of the font? It's also curious to point out that the pixels are only visible at the ends of certain characters in a word (take a look at the lowercase P's in the picture). Try seeing what other characters cause this too.
The second problem can be fixed by changing the dimensions of your Message Window.
class Window_Message < Window_Selectable
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(80, 304, 480, 160) #<============ This part
sorry guys; i have no solution :I
i checked word/pages/paint/photoshop/illustratot/ETC and no error on the font. also changing the font didnt work. and making more letters and stuff in the box didnt work either TT__TT i changed back to Arial. and about the spacing/letters ill try and check if UMS can fullfill my dreams: all i want is more letters per line :o but thanks guys
I have seen one thing that may cause this.
Changing from version 1.02 to 1.04 in RMXP.
I've played with MMW, another Message Script for quite some time. I updated my version of RMXP and thats when I first noticed this "glitch". Since I have both versions, I edited the GAME.INI file for projects I work on and changed the DLL file from "RGSS104E.dll" to "RGSS102E.dll" and that appeared to solve the problem, until the next time I opened that Project.
Can anyone else confirm this works or does not work?
Quote from: Heretic86 on November 02, 2013, 05:14:41 pm
I have seen one thing that may cause this.
Changing from version 1.02 to 1.04 in RMXP.
I've played with MMW, another Message Script for quite some time. I updated my version of RMXP and thats when I first noticed this "glitch". Since I have both versions, I edited the GAME.INI file for projects I work on and changed the DLL file from "RGSS104E.dll" to "RGSS102E.dll" and that appeared to solve the problem, until the next time I opened that Project.
Can anyone else confirm this works or does not work?
well I'm not sure what version i have; thats what i have in my folder:
(http://i.imgur.com/y4gu5R3.png)
and the GAME.INI looks like this;
[Game]
Library=RGSS102E.dll
Scripts=Data\Scripts.rxdata
Title=Sx3
RTP1=Standard
RTP2=
RTP3=
it seems unsolvable :( i just want Helvetica to work, the simple Regular Font ._.
Does the problem persist when you run your game on another computer? Maybe you could give that a try and see if it's something wrong with your computer or RMXP installation rather than the game itself.
i think KK20 still has my demo-
could you try and change it to Helvetica and tell me what is happening?
While I do still have your old demo, I do not have the message box and system you are using (font was extremely small and the text box graphic was a semi-transparent black rectangle). Also, since I am a Windows user, I do not have the Helvetica font on my computer; better I use the same font file you are using rather than try a similar one. It'd be best you just make another demo with the font included.
Quote from: sekiraze on November 03, 2013, 12:44:20 pm
well I'm not sure what version i have; thats what i have in my folder:
(http://i.imgur.com/y4gu5R3.png)
and the GAME.INI looks like this;
[Game]
Library=RGSS102E.dll
Scripts=Data\Scripts.rxdata
Title=Sx3
RTP1=Standard
RTP2=
RTP3=
it seems unsolvable :( i just want Helvetica to work, the simple Regular Font ._.
You're using 1.02.
So a simple solution would be to download a copy of RGSS104E.dll and, if your config.ini file defaults to a different dll filename (which it looks like it does seeing as you have RGSS102E), rename the DLL file itself to whatever it says in your config.ini
At least, this is what I'm understanding from Heretic's posts.
after crying and masterbating...
requires Microsoft TrueType
core font files (mscorefonts), like "Times New Roman", "Arial", "Verdana" etc.
I'll have to try these out, but I also get that same problem in 1.04, but not 1.02, which is why I mentioned it.
In 1.04, on the Name Input Window, instead of Empty Spaces, I get squares.
In 1.02, I do not.
Is this Square Problem just me?
Quote from: Heretic86 on November 05, 2013, 06:21:21 pm
I'll have to try these out, but I also get that same problem in 1.04, but not 1.02, which is why I mentioned it.
In 1.04, on the Name Input Window, instead of Empty Spaces, I get squares.
In 1.02, I do not.
Is this Square Problem just me?
try replacing main with this:
begin
$defaultfonttype = $fontface = Font.default_name = "YOURFONTHERE"
$defaultfontsize = $fontsize = Font.default_size = 28
Graphics.freeze
$scene = Scene_Title.new
$resolution = Resolution.new
while $scene != nil
$scene.main
end
Graphics.transition(20)
rescue Errno::ENOENT
filename = $!.message.sub("No such file or directory - ", "")
print("Unable to find file #{filename}.")
end
@^ why there are $resolution = Resolution.new in there?
Clearly it was just a copy-paste from his scripts. The resolution bit was just an oversight.
Either way, I don't understand what this snippet of code is supposed to accomplish. It's just Main with a "Change default font style and size for the game". It probably won't fix the issue quoted by Heretic.
my idea was to overwrite all fonts that are being used in his scripts by 1 font and then checking if its the font or something else
I'll have to take a look at the attempted fix later, but for now, just to post some pics of the issue I think we are both having.
Name Input Screen
Version 1.04 - See the Boxes?
(http://www.775.net/~heretic/downloads/rmxp/images/FontBug1.jpg)
Version 1.02 - No Boxes!
(http://www.775.net/~heretic/downloads/rmxp/images/FontBug2.jpg)
Those boxes appear in other places that text appears as well, otherwise this wouldnt be such a massive issue for me.
Might both our issues be resulting from system fonts being overwritten with another version of the same font? IE, system wide problem?
this is just so weird. why would the rpg maker xp make such problems with fonts, although it is based on windows intern things? we will never know :o