nS_AddCollisionPolyPoint(Image%, X#, Y#, iType%) | Function |
Description: Creates a polygon point collision. When you have many (3+) polygon points, it creates a closed polygon to check collisions. | |
Parameters: Image% = Image handle X# = X position of the point inside the image Y# = Y position iType% = Type of the collision | |
Return value: Collision index |