Guest Red Ocktober Posted June 23, 2010 Posted June 23, 2010 is there a crossheairs image around anywhere... something you'd use as a gunsight crosshair... with transparent background... i thought there used to be one... thx --Mike Quote
Canardia Posted June 23, 2010 Posted June 23, 2010 You could rip the DrawCrossHair() function from gamelib: http://www.leadwerks.com/wiki/index.php?title=GameLib#DrawCrosshair It's not a image, but vector graphics, but that's in my opinion better since then it scales to all resolutions without quality loss. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■
Guest Red Ocktober Posted June 23, 2010 Posted June 23, 2010 thx mika... will take a look... --Mike Quote
paramecij Posted June 23, 2010 Posted June 23, 2010 ..here's a random one I made, if you decide that vectors are too clean TTexture crosshair = LoadTexture("abstract::crosshair01.dds"); .. //after render SetBlend( BLEND_ALPHA ); DrawImage( crosshair, GraphicsWidth()/2 - 32, GraphicsHeight()/2 - 32 ); SetBlend( BLEND_NONE ); //before flip(); Quote
VeTaL Posted October 30, 2010 Posted October 30, 2010 I also want to say thank you, i tested this crosshair, it looks good Quote Working on LeaFAQ
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.