Skip to main content
GameDev.net gamedev.net
🔒 Locked

2D light scopes

Started by pekupk Apr 5, 2011 at 4:03 PM 0 replies 1.4k views
Original Post
pekupk
pekupk
I'm creating light scopes for a 2D scene. The scopes' sources are spot lights or cameras that rotate. I'm thinking I'll create the scopes using semi transparent white/yellow triangle fans. However, parts of the fan have to stop on walls so that the light scopes don't go through the walls. There can be 1 or more walls or rectangle-like obstacles that the scopes don't penetrate. The obstacles might even move since it's a puzzle game. Anyway, I think the scopes will look pretty cool but I just have to figure out how to do it LOL. There will probably be lasers too. Any pointers to similar previous work?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.