Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Particle Engine (https://forums.graalonline.com/forums/showthread.php?t=134259346)

Mark Sir Link 05-30-2010 07:23 AM

Particle Engine
 
is it possible to have images start outside of the graal control ( < 0 x and y) with the particle effect engine? I was trying to make some basic weather effects and it looks pretty ****ty to have things appear all at once on the left/top side of the screen.

cbk1994 05-30-2010 07:35 AM

yes

Mark Sir Link 05-30-2010 07:37 AM

how does one go about doing that since setting x < 0 doesn't seem to work?

cbk1994 05-30-2010 07:43 AM

Quote:

Originally Posted by Mark Sir Link (Post 1579372)
how does one go about doing that since setting x < 0 doesn't seem to work?

On what image layer?

DrakilorP2P 05-30-2010 01:38 PM

Quote:

Originally Posted by Mark Sir Link (Post 1579372)
how does one go about doing that since setting x < 0 doesn't seem to work?

On layers < 4 you can just move it outside the screen, but what I found out just now while trying this is that this is not true for layer 4.

I don't know how it works but increasing clippingbox to
PHP Code:

clippingbox = {-512, -512, -512512512512}; 

seems to have fixed it.

I tried some other methods for moving the particles outside the screen but none of them worked.

Mark Sir Link 05-30-2010 07:03 PM

layer 4 was the layer I had been using, will try changing it once I can get back on Testbed.

cbk1994 05-30-2010 09:27 PM

Quote:

Originally Posted by Mark Sir Link (Post 1579450)
layer 4 was the layer I had been using, will try changing it once I can get back on Testbed.

Weather effects should probably be on the light layer (3) which is for the level since otherwise it will look very strange that they don't move as the player moves.


All times are GMT +2. The time now is 10:33 AM.

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