1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I detect image clicks in Dark GDK?

Discussion in 'Programming/Internet' started by BobMan, Aug 2, 2020.

  1. BobMan

    BobMan Guest

    I am trying to determine if an image has been clicked, using the Dark GDK game engine. I've found no methods in the engine that do this.

    I would rather not brute force this with a large nested if/else structure. I was thinking of setting up a container that takes an object which records the mouse position when clicked, as well as a bool value to determine if the image has already been clicked.

    I apologize for not adding any example code here; I don't know how I would go about setting something like that up.

    Login To add answer/comment

Share This Page