Jump to content

DX scriptable images


Spajk

Recommended Posts

I am not sure if I wrote the title right, but I will try to explain more here.

I show an image to player via dxDrawImage and thats nice, but I want to do something when player moves his cursor over or clicks on an area inside that image. I know that one of the ways is to get pixel coordinates of the area, then with onClientClick to check if it was clicked by checking area coordinates with screen coordinates. That way would be really hard for me, as my image contains lots of little areas, so my question is, whats the fastest way to make this?

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...