Search …

Syed W. Aslam

  • Home
  • Blog
  • About
  • Contact

LibGDX

LibGDX

How to detect a touch/click on a Rectangle object in LibGDX

When creating a game, most of the times you will be required to detect touch or a click on an object. By default, if you use Gdx.input.justTouched() and if you then try to get the coordinates touched by using Gdx.input.getX() and Gdx.input.getY(), then you will see that the touched points Read more…

By Syed W. Aslam, 7 years ago
Categories
  • Android (2)
  • Architecture (1)
  • Artificial Intelligence (AI) (1)
  • Dev-Ops (1)
    • Jenkins (1)
  • Hybris (25)
    • Backoffice (4)
    • Flexible Search (1)
    • WebService (2)
  • Java (5)
  • JavaScript (1)
  • LibGDX (1)
  • Liferay (2)
  • Listrak (3)
  • Management (1)
  • Reviews (1)
  • Snippets (5)
  • Spring (2)
  • Uncategorized (2)
  • Unity (1)
Subscribe to get our latest posts right away. We hate spams as well!
Subscribe to get our latest posts right away. We hate spams as well!

  • About
  • Blog
  • Contact
  • Home
  • Newsletter
  • Privacy Policy
  • WYRed/ Solutions Privacy Policy
Hestia | Developed by ThemeIsle