I made a game with CC that I used shadow casting a lot on it
you can play it here:
now I want to make it with C2 but I dont know how
Search the forum, there are lots of posts about various methods.
Develop games in your browser. Powerful, performant & highly capable.
intro to shadows tutorial
Might give you a start point - hope it's not too basic for you.