Jump to content


Photo

New Character Properties with Calls 2.2


  • Please log in to reply
4 replies to this topic

#1 PK8

PK8

    Close the window.

  • Members
  • 455 posts
  • LocationStanding on the backs of angels
  • Primarily UsesRMXP
  • First LanguageEnglish

Posted 15 April 2012 - 03:30 AM

New Character Properties with Calls

Introduction
This script adds additional properties from the Sprite class to Game_Character such as angle, color, mirror, tone, zoom_x, and zoom_y. For this version, I also combined my Event Angle/Color/Mirror/Tone/Zoom add-ons and my script calls with this script.

Features
  • This gives Character sprites additional properties from the Sprite class such as Angle, Color, Mirror, Tone, Zoom, Wave Amp, Wave Length, and Wave Speed
  • Change the angle, color, mirror, tone, zoom, wave amp, wave length, and wave speed of a character sprite using script calls.
  • Set Angle, Color, Mirror, Tone, Zoom, Wave Amplitude, Wave Length, and Wave Speed of Events using special comments.
  • Change certain properties of a character sprite to a desired value in a certain number of frames with a script call.
What's New?
For v2, I merged two add-ons I made for the original (Change Character Sprite Angle/Color/Size/Tone in frames and Event Angle/Color/Size/Tone) into one package and threw in several new script calls which should be useful (e.g.: zoom_change, color_*_change, tone_*_change).

Media
Images

Posted Image
Note the treasure chests, statues, and the flying imp hovering over Ralph.


Script
New Character Properties with Calls 2.2

Author's Notes
I wanted to work on letting game creators animate character sprites a little more through script calls. I noticed certain properties such as angle, color, mirror, tone, and angle were missing so I wanted to add them in.

Thanks
Charlie Fleed for showing me how to script special comments a few years ago.
Prof. Meow Meow making fantastic use of it in a demo he showed me a few years ago.

License / Terms
Free for non-commercial and commercial purposes. Just credit me.

Edited by PK8, 11 June 2012 - 06:01 PM.

Single-handedly putting an end to the monopolisation of the scripting forums. Proud member of The Underground and JIFZ-NFPZ.
pk8.png fb.png tw.png yt.png

Have you ever wanted to attach switches, variables, and various information onto your Actors, Events, Classes, Skills, Armors, Items, Weapons, and Skills? Now you can. The Self Data Suite -- The Most Extensive Set of Scripts Around (also available for RPG Maker XP and VX)

#2 kingmakerspider

kingmakerspider

    That little devil...

  • Members
  • 150 posts
  • LocationOregon, USA
  • Primarily UsesRMVX
  • First LanguageEnglish

Posted 09 June 2012 - 03:10 AM

I have a question for you... how did you get the Imp in the above image to look like that. Which things did you happen to edit? I wanted some creatures to have an unnatural appearance in a game I'm working on and that might do the trick. I just want to know what script calls you used with this script to make that happen. ( just the imp is all I'm asking for.)
"Rule #13: Think faster, shoot slower."

How few there are who have courage enough to own their faults, or resolution enough to mend them.
-Benjamin Franklin


I support:
Posted Image
Posted Image
Posted Image
Posted Image

#3 PK8

PK8

    Close the window.

  • Members
  • 455 posts
  • LocationStanding on the backs of angels
  • Primarily UsesRMXP
  • First LanguageEnglish

Posted 09 June 2012 - 04:43 AM

The imp flying above the player or the imp next to the stairs?

If it's the imp by the stairs, that was me working on something that would let devs blur certain characters but never really got to finish since I couldn't figure out how to make it not blur other similar bitmap graphics.

If it's the imp flying above the player, I gave it these comments:
$zoom 800 800
$tone 50 50 50 0
$angle 45
Single-handedly putting an end to the monopolisation of the scripting forums. Proud member of The Underground and JIFZ-NFPZ.
pk8.png fb.png tw.png yt.png

Have you ever wanted to attach switches, variables, and various information onto your Actors, Events, Classes, Skills, Armors, Items, Weapons, and Skills? Now you can. The Self Data Suite -- The Most Extensive Set of Scripts Around (also available for RPG Maker XP and VX)

#4 kingmakerspider

kingmakerspider

    That little devil...

  • Members
  • 150 posts
  • LocationOregon, USA
  • Primarily UsesRMVX
  • First LanguageEnglish

Posted 11 June 2012 - 09:14 AM

The imp flying above the player or the imp next to the stairs?

If it's the imp by the stairs, that was me working on something that would let devs blur certain characters but never really got to finish since I couldn't figure out how to make it not blur other similar bitmap graphics.

If it's the imp flying above the player, I gave it these comments:
$zoom 800 800
$tone 50 50 50 0
$angle 45

definitely referring to the one by the stairs. The blurred one. Although, they are both very surreal. I did notice when trying out your script that for some reason I was unable to change actor graphic using the "set move route"... "change graphic" method. It was definitely odd.
"Rule #13: Think faster, shoot slower."

How few there are who have courage enough to own their faults, or resolution enough to mend them.
-Benjamin Franklin


I support:
Posted Image
Posted Image
Posted Image
Posted Image

#5 PK8

PK8

    Close the window.

  • Members
  • 455 posts
  • LocationStanding on the backs of angels
  • Primarily UsesRMXP
  • First LanguageEnglish

Posted 11 June 2012 - 04:52 PM

Hey, just made a really important update to the RPG Maker VX version of this script.

Turns out I left some code in there that made this script have a game-breaking bug that involves saving the game. Please update it.

Other than that, I reduced the code by about a hundred lines and made the documentation better (it talks about applying changes to vehicles), and corrected a couple of typos I made in there.

Edit: Just gave this script an update to v2.2. Now users can set arrays for the tone/color/tone_change/color_change calls. Example: $game_player.tone = [-255, 0, 0, 255]

Edited by PK8, 15 June 2012 - 12:06 PM.

Single-handedly putting an end to the monopolisation of the scripting forums. Proud member of The Underground and JIFZ-NFPZ.
pk8.png fb.png tw.png yt.png

Have you ever wanted to attach switches, variables, and various information onto your Actors, Events, Classes, Skills, Armors, Items, Weapons, and Skills? Now you can. The Self Data Suite -- The Most Extensive Set of Scripts Around (also available for RPG Maker XP and VX)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users