Basically i have 2 vectors one for the coordinates of the predator and the other for the prey. I want to use rotate() in the rendering stage in order to make the predator face the direction of the prey.
How do i calculate the rotation so that the predator faces the prey
i messed around with angleBetween() but wasn't able to get it to work.
I was messing around with background images, and for some reason if i don't load the image immediately before i want to use it, a null pointer comes up.
right now this is what i have, and it seems to be resource heavy due to constant image loading
It appears that the Url no longer exists for this particular project. I was wondering if anyone has a copy of some of the code or knows where i can find it. In particular I'm looking for the vector3D class or vector2D. For those of you who have no idea what I'm talking about its on page 10 of the exibition, it was a project where people submitted simple black and white monsters. One of them included a bit of code that i would find difficult to rewrite at my skill level.