Ich habe ein plugin gemacht der euch erlaubt Partikel Effekte in rm2k3 mit Kommentar Befehle zu machen. Damit könnt ihr schöne Explosionen machen, Wasserfälle, euer eignes Wetter, Rauch und viel mehr.
Dieses ist eine neue Version, und hat einige änderungen zum Alten Partikel Effekt Plugin. Der ist jetzt viel effizienter, und kann viel mehr Partikel auf dem Bildschirm gleichzeitig haben. Der Alte Plugin hatte auch Probleme "Ströhme" von Partikeln zu machen ohne gleich zu laggen. Man müsste auch selber der "Strom" machen, indem man ein paralleler Event laufen ließ der immer wieder neue Partikeln erzeugte. Der Lag soll jetzt mehr oder weniger weg sein, und man kann wählen ob man ein "Burst" oder "Stream" Effekt machen will. Ein Stream Effekt macht einfach einen Strom von Partikeln den du nur zu anfangen und anhalten brauchst.
Eine bessere beschreibung gibts im readme ( auf englisch ).
Liste von Kommentar Befehle:
Im Download gibts ein beispiel Projekt wo ihr sehen könnt wie man die Befehle benutzen können, und was man damit erreichen kann.
Ich habe gerade ein kleines plugin erstellt der euch erlaubt partikel effekte in rm2k3 zu machen falls ihr es mit dem DynRPG patch gepatch haben.
Partikel effekte is keinerlei notwendig für einem spiel, aber es sieht gern schön aus wenn richtig gemacht. Beispiele darauf was man damit machen kann wäre z.b.
Die Instruksen sind noch nur in englisch da ich etwas faul bin, und da ihr es hoffentlich auch so versteht:
Instructions
-------------
@new_effect
this generates a new particle effect. If it's the first effect you create
it will be effect #0. Use the command again and effect #1 will be generated,
then #2, and so on. This is important, because you will be using their ID
to reference them while configuring their properties.
@effect_burst( effectId, x, y )
will draw a burst of particles using effect given by effectId at coordinates (x,y)
@effect_heart( effectId, x, y )
will create a heart burst of particles at (x, y)
@effect_kill( effectId )
will destroy all particles belonging to the chosen effect
@stop()
will stop particles from being drawn onto the screen
@start()
will resume particles to be drawn onto the screen
@effect_timeout( timeout )
Sets the amount of frames it will take before the particle dies. If you wish
to alter it from the default value, you should do so before you configure any
other properties of the particle effect.
@effect_delay( delay )
Sets a delay before the particle starts to fade into transparency.
Must not have the same value as timeout.
@effect_color( red, green, blue )
Sets the initial colour of the particles. the values for red, green and blue
components range from 0 to 255
@effects_colorfade( red, green, blue )
Sets the colour the particles will fade into. Values should be from 0 to 255
@effect_amount( amount )
Sets the amount of particles which will be drawn in one burst
@effect_random( random x, random y )
Sets random offset for where particles will be spawned upon a burst
@effect_angle ( start angle, end angle )
Sets the angle for the particle spray.
IMPORTANT: the start angle has to be lower than the end angle.
Say you want a particle spray between 15 degrees and 345; This should be done
by using the values 345 and 375.
@effect_growth( initial size, final size )
Sets the initial particle size and the final size it will grow into by the end of the burst.
@effect_speed( speed, randomspeed )
sets the speed and additional random speed of the particle.
@effect_file( filename , masking)
allows you to chose your own picture as a particle.
Must include the pathname, e.g. "Picture/Particle2.PNG".
If the file you've chosen should mask away color with index 1, type "true" as the
second parameter.
Ein beispiel von einem Instruktion wäre also:
Comment: @effect_burst 0, 160, V1
Diesem instruktion wurde den partikel effekt #0 rufen bei pixel koordinat 160 in die x richtung und dasselbe mit dem y richtung, halt mit dem wert von variabel 0001.
Es ist sehr möglich hier zu übertreiben, und es zum laggen bringen. Von daher setz das anzahl von partikel runter falls ihr ein effekt viel benutzt, oder macht extra waits drin oder irgendwas bevor es wieder gerufden wird. Letzlich wünsche ich euch spaß damit.