aeris170 / Crosshair-Overlay

A program to draw one of numerous crosshairs on player's screen. Especially helpful when playing games that disables crosshairs.
8 stars 0 forks source link

Overlay on top of Full Screen Apps #3

Open MilkshakesBot opened 4 years ago

MilkshakesBot commented 4 years ago

Would it be possible for this to overlay on top of Full Screen Applications. I love this but that's the one thing I don't like that much. Some games don't like the run nice in Full Screen Windowed

aeris170 commented 4 years ago

As discussed in this thread, it is possible but hard to achieve as this program lets Swing handle the rendering of the crosshair texture. I need to write DirectX(and possibly OpenGL) code in order for this to overlay on top of Fullscreen programs. I don't have enough experience with hooking a function at the head of another function as of now. I also don't know how to achieve it using JNA and Java. I will, however, experiment with this and update this issue if I get a significant progress.