Posted: Tue Aug 02, 2011 11:28 pm Post subject: Drawing on to the screen of a game
How is this done? I haven't done much with injecting code but I'm curous how you could say draw a rectangle over a hitbox of an object. Obviously you'd need the coordinates of the object relative to the cameras position to know where to draw, but assume you know the coordinates and where to draw it on the screen. What would you inject to draw a simple dot, rectangle, or text showing a players position on screen in a game using direct draw or direct3D?
Source examples and a brief explanation would be much appreciated.
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
Posted: Wed Aug 03, 2011 1:07 am Post subject:
You'd either need to draw over the entire screen (externally) or hook onto the games rendering engine. As for examples just Google for Direct3D hooks, there are tons of examples / src on the net for it. Same with OpenGL if the game uses that instead for rendering. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum