![]() |
Particle effects
Help?
I've tried over and over to get particle emitters to work - the wiki documentation is nice, but not what i'm looking for. I learn best off working examples and I have no idea where to find any. I'm trying to create an emitter/effect that makes the player trail a little (Zodiac has a similar) effect. Could anyone assist me here? Code snippets, advice, where to start, anything is welcome. |
http://forums.graalonline.com/forums...ad.php?t=60909
Attached to that thread is a tutorial written by TGC and an emitters demo scripted by Stefan. |
Finding examples is simple, check your levels/ganis folder, particle effects are often stored in gani script.
|
Thanks for the assistance, but now I have another problem:
I want every player in the level to see said particle effects. The particle effect in mind would radiate over my player. The only way I can think of doing this is by gani scripting and showani, but I have no experience with either. Help? |
1 Attachment(s)
Here a script I found somewhere long ago, helped me learn alot from particles and how they work.
|
Quote:
|
Any basic examples on how to get an emitter to work inside a gani, and how to display that gani through showani?
|
Quote:
HTML Code:
player.attr[4] = "sword.gani"; HTML Code:
showani(index, this.x, this.y, direction, gani, params); HTML Code:
with(findimg(index)) Gani scripting is generally used when you're wanting something to show for everyone, such as an effect. You'd most-likely use gani script in combination with the player.attr command. Inside the gani, you'd insert something like this: HTML Code:
SCRIPT You'd now need to know more about particles, I suggest opening a few Graal Kingdoms spell effects, they're mostly particles and they help you to understand how they work. [They're the gani's, 'g2k2_spell#'] |
All times are GMT +2. The time now is 01:20 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.