3
\$\begingroup\$

i'm wondering: how to create a simple "car headlight" (for i.e) or a torch spotlight in Sdl or Sdl.NET ? Does anyone know how ? Thanks

\$\endgroup\$
1
  • \$\begingroup\$ 2d or 3d? screenshots or youtube vids on what you're looking for? (yes, I understand this is a 2 year old question..) \$\endgroup\$ Sep 25, 2012 at 7:52

1 Answer 1

1
\$\begingroup\$

You can implement the light as a translucent image, e.g. a .png with an alpha channel. Then you just rotate it to point to your looking direction.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .