![]() |
TGC's School of Script: Emitters
1 Attachment(s)
Okay. About time I shared my newfound and dearly loved knowledge on emitters. (This is an extremely long post, but read it if you want to learn Particle Emitters through and through, and yes I will start from the beginning).
First off, new function, we will need this for the Emitters: PHP Code:
PHP Code:
Important notes before we start:
Now, onto Particle Emitters!! A particle emitter is an object. Just like 'player.' or 'this.', it is an object. It's parent is the TShowImg, which is the showimg object. First off, you do not need to define an image to cast an emitter on it. in fact, I did not and I made some pretty nice and simple emitters. (Attached is a preview of what I have made, and that's on Babylon). Now, the 'emitter.' object is how we access and create an emitter. First off, the basics: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Well, I hope that taught you a thing or two about emitters! <3, and attached is the picture of what I've done with my emitter images. Note: You'll have to change the image's x and y to the player's x and y inside a timeout loop if you want the emitter to follow the player, as I have it. Have fun! EDIT: I left out the things I, myself, don't fully understand. Sorry. z-z |
thats pretty O.o
|
You totally forgot about local and global modifiers. You will need those if you want to make nice effects with the particle engine. =/
|
Then tell us about local and global modifiers.
TGC doesn't have Stefan's particle system script to look at for reference. |
Quote:
|
Quote:
I won't post them now because I don't know the difference between a LocalModifier and a GlobalModifier. Ajira gave me an idea, but until he gets an answer from Stefan or I find a way to verify his idea, I won't include them. |
"omgomgomg breaks of rule #2 ! delet plx !"
:rolleyes: way to go, TGC! keep up the good work I'll be besting you shortly when i can log on again ;) (and have time to play with them -.-) Edit: Quote:
|
Quote:
Besides, it doesn't break the rule. He gave the basis of a script, not an actual script, and it was just for educational purposes anyway. |
Yeah
Please keep up the good work guys you give slow retarded scripters like me a fair chance at good NAT'ing <3 |
Quote:
Quote:
|
Rule two states I cannot give a full and complete working script that a person can copy and paste, to solve their problem.
I didn't do that. I gave every aspect of a system, every aspect I understood at that moment, in an effort to teach people about a brand new system that I like. Now, I do think I'm able to post whole scripts as 'donations' to the Grawl public, but I'm not sure. Am I allowed to do that? (If so, I might end up having a few gifts for you guys ^_~) |
It's also illegal to harass players and use RC to give out player's IPs...
But nobody cares, do they? ;) |
Its also apparently illegal to post broken and incomplete scripts that appear to be complete :whatever:
|
| All times are GMT +2. The time now is 03:15 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.