I have 2 sprites, I would like to move both of them, when I touched sprite A and moved it, sprite B will be moved also without touching sprite B at the same time. thanks for the help
This is for a game I'm building where sprites are constantly overlapping since their spawn locations are randomly generated. The player must tap some sprite at a certain time. The problem arrives if the they need to tap the bottom sprite of 2 or more overlapping sprites. The touch is only registered for one of the sprites which makes the game impossible sometimes.
I have several sprites on the screen and I need to register touch events to each of them. I have an input processor registered to the screen, but the sprites will be overlapping and I need to be able to click on the sprite that is on top so do not want to use the sprites position to register the touch events.
is the best option to extend the sprite class and implement InputProcessor?