How to draw a crosshair?
BlitzMax Forums/BlitzMax Programming/How to draw a crosshair?
| ||
Hey, I'm using MiniB3D to create a first person shooter and I'm wondering how I draw the crosshair to the screen? I don't see a CreateSprite function á la Blitz3D, and I don't know if I can just use regular Max2D. Help would be appreciated. |
| ||
CreateSprite() is in there, it just doesn't highlight; You can use Max2D stuff between BeginMax2D() and EndMax2D(). |
| ||
DrawLine or use OpenGL calls to draw a line |
| ||
Could I ask why it doesn`t highlight? I find it really inconsistent when some keywords highlight and other do not, TImage for example. Am I alone in this or are there others who want this fixed? Surely this is something minor that wouldn`t take much time? Sorry to go off topic. Jason. |
| ||
If you use the module, then it should highlight it. Try to run docmods (rebuild documentation in the ide). If you just use the 'import mode' then you will not get any highlighting. For the crosshair: look above ;) |