LWJGL Forum

Programming => General Java Game Development => Topic started by: KLMNT on August 07, 2018, 16:52:45

Title: Clicking on things
Post by: KLMNT on August 07, 2018, 16:52:45
So, simple question.
If i want to trigger something by clicking on a button, is there a way in which LWJGL can help me by knowing if I clicked on a certain texture OR do I have to do all the math checking clicking events and checking the mouse coordinates to see if it actually is on top of an image?
Title: Re: Clicking on things
Post by: darkyellow on August 14, 2018, 09:32:13
you need to do everything yourself, LWJGL is light (its in the name :)). To get what you want you want an engine of sorts, Libgdx and JMonkeyEngine are two engines that I beleive work with LWJGL.