Results 1 to 2 of 2

Thread: Line

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Posts
    103

    Line

    Hi all!
    I want to nake my program recognize straight line like an object.
    For exmaple: I drawn a line from (0, 0) to (300, 700) and after I insert this picture into my program and the program outputs the start and the end point of the line( (0, 0) and (300, 700) ).
    Please, help me. I really need it.
    Thanks!

  2. #2
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Well, if you're just drawing the line using the Line function (not the Line object) just save the coordinates in some variables so your program will remember them later... there's no other way to do it
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

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