1. Sprites are your friend when it comes to Xhairs.
=)
also what screen resolution are you using?
if you can tell me the resolution i will tell you the coordinates for
centering the crosshair in the middle of your game screen

2. I don't think he even cares anymore..

3. i believe not,
didnt do anything except use bandwidth and storage space with this thread lol

4. Originally Posted by Xlilzoosk8rX
Sprites are your friend when it comes to Xhairs.
=)
also what screen resolution are you using?
if you can tell me the resolution i will tell you the coordinates for
centering the crosshair in the middle of your game screen
sorry about this... i dont usually come to this section since i use my ipod all the time ( plus this is a old thread and never got a good anwser.. )
i use 800*600

thanks you @Xlilzoosk8rX

5. Originally Posted by luojunkai123
sorry about this... i dont usually come to this section since i use my ipod all the time ( plus this is a old thread and never got a good anwser.. )
i use 800*600

thanks you @Xlilzoosk8rX
@luojunkai123
well if you want center screen with
x=800
and
y=600

then to get center screen
you need to divide both number by 2
you do this because dividing by 2 gives you half way
across the screen in both directions

so, 800/2 = 400 which is the center of your screen height
then 600/2 = 300 which gives you the center of your screen width

so in the end

coor.y=400
and
coor.x=300
is the center of your screen

this works for all resolutions
in case you need it for future reference

6. Originally Posted by Xlilzoosk8rX
@luojunkai123
well if you want center screen with
x=800
and
y=600

then to get center screen
you need to divide both number by 2
you do this because dividing by 2 gives you half way
across the screen in both directions

so, 800/2 = 400 which is the center of your screen height
then 600/2 = 300 which gives you the center of your screen width

so in the end

coor.y=400
and
coor.x=300
is the center of your screen

this works for all resolutions
in case you need it for future reference
how to add them in my code is the problem....

7. are you using VB or C++
im not sure how to do it in VB but in C++
you can use the MoveTo() and LineTO() functions

8. Originally Posted by Xlilzoosk8rX
are you using VB or C++
im not sure how to do it in VB but in C++
you can use the MoveTo() and LineTO() functions
Thanks I will look it up next week
@Xlilzoosk8rX

9. solved /closed

Page 2 of 2 First 12