Jump to content

[ HELP ] Receive Pos of dxDrawImage


Recommended Posts

Posted
Yes, you can store the positions with setElementData and then get it using getElementData.

It would be better to use variables. DX functions don't return elements anyway.

Posted
It would be better to use variables. DX functions don't return elements anyway.

He can pass any other element, such as the player element.

DX functions doesn't need return an element to make that possible.

I didn't told him to store it with setElementData instead of a variable.

Using variables is obviously better and simpler.

Posted

As far as I know DX Functions don't create any elements, except for a select few. Such as making a shader/render target.

So you'll have to rely on variables.

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...