The Daily Click ::. Forums ::. Klik Coding Help ::. Text Blitter Fonts?
 


 

Posted By Message
This thread has been locked by an administrator

Guru Rinpoche



Registered
  05/05/2007
Points
  524

Game of the Week Winner
4th April, 2008 at 11:53:05 -

I'm having some trouble changing the font with Text Blitter. I go into Setup -> Options -> Generate, then no matter what I change the font face to, as soon as I hit "Update" the text disappears and won't display anymore. Can some lay it out for this noob? Thanks.

 
I'm beamish.

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
4th April, 2008 at 12:11:04 -

I'm no TB expert, but if you want to change the font you need to edit the image (press the image button on the 4th or 5th tab I think). Go into that and mess away!

I imported the NES font this way before. I had to do it manually but since it was only upper-case letters, numbers, and a few symbols it was pretty easy.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Guru Rinpoche



Registered
  05/05/2007
Points
  524

Game of the Week Winner
4th April, 2008 at 12:16:20 -

That's what I was afraid of...then what is the point of the "change font face" button? It lists all the available fonts, which is quite tempting. Also, how would you grab text from an external text file and have the text blitter load it? For example, I'd like to have a text file that goes something like this:

1=I want this text loaded
2=And this one later...
3=Maybe even this one...

Then I could load each line according to its numerical marker...I think this is what the Underside used, but I'm not really code savy, especially when it comes to text coding. I've been trying to make it work, but I'm honestly stumped--I'm not just fishing for someone to do the work for me or anything

 
I'm beamish.

Fifth

Quadruped

Registered
  07/05/2003
Points
  5576

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNER
4th April, 2008 at 12:51:48 -

You just need to set a font color.

Because the default font color (0,0,0 black) is the same as MMF's "transparent" color, the font won't show up if its color is set to black.

 
Go Moon!

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14366

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
4th April, 2008 at 13:28:46 -

That confused me for a while when my black text kept disappearing.

 
.

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
4th April, 2008 at 13:54:03 -

Even though manually creating / editing your own font takes awhile, I would highly suggest it to you. Once you have one done, it's just a matter of massive TB object cloning and all your game's texts will be unique to your game alone and help it stand out more.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Guru Rinpoche



Registered
  05/05/2007
Points
  524

Game of the Week Winner
4th April, 2008 at 15:43:40 -

Thanks guys...(sorry, I had to go to work)...
But no one has any suggestion about using the text file as the text source? Or do most people just use string paragraphs?

 
I'm beamish.

Fifth

Quadruped

Registered
  07/05/2003
Points
  5576

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNER
4th April, 2008 at 16:34:54 -

Loading the text from an external file?
That's easy enough; it's no different from loading anything else from an external file.

You just have to chose a file type, set up some standards that you're going to adhere to, and make some code to load the relevant text. Naturally, the easiest way would be to use an INI file, and just load item 1 from group "Text", or something of the like.

Of course, it still unclear about what exactly you're having troubles with. Loading text externally? Finding the best way to split up paragraphs, etc. in external files? Adding in extra things in a scripting manner?

 
Go Moon!

Guru Rinpoche



Registered
  05/05/2007
Points
  524

Game of the Week Winner
4th April, 2008 at 16:38:11 -

Thanks Fifth, it was the INI file. I've had to take a break from clicking (broken leg, lots of work) and it's been so long that I totally forgot about the INI middleman. I think that solves it, thanks again.

Image Edited by the Author.

 
I'm beamish.

rockyleak



Registered
  06/01/2011
Points
  1
6th January, 2011 at 05:28:22 -

hey thanks every one .......its also helps me ,,,,,once again THANKS :0

 
Get More Information! <a href="http://www.certkiller.com/CCIA-certification-training.htm">ccia</a> | <a href="http://www.certkiller.com/CCIE-certification-training.htm">ccie</a> | <a href="http://www.certkiller.com/CCIE-Security-certification-training.htm">ccie security</a> | <a href="http://www.certkiller.com/CCIE-certification-training.htm">ccie training</a>

alastair john jack

BANNED

Registered
  01/10/2004
Points
  294

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!VIP MemberMushroomI am an April Fool
20th March, 2012 at 20/03/2012 04:06:23 -

No problem!

 
lol
This thread has been locked by an administrator



 



Advertisement

Worth A Click