collapse

Author Topic: I figure the winquote.textwrap I hope this help everyone  (Read 2789 times)

0 Members and 1 Guest are viewing this topic.

Offline OldGamer

  • IMT ScreenPack Creator
  • IMT Content Architect
  • *
  • Posts: 1106
  • Country: United States us
  • Last Login:October 11, 2023, 10:45:30 PM
  • Mugen Creator for Stages & Screen Pack
I figure the winquote.textwrap I hope this help everyone
« on: January 18, 2016, 09:40:14 PM »
HOLY MOLLY I figure out how the  winquote.textwrap really works for mugen 1.0 & 1.1  :w00t:
 I want to share this with everyone as well
Here a Picture  how its like now with These setting

And here the setting for the win quota for the victory screen
;Win quote text
winquote.text = "Winner!" ;Default win quote text to show
winquote.offset = 400,400
winquote.font = 8,0,0, 0,255,255
winquote.textwrap = w     ;Word wrap
By using 81 characters


Now here what happen if you add a number 1 with 8,0,0
winquote.offset = 400,400
winquote.font = 8,0,1, 0,255,255
winquote.textwrap = w     ;Word wrap


Now if you try to remove the winquote.textwrap = w  and change the winquote.offset = 400,400 to winquote.offset =  20,370

this is how its look
winquote.text = "Winner!" ;Default win quote text to show
winquote.offset = 20,370
winquote.font = 8,0,1, 0,255,255
;winquote.textwrap = w     ;Word wrap
this is how its look now but you can see that the words line up but not fully covering the rest of the characters with the box


then I figure how to make all 81 characters fit in the box by doing this setting
I remove the W on winquote.textwrap = and I add a letter lower case L

and should look like this
winquote.textwrap = l
then I made the setting to look like this

;Win quote text
winquote.text = "Winner!" ;Default win quote text to show
winquote.offset = 20,370
winquote.font = 8,0,1, 0,255,255
winquote.textwrap = l     ;Word wrap

and I made all 81 characters fit in the box :)


I hope this help everyone when dealing with text and winquote with the victory screen for the mugen 1.0 & 1.1 software :D
« Last Edit: January 18, 2016, 11:59:00 PM by OldGamer »



Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: I figure the winquote.textwrap I hope this help everyone
« Reply #1 on: January 18, 2016, 09:59:01 PM »
Oh that is pretty cool!

Offline OldGamer

  • IMT ScreenPack Creator
  • IMT Content Architect
  • *
  • Posts: 1106
  • Country: United States us
  • Last Login:October 11, 2023, 10:45:30 PM
  • Mugen Creator for Stages & Screen Pack
Re: I figure the winquote.textwrap I hope this help everyone
« Reply #2 on: January 19, 2016, 12:27:30 AM »
Oh that is pretty cool!
thank you O Ilusionista I hope this help everyone when making victory screen for there screen pack :)

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: I figure the winquote.textwrap I hope this help everyone
« Reply #3 on: January 20, 2016, 06:06:27 PM »
Sadly, there is not really enough documentation on fonts and how it all works.

Using your line,
8 is the font number.
0 is i believe the colour bank
Colour banks allow you to set up multiple colours for 1 font in a single .FNT file, you define a block of colours by the colour depth when you create the font. If you wanted it to have 8 colours, you define it as an 8 colour font, but you also define 24 colours, Each colour bank is the next block of 8, minus the transparent colour of course.
The last one i think is alignment with 0 being center, 1 being align right and -1 being align left. I think.

The positioning intrigues me a little. Your first has the offset 400,400, logically that should be miles off screen, with or without the text wrap thing.

What happens in the last one where you have used L if you use W instead? Or any other letter, i can't find much in the way of documentation for these values.

This one
Quote
winquote.text = "Winner!" ;Default win quote text to show
winquote.offset = 20,370
winquote.font = 8,0,1, 0,255,255
;winquote.textwrap = w     ;Word wrap
Makes the most sense to me in terms of what is displayed and what your settings are. Position is correct although i'm not sure about the alignment now...

Erm, would be interested to know regardless if those are the only letters or if it doesn't actually matter with that line at all. w and l seem very abitrary as values.

Offline OldGamer

  • IMT ScreenPack Creator
  • IMT Content Architect
  • *
  • Posts: 1106
  • Country: United States us
  • Last Login:October 11, 2023, 10:45:30 PM
  • Mugen Creator for Stages & Screen Pack
Re: I figure the winquote.textwrap I hope this help everyone
« Reply #4 on: January 21, 2016, 06:02:34 AM »
Sadly, there is not really enough documentation on fonts and how it all works.

Using your line,
8 is the font number.
0 is i believe the colour bank
Colour banks allow you to set up multiple colours for 1 font in a single .FNT file, you define a block of colours by the colour depth when you create the font. If you wanted it to have 8 colours, you define it as an 8 colour font, but you also define 24 colours, Each colour bank is the next block of 8, minus the transparent colour of course.
The last one i think is alignment with 0 being center, 1 being align right and -1 being align left. I think.

The positioning intrigues me a little. Your first has the offset 400,400, logically that should be miles off screen, with or without the text wrap thing.

What happens in the last one where you have used L if you use W instead? Or any other letter, i can't find much in the way of documentation for these values.

This oneMakes the most sense to me in terms of what is displayed and what your settings are. Position is correct although i'm not sure about the alignment now...

Erm, would be interested to know regardless if those are the only letters or if it doesn't actually matter with that line at all. w and l seem very abitrary as values.
Play with the value and you see what will happen but I manage to fix my problem when come to winquate with the winquote.textwrap .  The lower case L stand for line wrap and Line wrap is the feature of continuing on a new line when a line is full, such that each line fits in the viewable window by Using winquote.textwrap = l, allowing text to be read from top to bottom without any horizontal scrolling.  :thumbsup: but also you should understand that elecbyte never documented any of the stuff about winquote.textwrap setting or there behavior. well there tons of stuff that elecbyte never cover but that part of learning and  figuring things out right ? by learning and playing with the values setting for the mugen software  :w00t:
« Last Edit: January 21, 2016, 06:13:22 AM by OldGamer »

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

D2TD VS Showcase Thread by D2TD
[Today at 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
[24] 25 26 27 28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal