
-----------------------------------
beedub
Sun May 18, 2003 3:36 pm

INTRO&gt;&gt;007
-----------------------------------
you know how in 007 they always have those beginnings where the aimer is there and then the it moves and once it goes over the person... blood comes down. Well i am done it ... but i have a few problems.. the code for the aimer is right here...  drawoval (320, 200, 150,150, black)
drawline (170, 200, 470, 200, black)
drawline (320, 350, 320, 50, black)
drawfill (1,1,black,black)
as you can see if i move the aimer... the drawfill will come in after it... but if i make the drawfillfirst... you cant see the aimer

-----------------------------------
Tony
Sun May 18, 2003 4:51 pm


-----------------------------------
use View.Update

-----------------------------------
beedub
Sun May 18, 2003 5:35 pm


-----------------------------------
the problem is it doesnt alow to me to look through the crosshair as if i were sniping some1..

-----------------------------------
Tony
Sun May 18, 2003 6:42 pm


-----------------------------------
well it would work if you draw your crosshair with black around it as a transparent picture. That would show the background image behind it.

-----------------------------------
beedub
Sun May 18, 2003 8:59 pm


-----------------------------------
ok... how do you do that?

-----------------------------------
Tony
Sun May 18, 2003 10:36 pm


-----------------------------------
well you save image as picture and move around with your mouse...


drawoval (320, 200, 150,150, black) 
drawline (170, 200, 470, 200, black) 
drawline (320, 350, 320, 50, black) 
drawfill (1,1,black,black)

var picID:= Pic.New(0,0,maxx,maxy)
cls

var x,y,b:int

loop
cls
drawfillbox(600,300,700,400,blue)
Mouse.Where(x,y,b)
Pic.Draw(picID, x,y, picMerge)
end loop


this gotta be the shittiest example I've done, but it somewhat works...

ofcourse you'd have to have a large picture and adjust X/Y values... and insert View.Set... but you should get it from here

-----------------------------------
beedub
Sun May 18, 2003 11:05 pm


-----------------------------------
why is the blue box there...??

-----------------------------------
Tony
Mon May 19, 2003 12:32 am


-----------------------------------
just to show that crosshair is transparent and you can see stuff behind it

-----------------------------------
beedub
Mon May 19, 2003 7:28 am


-----------------------------------
ok coo;... and how do i make the box black box that is around the crosshair biger?

-----------------------------------
Tony
Mon May 19, 2003 11:47 am


-----------------------------------
well ether resize the play window after getting the picture, or draw your own in a paint program.

-----------------------------------
void
Mon May 19, 2003 11:57 am


-----------------------------------
here...maybe this might help more...i dunno tonys thingy made my comp lag...maybe my comp is really crappy....hmmmm.... watev...i like it....

var w := Window.Open ("fullscreen,nocursor")
var x, y, b : int
colorback (black)
cls
loop
    Mouse.Where (x, y, b)
    drawoval (x + 100, y + 100, 100, 100, 10)
    drawline (x + 100, y, x + 100, y + 200, 10)
    drawline (x, y + 100, x + 200, y + 100, 10)
    delay (10)
    drawoval (x + 100, y + 100, 100, 100, 256)
    drawline (x + 100, y, x + 100, y + 200, 256)
    drawline (x, y + 100, x + 200, y + 100, 256)
end loop


-----------------------------------
beedub
Mon May 19, 2003 2:25 pm


-----------------------------------
is there ne way to make it tansparent within the circle?

-----------------------------------
beedub
Mon May 19, 2003 3:02 pm


-----------------------------------
the other thing is that i dont want to be able to move the aimer.. i want it to move by itself.... i can do that fine... its just.. i dont know how to make the circle transparent with the 2 lines in it... and still make it move...

-----------------------------------
Tony
Mon May 19, 2003 3:14 pm


-----------------------------------
just like I told you before, you need to keep it as a transparent picture

-----------------------------------
beedub
Mon May 19, 2003 3:32 pm


-----------------------------------
how do you do that?

-----------------------------------
Tony
Mon May 19, 2003 3:48 pm


-----------------------------------
i already posted a sample code of how to do that... :?

-----------------------------------
beedub
Tue May 20, 2003 5:44 pm


-----------------------------------
alright perfect... i wanna post the intro.. but it says i cant post .wav files... what do i do?

-----------------------------------
Tony
Tue May 20, 2003 5:45 pm


-----------------------------------
you zip up all the files and post a single .zip instead.

-----------------------------------
beedub
Tue May 20, 2003 5:59 pm


-----------------------------------
ok
