implemented new collision test and rendering
should work with design resolution