Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Getting the mouse position

Author
Message
Shakey
17
Years of Service
User Offline
Joined: 9th Mar 2007
Location:
Posted: 20th Jan 2010 06:56
Hi

What I would like to know is, I want to track the mouse XY position. I do not see a function for this in the documentation.

This is basically what I am doing. I am making a platformer, this will have a world built in 3D but 2D gameplay. So I want to track the XY position so I can know where to place things, a little debugging out displayed to the screen.

Some of the 3D objects, in the scene will have should have have collisions similiar to your basic platformer.
Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 20th Jan 2010 09:22
dbMouseX()
dbMouseY()

Note: Read through the documentation

Problem Solution That Never Fails: "Build A Bridge And Get Over It"

Login to post a reply

Server time is: 2024-10-01 23:31:58
Your offset time is: 2024-10-01 23:31:58