Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
659
Reaction score
409
First Language
English
Primarily Uses
N/A
So after noticing that my game was lagging terribly in battle (hovering around 30-35 FPS), I literally spent the last 2 hours re-configuring and replacing plugins to find out what may be the cause. 


Turns out it's the font that I'm using. Switching back and forth between my font and the default fonts pretty much confirms this. I'm not familiar with the specifics of fonts and how MV generates them in-game. Why would a particular font cause so much lag in battle? Mind you, this is ONLY in battle. Using the font for standard message windows in-field doesn't cause any problems. 


I'm really bummed out because this particular font is very important when it comes to creating a retro aesthetic. Has anyone else had this problem?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,869
Reaction score
14,989
First Language
English
Primarily Uses
RMMV
I would be really surprised if it's the font.
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
867
First Language
English
Primarily Uses
RMMV
Which font are you having the issue with? Perhaps you are using a rather un-optimized bitmap font or somesuch.
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,634
Reaction score
1,453
First Language
French
Primarily Uses
RMMV
So after noticing that my game was lagging terribly in battle (hovering around 30-35 FPS), I literally spent the last 2 hours re-configuring and replacing plugins to find out what may be the cause. 


Turns out it's the font that I'm using. Switching back and forth between my font and the default fonts pretty much confirms this. I'm not familiar with the specifics of fonts and how MV generates them in-game. Why would a particular font cause so much lag in battle? Mind you, this is ONLY in battle. Using the font for standard message windows in-field doesn't cause any problems. 


I'm really bummed out because this particular font is very important when it comes to creating a retro aesthetic. Has anyone else had this problem?



Try the font load from triacontane


And tell us if is more performant.
I have no problem with this one.


https://raw.githubusercontent.com/triacontane/RPGMakerMV/master/FontLoad.js


Original dicution with im


http://triacontane.blogspot.ca/2015/12/rpgmv-rpgmv-dtext-1-rpgmv-dtext-dtext.html
 

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
659
Reaction score
409
First Language
English
Primarily Uses
N/A
@Shaz

You're right. After spending most of the night researching to see if anyone else had the problem, I've come across a few people mentioning this, and all have been using Yanfly plugins. I've tried over 10 different fonts downloaded from online, mostly pixel fonts. When using Yanfly's demo project, switching to particular fonts causes lag. So I'll have to get in touch with Yanfly. 


@Exhydra That's what I was thinking. But after trying several different fonts, I'm not sure that's the case.


@Jonforum Thanks for this Jon. Unfortunately it didn't do the trick. 


I'll have to dig in a bit deeper, or bite the bullet and accept the fact that my favorite pixel fonts don't play well with Yanfly plugins.
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,634
Reaction score
1,453
First Language
French
Primarily Uses
RMMV
@Shaz

You're right. After spending most of the night researching to see if anyone else had the problem, I've come across a few people mentioning this, and all have been using Yanfly plugins. I've tried over 10 different fonts downloaded from online, mostly pixel fonts. When using Yanfly's demo project, switching to particular fonts causes lag. So I'll have to get in touch with Yanfly. 


@Exhydra That's what I was thinking. But after trying several different fonts, I'm not sure that's the case.


@Jonforum Thanks for this Jon. Unfortunately it didn't do the trick. 


I'll have to dig in a bit deeper, or bite the bullet and accept the fact that my favorite pixel fonts don't play well with Yanfly plugins.



Most easy way is use the timeline


Here a old video i made to check the lag since the pixi 2.
Is for android, but you can do the same thing for windows, and found the (flick) Frame rate and the plugin do this


Hope this can help you to dig in a bit deeper :)
 

Latest Threads

Latest Posts

Latest Profile Posts

just when I thought one of the greatest game of all time couldn't get any better, they announce a new dlc for it.
For anyone interested: there's another huge humble bundle with JRPG assets + a game jam starting next month - it's for a good cause, so check it out <3
Turning a specific vibe into reality is incredibly difficult. For instance, this song is one of the ones I listen to when working on my post apocalyptic project, and getting it's "feeling" into the game has been a real challenge.

I don't just wanna regurgitate the numbers I see, I wanna actually understand the calculations I'm making so I'm probably gonna make a post later with some calculations and what I THINK they mean to get some advice and corrections.

Edit: All (Most) of these will be tested in game prior. I just wanna make sure I understand what's going on under the hood if you will.
my girlfriend calls all my little chibi art cute lol... funny considering that wasn't the original art style of the game.

Forum statistics

Threads
113,778
Messages
1,077,364
Members
147,808
Latest member
traviscot
Top