![]() |
Light Effect Help
Hello, I'm trying to simulate being in a cave on my server and I was thinking I could show a polygon that covered the whole screen except for a little circle around your player.
Here's my current script to show a black screen: PHP Code:
|
I think a light effect would look nicer.
*Just my personal opinion* however if you do decide to go with a light effect iv scripted this, its as close to realistic as i can get it. PHP Code:
|
Quote:
PHP Code:
I hope this helps you. |
Or instead of going to the trouble of making a polygon circle, you could just make an image which gets more transparent towards the middle, and then surround the image with black polygons, giving the same effect but with less difficulty.
|
| All times are GMT +2. The time now is 07:20 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.