YesNoOk
avatar

Big Portrait (Read 1380 times)

Started by duduleonel2020, September 16, 2020, 08:10:59 PM
Share this topic:
Big Portrait
#1  September 16, 2020, 08:10:59 PM
  • avatar
    • Brazil
Hello friends. I am creating my first screenpack. I made Big Portrait in Photoshop for KFM, with custom size and alignment. The resolution I made and loaded for the FF was 1280x1440, for Mugen 1.1. However, using the same picture frame on another random character, the image became large and misaligned. Where was the error?

My System.def looks like this:
; Big portraits
p1.face.spr = 9000.1; Do not change from 9000.1
p1.face.offset = 0.0
p1.face.scale = 1.1; Set to 1.1 to return to default portraits
p1.face.facing = 1
p1.face.window = 650.0, 0.959

p2.face.spr = 9000.1
p2.face.offset = 0.0
p2.face.scale = 1.1; Set to 1.1 to return to default portraits
p2.face.facing = 1
Re: Big Portrait
#2  September 16, 2020, 11:35:28 PM
  • **
  • From the Republic of the Little Bananas
    • Brazil
Shouldn't those numbers be separated by a , instead of an .? Like p1.face.spr = 9000,1?
Btw, it's probably the localcoord in the character def, are you using kfm720?
Re: Big Portrait
#3  September 17, 2020, 02:34:54 PM
  • avatar
    • Brazil
Re: Big Portrait
#4  September 17, 2020, 06:32:14 PM
  • **
  • From the Republic of the Little Bananas
    • Brazil
As I said it's the localcoord thing, kfm720 have localcoord = 1280,720 it resizes his sprites, most of the other chars uses the default localcoord = 320,240 (if you don't put anything there mugen automatically uses the default). So I suggest resizing the portrait by 4x only for kfm720 and changing the p1.face.scale = 1,1 to p1.face.scale = 0.5,0.5 and do the same for p2.
Re: Big Portrait
#5  September 17, 2020, 08:48:19 PM
  • avatar
    • Brazil
As I said it's the localcoord thing, kfm720 have localcoord = 1280,720 it resizes his sprites, most of the other chars uses the default localcoord = 320,240 (if you don't put anything there mugen automatically uses the default). So I suggest resizing the portrait by 4x only for kfm720 and changing the p1.face.scale = 1,1 to p1.face.scale = 0.5,0.5 and do the same for p2.

Ah, now I understand my friend. Thank you very much for the information. When I'm done, I'll post the screenpack here.