X Tutup

Tutorial-Blog Animations with More Frames

SkepsysD

Regular
Regular
Joined
Oct 15, 2012
Messages
43
Reaction score
20
First Language
English
Primarily Uses
RMMZ
This is awesome, nice work Avery!
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
7,031
Reaction score
7,498
First Language
EN
Primarily Uses
RMMZ
Nice! :kaojoy:

I'm guessing the "glitchy" behaviour of the script call is because the current pattern isn't immediately being set to the new value. Character patterns automatically reset to the _originalPattern value when they've been "stopped", i.e. not stepping/walking, for a certain period of time (based on their move frequency).

You can manually reset to _originalPattern using character.resetPattern(), e.g.
  • In a Script command (map event ID 1):

    $gameMap.event(1)._originalPattern = 1; $gameMap.event(1).resetPattern();

  • In a Script command (This Event):

    this.character(0)._originalPattern = 1; this.character(0).resetPattern();

  • In a move route (This Event):

    this._originalPattern = 1; this.resetPattern();
 

Pereve

Warper
Member
Joined
Dec 8, 2022
Messages
1
Reaction score
0
First Language
Php
Primarily Uses
RMVXA
Great guide, thank you for your work, very convenient and easy to do.
 

annagrahamcracker

Quite literally Kagami Hiiragi
Member
Joined
Dec 5, 2024
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hey, that's pretty neat!
I'll keep that in mind for the future..
 

Latest Threads

Latest Profile Posts

Twitch stream is live with Resident Evil 9! Feel free to drop by!
1000207302.png
All of the skill/system icons: Done
Pepper hopped up on my bed to snuggle earlier... and now there's grains of kitty litter all over the foot of my bed. Now she's in her own bed fast asleep. Sometimes, I like to wonder what Pepper dreams about... does she dream of chasing her toys? Pouncing on the lizards she sees on her patio? Purring in a sunny window? Receiving pets and scritchies?
Oh no... she's back in my bed.
Really interesting seeing the public be so okay with the placeholder art in Slay the Spire 2. I guess they trust in the potential of the final product, but it would be cool if the general consumer had a better understanding of dev pipelines.
Haven't updated my status in awhile. I'm taking a short break from working on my game because I have a sliiiight burnout,,

Forum statistics

Threads
154,253
Messages
1,407,563
Members
209,653
Latest member
OmarMoneyBagz
Top
X Tutup