How to partially draw object when it overlays another / draw only all points of collision

Discussion in 'Programming' started by JML, Aug 14, 2019 at 10:31 AM.

  1. JML

    JML Wabbajackalope

    Joined:
    Jun 22, 2016
    Posts:
    347
    lets say i have two circles, one i can see the other i cant.

    i want to make it so that the non visible circle will become visible if it collides with the visible circle but only the part that is in collision can be seen (so rather than having the entire image wink into existence, it is only partially visible).

    how can this be done? im sure people would need it for showing injured npc, partial overlays, or in the case of television show chowder the clothing made out of a stationary image that only appears where they are standing but these are just random ideas and i dont know where to begin learning how to do this.

    thank you.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice