Well first for all im new to java and ive trying to get a job in a game-dev company;
As a test ive got a task to create a puyopuyo game.
All is goin pretty well with the development, but got some stucks.
Ok now the question:
Ive a scene 10px*10px (Example)
Ive an object with x,y coordinates
Its located at x=5 , y=5 ;
Now ive an other object (№2) x=4 , y=5;
The question is : How to find this object(number 2) ;
I mean i need a method that will check is there an object in a radius of 1px away from the Object in center;
Of course assuming that both objects are in one clollection;