How to remove Touch/Click Flash Tile Effect

sertianscompany

Villager
Member
Joined
Nov 26, 2015
Messages
16
Reaction score
5
First Language
ESP EN
Hello, I would like to develop a game for mobile in RPG Maker MV.
 

My question is: How to remove the flash effect that appears on the screen when I click/touch to move the character?
 

There should be a plugin or internal option to remove that effect, because it doesn't look right as it is now.
Here is a picture of what I mean:



flash touch.jpg
 
Last edited by a moderator:

orcomarcio

Veteran
Veteran
Joined
Nov 26, 2015
Messages
106
Reaction score
20
First Language
Italian
I'm looking for the same thing if I find a solution I'll write it here
 

orcomarcio

Veteran
Veteran
Joined
Nov 26, 2015
Messages
106
Reaction score
20
First Language
Italian
I think I found a solution for that.

in the "rpg_rpite.js" file there's the class called "Sprite_Destination" around row 2044 with all the methods called to create that effect.

This method in particular is responsible for creating the graphic of the effect:

Sprite_Destination.prototype.createBitmap = function() {    var tileWidth = $gameMap.tileWidth();    var tileHeight = $gameMap.tileHeight();    this.bitmap = new Bitmap(tileWidth, tileHeight);    this.bitmap.fillAll('white');    this.anchor.x = 0.5;    this.anchor.y = 0.5;    this.blendMode = Graphics.BLEND_ADD;};What I did is to recreate this method in my personal plugin file and comment/ remove all the stuff inside these brackets, this basically leaves the effect image blank and therefore it doesnt' show when the code try to print it.

Is not the most elegant way of doing it ad probably the best thing is find where the "Sprite_Destination" methods are called and rewrite those routines to revome the calls and therefore lighten up the code, but for now i think this solution is good enough and the input graphic code weight on performances is negligible.

Also I think is possible just to change the input graphic by putting changin a line in this method

//this.bitmap.fillAll('white'); // you dont' need this line anymore in this casethis.bitmap = [graphic you want to use];

Anyway, this is the modified method i put in the plugin i'm creating:

Sprite_Destination.prototype.createBitmap = function() {    // var tileWidth = $gameMap.tileWidth();    // var tileHeight = $gameMap.tileHeight();    // this.bitmap = new Bitmap(tileWidth, tileHeight);    // this.bitmap.fillAll('white');    // this.anchor.x = 0.5;    // this.anchor.y = 0.5;    // this.blendMode = Graphics.BLEND_ADD;};I just commented the lines just in case, but can just put this:

Sprite_Destination.prototype.createBitmap = function() {};Hope that's what you needed  :)
 
Last edited by a moderator:

Kaemalux

Veteran
Veteran
Joined
Feb 28, 2014
Messages
30
Reaction score
18
First Language
Italian
Primarily Uses
Thanks a lot orcomarcio (italian too?)! ^_^
I spent two days trying to find a solution, your edit works like a charm!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top