I've reached the daunting section of collision detection in my D2GS project. Now, I have the problem that object velocity (such as missiles/players) is measured in pixels / frame.
How am I to convert pixels to object x/y locations? Or simply, what x number pixels equals the distances between object x/y's?
Thanks :)
Stand on one side of the screen, cast on the other, time it, determine number of pixels, divide, round :P
each x/y location represents a tile, each tile haves a static amount of pixels, i dont remember well but it can be 16*16.