Kazesui
31.12.2013, 13:22
Dyn Picture Extended Commands ist einen Plugin der euch ein bisschen mehr Kontrolle über dem Pictures gibt.
Durch Kommentar Befehle könnt ihr jetzt fast alle Parameter des Picture befehl mit variabeln steuern. Ihr könnt jetzt auch das Bild horizontal spiegeln, und picture ids von bilder tauschen.
Es ist jetzt auch möglich ein ganzes Spritesheet zu laden und dann einzelnden Sprites effizient mit Pictures anzeigen zu lassen. Damit könnte man auch den Picture Folder viel übersichtlicher machen in dem man Spritesheets daraus macht, statt ein Tausende von Bilder.
Anleitung gibts im Readme file. Die befehle (in englisch) könnt ihr aber schon hier schauen:
@pec_set_color
(number) parameter#1: picture id
(number) parameter#2: red percentage
(number) parameter#3: green percentage
(number) parameter#4: blue percentage
(number) parameter#5: saturation percentage
/ Allows you to set the color component percentages of the
picture
@pec_get_color
(number) parameter#1: picture id
(number) parameter#2: variable id for red percentage
(number) parameter#3: variable id for green percentage
(number) parameter#4: variable id for blue percentage
(number) parameter#5: variable id for saturation percentage
/ Returns the current color component values to designated
variables. If you don't need a component, simply set the
parameter to 0
@pec_set_position
(number) parameter#1: picture id
(number) parameter#2: x coordinate
(number) parameter#3: y coordinate
/ Allows you to set the position of the picture
@pec_get_position
(number) parameter#1: picture id
(number) parameter#2: variable id for x coordinate
(number) parameter#3: variable id for y coordinate
/ Returns the current coordinates into designated variables
@pec_set_transparency
(number) parameter#1: picture id
(number) parameter#2: transparency percentage
/ Sets both upper and lower transparency of the picture
@pec_get_transparency
(number) parameter#1: picture id
(number) parameter#2: variable id for transparency percentage
/ returns the current transparency percentage to the
designated variable
@pec_set_magnification
(number) parameter#1: picture id
(number) parameter#2: magnification percentage
/ sets the magnification percentage of the picture
@pec_get_magnification
(number) parameter#1: picture id
(number) parameter#2: variable id for magnification percentage
/ returns magnification percentage to designated variable
@pec_set_rotation_angle
(number) parameter#1: picture id
(number) parameter#2: angle
/ sets the angle of the picture
@pec_get_rotation_angle
(number) parameter#1: picture id
(number) parameter#2: variable id for angle
/ returns the angle of the picture to designated variable
@pec_set_effect_strength
(number) parameter#1: picture id
(number) parameter#2: effect strength
/ sets the effects strength (rotation / wavering)
@pec_get_effect_strength
(number) parameter#1: picture id
(number) parameter#2: variable id for effect strength
/ Returns the effect strength to designated variable
@pec_is_flipped
(number) parameter#1: picture id
(number) parameter#2: switch id
/ returns on to selected switch if picture been flipped
otherwise selected switch is set to off
@pec_flip_picture
(number) parameter#1: picture id
/ flips the picture horizontally
@pec_create_sprite_sheet
(number) parameter#1: picture id
(number) parameter#2: frame width
(number) parameter#3: frame height
/ loads the full picture into memory as a spritesheet, and
loads the first sprite into the picture. The dimensions of
the sprites must be evenly dividable by the full size of
the image!
@pec_next_frame
(number) parameter#1: picture id
/ loads sprite to the right of the current sprite in the
spritesheet. If end of spritesheet has been reached, it
loops back to the first sprite of that row
@pec_jump_to_frame
(number) parameter#1: picture id
(number) parameter#2: column
(number) parameter#3: row
/ loads sprite directly based on specified row and column
@pec_destroy_sprite_sheet
(number) parameter#1: picture id
/ unloads spritesheet associated with the picture from
memory
Den Download zum Plugin könnt ihr hier finden:
Download (http://rpgmaker.net/engines/rt2k3/utilities/57/)
http://rpgmaker.net/media/content/users/3355/locker/dynpec.png
Durch Kommentar Befehle könnt ihr jetzt fast alle Parameter des Picture befehl mit variabeln steuern. Ihr könnt jetzt auch das Bild horizontal spiegeln, und picture ids von bilder tauschen.
Es ist jetzt auch möglich ein ganzes Spritesheet zu laden und dann einzelnden Sprites effizient mit Pictures anzeigen zu lassen. Damit könnte man auch den Picture Folder viel übersichtlicher machen in dem man Spritesheets daraus macht, statt ein Tausende von Bilder.
Anleitung gibts im Readme file. Die befehle (in englisch) könnt ihr aber schon hier schauen:
@pec_set_color
(number) parameter#1: picture id
(number) parameter#2: red percentage
(number) parameter#3: green percentage
(number) parameter#4: blue percentage
(number) parameter#5: saturation percentage
/ Allows you to set the color component percentages of the
picture
@pec_get_color
(number) parameter#1: picture id
(number) parameter#2: variable id for red percentage
(number) parameter#3: variable id for green percentage
(number) parameter#4: variable id for blue percentage
(number) parameter#5: variable id for saturation percentage
/ Returns the current color component values to designated
variables. If you don't need a component, simply set the
parameter to 0
@pec_set_position
(number) parameter#1: picture id
(number) parameter#2: x coordinate
(number) parameter#3: y coordinate
/ Allows you to set the position of the picture
@pec_get_position
(number) parameter#1: picture id
(number) parameter#2: variable id for x coordinate
(number) parameter#3: variable id for y coordinate
/ Returns the current coordinates into designated variables
@pec_set_transparency
(number) parameter#1: picture id
(number) parameter#2: transparency percentage
/ Sets both upper and lower transparency of the picture
@pec_get_transparency
(number) parameter#1: picture id
(number) parameter#2: variable id for transparency percentage
/ returns the current transparency percentage to the
designated variable
@pec_set_magnification
(number) parameter#1: picture id
(number) parameter#2: magnification percentage
/ sets the magnification percentage of the picture
@pec_get_magnification
(number) parameter#1: picture id
(number) parameter#2: variable id for magnification percentage
/ returns magnification percentage to designated variable
@pec_set_rotation_angle
(number) parameter#1: picture id
(number) parameter#2: angle
/ sets the angle of the picture
@pec_get_rotation_angle
(number) parameter#1: picture id
(number) parameter#2: variable id for angle
/ returns the angle of the picture to designated variable
@pec_set_effect_strength
(number) parameter#1: picture id
(number) parameter#2: effect strength
/ sets the effects strength (rotation / wavering)
@pec_get_effect_strength
(number) parameter#1: picture id
(number) parameter#2: variable id for effect strength
/ Returns the effect strength to designated variable
@pec_is_flipped
(number) parameter#1: picture id
(number) parameter#2: switch id
/ returns on to selected switch if picture been flipped
otherwise selected switch is set to off
@pec_flip_picture
(number) parameter#1: picture id
/ flips the picture horizontally
@pec_create_sprite_sheet
(number) parameter#1: picture id
(number) parameter#2: frame width
(number) parameter#3: frame height
/ loads the full picture into memory as a spritesheet, and
loads the first sprite into the picture. The dimensions of
the sprites must be evenly dividable by the full size of
the image!
@pec_next_frame
(number) parameter#1: picture id
/ loads sprite to the right of the current sprite in the
spritesheet. If end of spritesheet has been reached, it
loops back to the first sprite of that row
@pec_jump_to_frame
(number) parameter#1: picture id
(number) parameter#2: column
(number) parameter#3: row
/ loads sprite directly based on specified row and column
@pec_destroy_sprite_sheet
(number) parameter#1: picture id
/ unloads spritesheet associated with the picture from
memory
Den Download zum Plugin könnt ihr hier finden:
Download (http://rpgmaker.net/engines/rt2k3/utilities/57/)
http://rpgmaker.net/media/content/users/3355/locker/dynpec.png