I am one of those oddballs, i <3 programming, but math is not my strong suit..
float targetX = targetCreature.getX();
float targetY = targetCreature.getY();
float...
Type: Posts; User: mszyndlar
I am one of those oddballs, i <3 programming, but math is not my strong suit..
float targetX = targetCreature.getX();
float targetY = targetCreature.getY();
float...
i figured out that what i need is to use the CohenSutherland method to check if my ArrayList of obstacles touch a line, i just need some help with implementationn
if i have 2 sets of coords, say 50,50 and 100,100.
and then an array of square shaped obstacles between the two points
for (int i = 0; i < arrayOfStuffInTheWay.size(); i++) {
int x =...
Hi to anyone that is reading this, and thank you for taking the time to do so. I have been trying to get some code figured out and im going out of my mind.
THE GOAL: Have a playerobject (square) and...