Tsunar

Veteran
Veteran
Joined
Jun 21, 2013
Messages
38
Reaction score
9
First Language
English
Primarily Uses
You know the weapon that appears when your character attacks in side view? well Im using taller sprites and I still want to use that. Is there a way to change the X and Y of that sprite to fit the taller sprites?
 

coyotecraft

Mythographer
Veteran
Joined
Mar 13, 2012
Messages
375
Reaction score
207
First Language
English
Primarily Uses
N/A
Sure. It's in rmmz_sprites.js
JavaScript:
Sprite_Weapon.prototype.initMembers = function() {
    this._weaponImageId = 0;
    this._animationCount = 0;
    this._pattern = 0;
    this.anchor.x = 0.5;
    this.anchor.y = 1;
    this.x = -16;
    this.y = -24; // added here; some number
};

I can't tell you what your offset will be.
 

Latest Threads

Latest Profile Posts

Made some new ground textures for our game, lots of textures still to be made but I think it start to look good =3
FddE0coWIAUA5Vy
People are stupid.
"Hello, our electricity has stopped working."
"Yeah, it just stopped for the entire area a couple mins ago."
"And why?"
"I don't know, need to investigate."
"And how long's it gonna last?"
Dude... Seriously?

Clarn Hold
(No storylines)

Forum statistics

Threads
125,549
Messages
1,171,865
Members
164,621
Latest member
Octorne
Top