YesNoOk
avatar

Help to configure Combo text and font of lifebar (Read 911 times)

Started by Ben Sahar, January 03, 2021, 02:11:32 AM
Share this topic:
Help to configure Combo text and font of lifebar
#1  January 03, 2021, 02:11:32 AM
  • avatar
  • *
    • Mexico
Hello forum members could you help me with a problem?
I am editing some 640x480 resolution life bars to adapt them to HD( I use this code .scale = ), the only thing that gives me problems is the text and font combos of player 2 since it appears and slides towards the left side instead of the right side as it should be
I write the code of the Combo part as I checked it and I did not find anything strange:

[Combo]
team1.pos = 40,320         
team1.start.x = -120 
team1.counter.font = 5,0,1
team1.counter.scale = 2,2
team1.counter.layerno = 2
team1.counter.shake = 1
team1.text.anim = 60
team1.text.font = 5,0,1
team1.text.scale = 2,2
team1.text.layerno = 2
team1.text.offset = 24,0   
team1.displaytime = 90     

team2.pos = 978,320         
team2.start.x = 629         
team2.counter.font = 5,0,-1
team2.counter.scale = 2,2 
team2.counter.layerno = 2   
team2.counter.shake = 1 
team2.text.anim = 81
team2.text.font = 5,0,-1
team2.text.scale = 2,2 
team2.text.layerno = 2
team2.text.offset = 24,0 
team2.displaytime = 90

Hope you can help me solve this please     
Re: Help to configure Combo text and font of lifebar
#2  January 03, 2021, 02:32:11 AM
  • ****
  • Retired
    • New Zealand
    • network.mugenguild.com/devon/
try replacing
team2.start.x = 629
with
team2.start.x = 1138
Re: Help to configure Combo text and font of lifebar
New #3  January 03, 2021, 02:46:15 AM
  • avatar
  • *
    • Mexico
try replacing
team2.start.x = 629
with
team2.start.x = 1138

Yes, it is already fixed, thank you very much President Devon.

Edit
I already managed to calculate it, you have to subtract the value of x in team1 from the value of x in team2 and the result is added to the original value of team2 
in this case:
629-120 = 509
509+629 = 1138
Last Edit: January 03, 2021, 04:03:13 AM by Ben Sahar