- Joined
- Apr 20, 2019
- Messages
- 447
- Reaction score
- 82
- First Language
- Portuguese
- Primarily Uses
- RMMZ
So, I've tried everything but I can't get rid of this nasty player's collider offset (I think it's Y -24). The projectile itself goes straight for the center of the sprite but the collider gets offset when I'm using Qmovement. As a result, the projectile gets triggered by the space below the player.
I've actually tried improvising and editing the source code, but as it often happens with no luck...
I believe the change should be done somewhere here?
I know I'm not the only one who's struggling with this issue, but I feel like it should have some simple solution.
I've actually tried improvising and editing the source code, but as it often happens with no luck...
I believe the change should be done somewhere here?
I know I'm not the only one who's struggling with this issue, but I feel like it should have some simple solution.
Code:
Sprite_MapProjectile.prototype.checkHitPlayer = function() {
return this._obj.sTarget != $gamePlayer && !$gamePlayer.projDodge && Galv.PROJ.dist($gamePlayer.screenX(),$gamePlayer.screenY(),this.x,this.y) < this._hitDist && this.isSameLevel($gamePlayer._priorityType);
};