#134880 - Quien - Tue Jul 17, 2007 10:46 pm
Hello.
I am starting to program with PaLIB for Nintendo DS and after reading all the tutorials and making some simple tests, I have started programming my first serious game.
Everything goes OK but now I want to detect when the user draws on the touchscreen a circle which surrounds one -and only one- sprite. Is there any function or sample code for that or do I have to calculate it using only the coordinates I receive for each point drawed on the screen?
I am starting to program with PaLIB for Nintendo DS and after reading all the tutorials and making some simple tests, I have started programming my first serious game.
Everything goes OK but now I want to detect when the user draws on the touchscreen a circle which surrounds one -and only one- sprite. Is there any function or sample code for that or do I have to calculate it using only the coordinates I receive for each point drawed on the screen?