Fonts made for 640 x 480

Started by Danman, Thu 08/04/2010 12:29:16

Previous topic - Next topic

Danman

I got a quick question.

I wanna use the default fonts made for 640 x 480
But I think some people have laptops and cant really read it. I got 1440 x 900 wide screen and can see it and looks neater.

So this is the question can I make a option to turn it off and on. or technically change fonts to the higher res one.

I searched the manual and the forums. So unless I am blind ( Which is very possible  :P)
I don't think anyone asked this question before.


EDit: While I am asking this question. I got another problem with the player walking. When I click with the mouse on a certain spot and I keep clicking ( Not that many people do that) the player stays still but does the walking animation. 



Crimson Wizard

#1
Unless I got something wrong... yes, you can change the font right in game.

Game.NormalFont = eAnotherNormalFont;
Game.SpeechFont = eAnotherSpeechFont;

etc.

HINT: You can also use this in multi-language games. I used this once in English/Russian version of Awakener (switched fonts at game start depending on chosen language).

Danman

I know what you are saying crimson ;) . But if you go in general settings in Text Outputs.  There is a "Fonts Designed for 640 x 480". 
That option I would like to be able to turn that option to true or false. The option replaces all the fonts to a higher resolution fonts. 
I even thought maybe exporting the fonts but that ain't possible.

The option your saying is for custom fonts. ( I think or other default fonts) anyway just look at that option and you will see what I mean.



Crimson Wizard

From what youve said I understood that you want to have 2 type of fonts - smaller fonts and larger fonts (in case player have difficulties to read).
So, you can create 2 types of fonts: small and large ones, based on same font.

I don't see why you can't do this, for the result would be the same as if that option was switchable in game.

Ali

Quote from: Danman on Thu 08/04/2010 15:55:23
I know what you are saying crimson ;) . But if you go in general settings in Text Outputs.  There is a "Fonts Designed for 640 x 480". 
That option I would like to be able to turn that option to true or false. The option replaces all the fonts to a higher resolution fonts. 

I don't know if it's possible to change that option in the script, but it wouldn't be the best way to getting larger text, because the font will pixellate.

As Crimson Wizard suggested, you could import the same font at two sizes (say 12 point and 20 point) and allow the user to switch between them using the functions listed above.

Danman

I just want to use the Default Fonts right. And that Option in the script is perfect. It just changes all the fonts to Higher res Or to low res. But I just want it has an option in the game.

Anyway I was just asking if there was a way to change that option. And I don't think there is. So I will just leave it on low res font. Thanks a lot guys for your help.   ;D



SMF spam blocked by CleanTalk