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
10
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
9
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: 2024-03-28 09:18:08
Your offset time is: 2024-03-28 09:18:08