|
-
Jan 24th, 2000, 04:51 AM
#1
Thread Starter
So Unbanned
Some little proggy I made makes 3 different types of text check it out: http://members.xoom.com/tagsclan/ct.exe
It's compiled in version 5.0.
Tell we what you think!
Also if you know of any good directx tutorial sites tell me.
Thanks, and if you download and like it I guess you're welcome too 
------------------
DiGiTaIErRoR
-
Jan 24th, 2000, 06:33 AM
#2
New Member
What function do you use to draw the text? Can you send me the source code?
-
Jan 29th, 2000, 08:42 PM
#3
New Member
Really enjoyed your cool text. Would have good potential if you could make an OCX of this.
I'm sure you have the DirectX7aSDK from the microsoft site. There are some excellent tutorials of DirectX in VB \DXF\samples\multimedia\vbsamples directory of this large download.
Unfortunately D3D and VB6 info in press or on the net is rather sparse. Will send you my code when I finish developing my directX software.
Erasmus
Originally posted by DiGiTaIErRoR:
Some little proggy I made makes 3 different types of text check it out: http://members.xoom.com/tagsclan/ct.exe
It's compiled in version 5.0.
Tell we what you think!
Also if you know of any good directx tutorial sites tell me.
Thanks, and if you download and like it I guess you're welcome too 
-
Jan 30th, 2000, 11:55 AM
#4
New Member
Yes, quite nice. One thing I noticed, is that when I would have text in the box, then switch to the 3rd display option, the text graphics would get very big, and only be able to show about 1/2 the characters from before, and going back to either display option #1 or #2 would still have these oversized characters. (or maybe you meant it to work this way)
It would be cool if we could choose the font size, too.
-
Jan 30th, 2000, 12:53 PM
#5
Thread Starter
So Unbanned
If you see the textbox that says '50' that's the font size You can't change the font size of mode 2 yet but you can on Mode 1 and the 3D mode plus you can't change the font etc. I don't know about an OCX(don't know how to make one!) maybe make a module though then a function like:
CoolText Picture1.picture, Arial, 50, rgb(255,255,255), [mode] 1,2,3 etc.
But if you know how to make an OCX tell me.
Plus I don't have Direct X that file is HUGE
------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.
-
Jan 30th, 2000, 12:57 PM
#6
Thread Starter
So Unbanned
Actually you just use this syntax:
Picture1.Print "Hello world"
it uses the pictures font size,name etc.
and the picture1.forecolor to draw it!
Good luck 
Originally posted by Klas Pettersson:
What function do you use to draw the text? Can you send me the source code?
------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.
-
Jan 30th, 2000, 02:47 PM
#7
Conquistador
Nice Program!
Just a few suggestions, for the fonts, test box why not try this :
You need to have a combo box named cboFonts, and its style set to Dropdown list.
Code:
Dim F
For F = 0 To Screen.FontCount - 1
cboFonts.AddItem Screen.Fonts(F)
Next F
cboFonts.ListIndex = 0
Also a problem with your save:
When you do not key anything in the inputbox it raises an error.
You should use an error handler like so:
Code:
on error goto ending:
working blah blah
ending:
----------------OR----------------
if SaveInputBox = "" then exit sub
------------------
david
Teenage Programmer
-
Feb 12th, 2000, 03:43 PM
#8
Addicted Member
Hey I really need the code to make that text for a button I'm making. I will make you a ocx of the code if you let me use it
-
Feb 12th, 2000, 08:16 PM
#9
Hyperactive Member
Hi ZanM,
I was the one who came up with the idea, you may have seen my post 'Cool Text FX'? After I posted the code, DigitalError elaborated on the idea and came up the the program that he is posting now. You can download my code here http://members.xoom.com/rino_2/cool_text.zip but its not as good as DigitalError's.
[This message has been edited by rino_2 (edited 02-13-2000).]
-
Feb 13th, 2000, 07:41 AM
#10
Addicted Member
Thaks rino_2
------------------
SomeTimes Coffee Just Isn't Enough.
Zan Magi
-
Feb 13th, 2000, 02:35 PM
#11
Conquistador
digital error,
could you please email me the source to your program...
[email protected]
------------------
david
Teenage Programmer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|