Results 1 to 23 of 23

Thread: Cool Text FX

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    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.

  2. #2
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544

    Post

    Very Cool!!!!
    How did you do that??? With the OLE??


    ------------------
    Yours sincierly
    CyberCarsten
    http://home18.inet.tele.dk/cyber/
    [email protected]

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    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!

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    very simple code but works great. Nice job!

  5. #5
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Post

    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.

  6. #6
    Guest

    Post

    Hey, nice code...


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

    Knight Vision Enterprises
    [email protected]

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    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

  8. #8
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    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

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    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?


  10. #10
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    DiGiTaIErRoR's EXE allows you to export it...hey DiGiTaIErRoR, are ya ganna post the source code...

    ------------------
    - Chris
    [email protected]
    If it ain't broke - don't fix it

  11. #11
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    Sure chrisjk but it's a little messy as I got the ideas randomly I'll clean it up some though...

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

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    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.

  13. #13
    Guest

    Post

    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
    [email protected]

  14. #14
    Guest

    Post

    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).]

  15. #15

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    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?

  16. #16
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    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
    [email protected]
    [email protected]
    ICQ#: 51055819


  17. #17
    Member
    Join Date
    Jan 2000
    Location
    honolulu, HI USA
    Posts
    37

    Post

    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!!!!!!

  18. #18

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    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.

  19. #19
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    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.

  20. #20

    Post

    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).

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

  21. #21
    New Member
    Join Date
    Feb 2000
    Location
    Canterbury,Kent,UK
    Posts
    8

    Post

    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! > )


  22. #22
    New Member
    Join Date
    Feb 2000
    Location
    Canterbury,Kent,UK
    Posts
    8

    Post

    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??)

    :>

  23. #23
    New Member
    Join Date
    Feb 2000
    Posts
    12

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width