Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Level effects (https://forums.graalonline.com/forums/showthread.php?t=134268426)

i8bit 07-06-2013 04:27 PM

Level effects
 
There are two effects I am trying to achieve.

1. Darkening screen.
2. Fog effect. (I've seen this on Maloria I believe.)

My question is what is the best (most efficient) way to get a darkened screen effect?
Also, for the fog effect, should I run that through a gani, moving image, or what?

callimuc 07-06-2013 05:41 PM

1. use setEffect(r,g,b,a) on clientside. rgb is the normal red, green, blue thingy and a is for alpha, those 4 are all reaching from 0 to 1, meaning you can use stuff like 0.75 etc
2. use particles. this can create particles which might help you to understand the creation of particles


All times are GMT +2. The time now is 09:44 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.