Sign in to follow this  
H_o_p_s

[java] Sprite Collision

Recommended Posts

I was wondering if anybody had any links or code that could help me make a sprite collision object that will help me in making my dirty rect algorithm for my isometric strategy game.

Share this post


Link to post
Share on other sites
For the rect colisions you can use simple math
and for 2d polygons - java have builtin polygon class with some colision function - like point in poligon and polygons intersects ,just wrap it for your needs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this