Aligning Icons and Animations
- Go to line 1615, Sprite_StateIcon.
- Set this.anchor.x to 0.
- Set this.anchor.y to -0.5.
- Using GIMP, resize face as desired using percentages (I use 65%)
- Create a 148x148 square with the rectangle tool and place it over the face. Remember its coordinates for a uniform look for all your facesets.
Recolor Pieces with Multiple Colors
- Take the item you want to recolor in a separate window
- Duplicate it
- Desaturate the original and move back to the copy you just made
- Go to Mode in the Image Bar, choose Index, and reduce the colors to the amount of colors on the item (most of them will have two if not one like the vest of my protagonist in my avatar)
- Copy duplicate with reduced colors
- Set the mode back to RGB
- Paste the duplicate back into the original image
- Select a color in the duplicate with the reduced colors
- Set duplicate layer mode to color or even something else that strikes your fancy
- Go back to the original item and do whatever recoloring techniques you do
No-loop Victory Animations
- Go to line 833 in Sprite_Actor.prototype.updateMotionCount
- Add } else if (this. pattern = 13) {
this.pattern = (this.pattern + 1) % 4; before lines
} else {
this.refreshMotion();
.
Reset Sprite
This is more of a utility, but it resets your sprite to idle animations depending on which plugins you use that make them move in place instead of coming to a complete stop:
Set Movement Route: Player
Image: JoeSchmoe%(8)(0)
Script: PATTERN UNLOCK
Stepping Animation: On
Image: JoeSchmoe%(8)(0)
Script: PATTERN UNLOCK
Stepping Animation: On
A common event isn't necessary but makes the events look less cumbersome. Plus you'll have to do it all the time. The script uses Yanfly's Move Route Core which I will cover briefly soon.
Using Poses W/ Yanfly's Move Route Core
Set Movement Route: Player
Stepping Animation: Off
Script: PATTERN LOCK: 0
Turn Up
Image: JoeSchmoe Poses 1 (x)
Script: PATTERN LOCK: 0
Wait: 5 Frames
Script: PATTERN UNLOCK
Wait: 30 Frames
Script: PATTERN LOCK: 2
Stepping Animation: Off
Script: PATTERN LOCK: 0
Turn Up
Image: JoeSchmoe Poses 1 (x)
Script: PATTERN LOCK: 0
Wait: 5 Frames
Script: PATTERN UNLOCK
Wait: 30 Frames
Script: PATTERN LOCK: 2
After this you should call the Reset Sprite common event.
