Click to See Complete Forum and Search --> : Fonting...
Arie
Jul 11th, 2001, 02:00 PM
Hi!
I want to ask something...
When I use some font in my game, how do I get to be
sure that in all computers it'll work fine as in my computer?
Should I use fonts? how can I make an image multi-selection
menu, for many options in my game?
How should I make a simple graphical menu?
Anyone...
Thank you,
Arie.
Sastraxi
Jul 11th, 2001, 05:49 PM
Simple graphical menus aren't all that simple. They're easy with 2-3 top-level menus, but when you get to 5-10, it gets hectic. In a while you can see an example of a DHTML menu I made here:
http://crystal-rain.cjb.net/. Perhaps you can learn from the VBScript I have used here (would've used javascript but NS is obsolete, so...!)
Zaei
Jul 12th, 2001, 12:41 AM
Probably the best way to make your game's menus look the same on all computers is to create a bitmap image, and place each character in it, according to it's ASCII code. Make it one really long rectangle, perhaps 32 pixels tall, and 32*256 pixels long. Place each character you want in the correct slot. At X pixel 0, nothing, at 32 (the next character slot), nothing. At, say, X Pixel 32*65, put an "A". Then, you can use BitBlt, or whatever, to print out each character to the screen, by taking the ASCII character, and multiplying by 32, and you have the correct X value to Blt.
As for menus, you can cheat a bit, and use a series of ImageBoxes (the transparent ones), and arrange them correctly. When a User clicks on a top level menu, a couple more images are set to "Visible = True", and they can continue clicking. It works fairly well, as long as all of your menu items look right =).
Z.
[DBH]Longbow
Jul 12th, 2001, 06:06 AM
hy,
you also can use a packing programm for VB-Projekts ...
in my VB-Version (Prof.) one is included
(Verpackungs & Weitergabeassistent) = Germ.
(Packing & release Assistant) = ??
there u can choose if u want do have any other files within your installation-pack ( u have 2 put in there your font ...)
cu
:cool:
PsychoMark
Jul 12th, 2001, 03:20 PM
"Package & Deployment Wizard"?
You can just put the font with your setup package, but I don't know if the font will need installing (and if PDW is capable of doing that without modifications)...
But that requires yet ANOTHER thing to be installed, and I hate things which dive into your system never to be seen again... so I would stick with the bitmap fonts, or completely pre-drawn menu items...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.