Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / How to make light in 2d games?

Author
Message
DarkBASIC Discussion
4
Years of Service
User Offline
Joined: 7th Jul 2013
Location:
Posted: 6th Apr 2014 04:24
How do I generate light in 2d games. The light I want to generate is like a light from flashlight, light bulb,etc.
UnknownPK
3
Years of Service
User Offline
Joined: 31st Mar 2014
Playing:
Posted: 26th Jul 2014 15:24
ill just do a small circle around the light bulb with an alpha blend and yellow colour but do this before drawing anything else so images will render on top so it wont look odd and for flashes lights do same but another shape there will be a better way but just giving a little help

Login to post a reply

Server time is: 2017-07-21 21:28:34
Your offset time is: 2017-07-21 21:28:34