Kakis

Villager
Member
Joined
Dec 20, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hi, so I've trying out moghunters battle hud from their master mv demo. I've been really liking the interface and trying to use their plug-in, into my own project. The battles work fine, but for some reason the font displays strangely? As shown in the image, it shows two images of the damage the actor does to the enemy. Not sure why.


I do also have in use Yanfly's battle engine core (as well as their battle ai core and engine core). From my attempts, there doesn't seem to be anything conflicting with Yanfly's battle system.

I'm not sure what else to do and I'm not very familiar with coding so I didn't want to do anything that would backfire. It's probably something I'm overlooking, but does anyone has any advice for this? Ways perhaps to change the font size or something that I'm missing to include? (I didn't copypaste all of Moghunters plug-ins, just trying out a few so maybe there's something I missed there?)

Thanks.
 

shockra

Bored Code Guy
Veteran
Joined
Feb 16, 2016
Messages
472
Reaction score
219
First Language
English
Primarily Uses
RMMZ
My first thought is that the popup graphic is the wrong size. If I remember correctly, each number should be 24x32 by default. Since the 2nd number is cut off, either:

1: The numbers are the wrong size

2: The plugin changed the default size

3: The base graphic is missing something

Do you have the original popup graphic I can take a look at?
 

Kakis

Villager
Member
Joined
Dec 20, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMMV
My first thought is that the popup graphic is the wrong size. If I remember correctly, each number should be 24x32 by default. Since the 2nd number is cut off, either:

1: The numbers are the wrong size

2: The plugin changed the default size

3: The base graphic is missing something

Do you have the original popup graphic I can take a look at?
Hmm, I wonder if me changing the default screen size of my project changed anything? I used Yep_CoreEngine to change the screen width and height to 3508 x 2480. This was mostly because I wanted to create images using photoshop without having to loose quality of my drawings.

I didn't notice anything wrong with graphic numbers with just Yanfly's battle engine when I did make these changes. I'll have to look back to see if I missed anything, to see if anything did change. As for the graphics themselves, all the visuals shown are just what I got from Moghunter's demo.

Here's a better picture of the pop up:


Edit: Ok so I did a quick test by turning off Moghunter's battle plug-in and I noticed I still have the same results for the numbers appearing during battle.
 

shockra

Bored Code Guy
Veteran
Joined
Feb 16, 2016
Messages
472
Reaction score
219
First Language
English
Primarily Uses
RMMZ
That's not what I meant. In your System folder, there should be a graphic called DamagePopup or something like that. I want to see that file directly (not in game) to make certain it's the correct size.

I can't imagine changing the screen size would have an effect. If the popups are the problem, that's probably where the problem is. It's possible that Moghunter did something in the plugin to change the size of the popup, but I'm guessing the image file itself is the problem.
 

Kakis

Villager
Member
Joined
Dec 20, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMMV
That's not what I meant. In your System folder, there should be a graphic called DamagePopup or something like that. I want to see that file directly (not in game) to make certain it's the correct size.

I can't imagine changing the screen size would have an effect. If the popups are the problem, that's probably where the problem is. It's possible that Moghunter did something in the plugin to change the size of the popup, but I'm guessing the image file itself is the problem.
Ah, sorry! I should've asked. Though I'm glad to know it's not impacted by screensize.
I looked in my system folder and I believe this is the graphic that was used for damage pop ups. When I copy pasted the assets Moghunter used, it included graphics for other features, so hopefully I got it right this time.

 

shockra

Bored Code Guy
Veteran
Joined
Feb 16, 2016
Messages
472
Reaction score
219
First Language
English
Primarily Uses
RMMZ
Yeah, that's the right graphic. And I see the problem.

A normal popup graphic has 5 rows: The top 4 number rows and the "Miss" row. The 3 added rows in this graphic aren't accounted for in the default coding.

Normally, each number in a damage popup in the game "slices" a section of the graphic to show the number. That slice is likely calculated by taking the full width / 10 and the full height / 5. But since this graphic has extra rows, height / 5 shows part of the next row down.

I'm guessing that a Moghunter plugin you're not using accounts for this, so I would check if one of those plugins fixes it. Or a second option is to remove the bottom 3 rows (Critical, Counter, Reflection), but since I'm not familiar with Moghunter's plugins, I would check the plugins 1st.
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,285
Reaction score
1,922
First Language
English
Primarily Uses
RMMV
I have a slightly cleaner version than the MogHunter default.
The numbers "6" & "7" are no longer "cut-off" by 1 pixel in my version.

Damage.png

But here's a version w/o the last 3 rows:
Damage.png
I'm guessing that a Moghunter plugin you're not using accounts for this, so I would check if one of those plugins fixes it.
I believe the MogHunter plugin that accounts for the extra rows is called "MOG_DmgPopupEffects.js".
 

Kakis

Villager
Member
Joined
Dec 20, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMMV
Yeah, that's the right graphic. And I see the problem.

A normal popup graphic has 5 rows: The top 4 number rows and the "Miss" row. The 3 added rows in this graphic aren't accounted for in the default coding.

Normally, each number in a damage popup in the game "slices" a section of the graphic to show the number. That slice is likely calculated by taking the full width / 10 and the full height / 5. But since this graphic has extra rows, height / 5 shows part of the next row down.

I'm guessing that a Moghunter plugin you're not using accounts for this, so I would check if one of those plugins fixes it. Or a second option is to remove the bottom 3 rows (Critical, Counter, Reflection), but since I'm not familiar with Moghunter's plugins, I would check the plugins 1st.
I have a slightly cleaner version than the MogHunter default.
The numbers "6" & "7" are no longer "cut-off" by 1 pixel in my version.

View attachment 204316

But here's a version w/o the last 3 rows:
View attachment 204317

I believe the MogHunter plugin that accounts for the extra rows is called "MOG_DmgPopupEffects.js".
Thank you both for the help! I’ll try out the font sizes and try to find the plug-in when I have the time to check it out.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,104
Reaction score
15,524
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Thank you.

 

Latest Threads

Latest Posts

Latest Profile Posts

I'm new to rpgmaker mv, link me some good stuff to learn.
Finally, I have graduated from college and now I can put a lot more work into my game, after having not worked on it for the better part of a year.
post so i can change my profile picture ^^
Creating Some art for a fighter game.

Finally was able to record the rest of the game demo! I added some edits here and there, this is why it takes me so long to do stuff cuz I find a problem and have to fix it asap. x.x
Game: https://dj990j.itch.io/region-of-mythos

Forum statistics

Threads
117,062
Messages
1,104,208
Members
153,026
Latest member
sleezyretro
Top