PDA

Click to See Complete Forum and Search --> : Cool Text FX


rino_2
Jan 22nd, 2000, 10:40 PM
Hi,

I have just created a little program with a great text fx that you can get on Microsoft Word. Please have a look and tell me what you think of it.

VB5 http://members.xoom.com/rino_2/cool5.exe

VB6 http://members.xoom.com/rino_2/cool6.exe

Most of you will already know it.

CyberCarsten
Jan 22nd, 2000, 10:53 PM
Very Cool!!!!
How did you do that??? With the OLE??


------------------
Yours sincierly
CyberCarsten
http://home18.inet.tele.dk/cyber/
carsten.h.thomsen@mail.tele.dk

rino_2
Jan 22nd, 2000, 10:56 PM
I will upload the source code soon. By the way I didn't use the OLE. All it is is a text box and a picture box. Very Simple but effective!

Clunietp
Jan 23rd, 2000, 03:30 AM
very simple code but works great. Nice job!

Phobic
Jan 23rd, 2000, 06:21 AM
Yes, also, very simple but effective! Note that some users have the soften screen fonts enabled in windows, so it looks better on some computers. You should try making it so you can rotate text, change colors, length, etc.. I know how you can do a lot of these already! Want to work on it with me? I'm interested, I've never really made a program with someone else and never really spend the time alone to make a full fledged awesome program.

Jan 23rd, 2000, 10:30 AM
Hey, nice code... ;)


------------------
John T. Mieske
Star Trek LCARS programmer

Knight Vision Enterprises
kvision@gate.net

rino_2
Jan 23rd, 2000, 11:09 AM
Here is the source code. I'm not sure if its coded as best it could be but please don't hold that against me.
http://members.xoom.com/rino_2/cool_text.zip

DiGiTaIErRoR
Jan 23rd, 2000, 05:21 PM
Nice... but!
Few things that would make it better :)
1. choose fonts!
2. change colors
3. different designs
4. font sizes
5. save function
If you want to see what I did to it check out: http://members.xoom.com/tagsclan/ct.exe


------------------
DiGiTaIErRoR

rino_2
Jan 23rd, 2000, 10:59 PM
Hi,

Thanks everybody, I'm glad you liked the program and I do agree that there are things that could be better but it was just a little test for myself. Hey Phobic, what kind of program do you have in mind?

chrisjk
Jan 24th, 2000, 12:39 AM
DiGiTaIErRoR's EXE allows you to export it...hey DiGiTaIErRoR, are ya ganna post the source code... :)

------------------
- Chris
chris.kilhams@btinternet.com
If it ain't broke - don't fix it :)

DiGiTaIErRoR
Jan 24th, 2000, 12:45 AM
Sure chrisjk but it's a little messy as I got the ideas randomly I'll clean it up some though...

------------------
DiGiTaIErRoR

rino_2
Jan 24th, 2000, 12:51 AM
Ok, Now that I know how to save an image, how would I make the background transparent? This is the real test and I don't think antbody can do it. Don't get me wrong, I know your all great programmers.

Jan 24th, 2000, 12:56 AM
It is being exported as a BMP correct? So all you have to do to make it transparent is to bring it up in a paint package. Or are you wanting to do it inside the program itself? That would be a nice added feature. And how most pain packages do it is find a spacific color that the user choose to be the mask of the picture to be transparent. It would have to break the picture into two layers. One is the main pic and the background (Transparant) would have to be the mask.


------------------
John T. Mieske
Star Trek LCARS programmer

Knight Vision Enterprises
kvision@gate.net

Jan 24th, 2000, 11:04 AM
If you expand it a bit with the options that are mentiond here, you could export the picture.

Could be fun for web graphics and stuff.

[This message has been edited by Azzmodan (edited 01-24-2000).]

rino_2
Jan 24th, 2000, 11:24 AM
Hi Azzmodan,

What you say is very interesting! Do you have any idea how to save the content of a picture box as a bmp of gif or any image format for that matter?

Serge
Jan 24th, 2000, 11:53 AM
To save the contents of a Picturebox, use something like this:


SavePicture Picture1.Image, "C:\MyFile.bmp"


SavePicture function will save it im Bitmap format.

------------------

Serge

Programmer Analyst
sdymkov@microage.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)

MaStErPfu
Jan 26th, 2000, 11:48 AM
this is one &*#$I'N bad motha ^&^%a its damn cool but, adding a maximize button and all full function would be the best!!!, you can make money out of this!!!!!!

rino_2
Jan 27th, 2000, 02:02 AM
I have plans to create the ultimate text effect program and give it away but first of all I need to know how to create a transparent background.

DiGiTaIErRoR
Jan 27th, 2000, 05:16 AM
You want to export a GIF right? You'll need a special OCX or know how to code a GIF because vb won't export GIF or JPG just BMP. But it can export a ico of metafile I'ld just leave the background white or maybe black grey etc. Oh yeah and MaStErPfu are you talking about his program or mine? I made an advanced version of his BTW.

------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.

Snowlord
Feb 4th, 2000, 05:25 PM
if you want to make it look transparent in your app, have a look at all those applications that provide windows with rounded corners. These contain code to reshape the drawing canvas of ANY window (this includes pictureboxes and stuff like that - even using masks).

------------------

L-Plate
Feb 6th, 2000, 06:37 PM
Well you're going to have to save it af a .gif for a start becasue .bmp's don't support transparent backgrounds.... so that'll be fun! :)

If you can work out how to save .gifs then it should be pretty easy...

(I remember trying to load a gif using pascal for dos when i was 14... it was a bit hard but things have moved on since then! > :))

L-Plate
Feb 6th, 2000, 06:41 PM
oops!

Sorry guys, i didn't notice this discussion was two pages long; i'd only read the first page!

(how silly do i feel??)

:>

SamFunk
Feb 6th, 2000, 08:26 PM
I am presently trying to code a game in VB and I am using the blitter to do transpanrencies.

I take the image and SRCPAINT it over a reverse image..
(if the main image is green on black, the mask is black on white, white being the transparent color)

The GDI may be able to help you with this...

You may be able to let VB create the background mask, and save the BLITTED combination as the final BMP

--- I'll post some code if this sounds like a viable option...

~Sam