YesNoOk
avatar

Stages issues with bottom of stage (Read 13740 times)

Started by bmarkuson26, August 06, 2023, 12:27:20 am
Share this topic:
Stages issues with bottom of stage
#1  August 06, 2023, 12:27:20 am
  • avatar
    • USA
Hello so I am hoping someone can help me here..the issue I’m having is a bit hard to explain but ok so I am having this issue with stages that when a character does anything that makes the ground shake a lot like a throw where they slam on the ground or like when they jump in the air than slam the opponent to the ground and it shakes well the bottom of the stage seems to like raise up kinda when it happens kinda like the bottom of the stage is showing a bit when that happens it’s only on really like powerful throws and slams on the ground that it happens I have asked on another site as well and got a couple things to try in fighter factory but it didn’t work at all I am kinda at loss idk what’s causing it my old computer I had I never had this problem but I got a new Dell laptop well used but nicer than the one I had. I am using a Mugen 1.1 screen pack it’s the king of fighters memorial screen pack as well but I’ve downloaded other screen packs and the same thing happens. My computers screen resolution right now is 1366x768 it says it’s recommended but I’m not sure if maybe that may have something to do with the issueshonestly don’t know I hope someone can help me on here it be much appreciated to figure it out. Thank you.
Re: Stages issues with bottom of stage
#2  August 06, 2023, 01:39:44 am
  • ****
  • Rurouni Fan
  • The dream is nothing yet drive us to the end.
    • www.youtube.com/playlist?list=PLaWlQGjKyJWoXxMR8nrea7P4R9C0JnA-_
This is not a problem per se. The stages simply do not have overdraw support and, in some cases, there is literally nothing to show. Every character that uses "Envshake" causes this in stages. You didn't notice this before because probably the characters used so far didn't shake the screen much.
Now, in a more detailed explanation, you have to understand that most of the stages are from the early 2000s, and even today most of the stages released do not use features from MUGEN 1.0, which was released more than 10 years ago.
There is a feature called overdraw (high/low) that takes care of this. For example, Broly by Mr. Ansatsuken shifts a maximum of 7 pixels in his movements (jump, attacks):


So the stages need those extra pixels that aren't in sight to be displayed in the "Envshake" moments. However, the amount of pixels varies according to the localcoord of the stages, in this case:
7 pixels for low-res (320x240)
14 pixels for "hi-res" (640x480)
28 pixels for HD (1280x720) and Full HD (1920x1080). I couldn't check higher resolutions because full hd is the highest resolution on my pc.

From this, you have to count both edges. So you need to multiply the values by 2 when you draw this extra area:

Remembering once again, obviously the engine cannot show something that does not exist. So you need to draw that extra area in each scenario. The more the character shakes the screen, the larger the area you need to draw. Now the code part in the [Camera]:
Code:
overdrawhigh   = 28
overdrawlow    = 28


Why 28? Compatibility up to full hd because that's how MUGEN/IKEMEN localcoord works. But if a character moves the screen more than 7 pixels then it goes back to showing black borders. If the stage has zoom, then you will have to draw even more, the higher the stage resolution and the greater the zoom effect, the more work.
One day someone will rip the Inuyasha stages... Not today nor tomorrow, probably not even in this decade. But you know, someday... :')


Did you play the new
Spoiler, click to toggle visibilty
Re: Stages issues with bottom of stage
#3  August 06, 2023, 01:50:00 am
  • avatar
    • USA
Thank you! Someone who is understanding it that’s exactly what’s happening lol. So what if the stages don’t have a localcoord in them? And also what do you mean by count both edges than multiply by 2, which edges r those lol? Sorry I’m pretty new with trying to understand how mugen mechanics work lol.
Re: Stages issues with bottom of stage
#4  August 06, 2023, 02:29:11 am
  • ****
  • Rurouni Fan
  • The dream is nothing yet drive us to the end.
    • www.youtube.com/playlist?list=PLaWlQGjKyJWoXxMR8nrea7P4R9C0JnA-_
Most stages are made for 4:3, so if they don't have localcoord they are probably 320x240 or if they have the parameter "hires = 1" in the def file then they are 640x480. But there may be exceptions so you should look up information where you downloaded them.
When I said "edge" I was referring to the horizontal borders that appear when the char causes "Envshake".
The values have to be multiplied by 2 because when the stage is moved up we have a black border at the bottom and when the stage is moved down we have a black border at the top, so 2 borders.
One day someone will rip the Inuyasha stages... Not today nor tomorrow, probably not even in this decade. But you know, someday... :')


Did you play the new
Spoiler, click to toggle visibilty
Re: Stages issues with bottom of stage
#5  August 06, 2023, 02:33:31 am
  • avatar
    • USA
Oh ok that makes sense then. How do you figure out what the edges r and what the number is for them?  I downloaded them from mugen archive..
Re: Stages issues with bottom of stage
#6  August 06, 2023, 02:36:20 am
  • ****
  • Rurouni Fan
  • The dream is nothing yet drive us to the end.
    • www.youtube.com/playlist?list=PLaWlQGjKyJWoXxMR8nrea7P4R9C0JnA-_
I don't know chars code so I use Animget to capture screens and see the maximum that a character moves the stages.
One day someone will rip the Inuyasha stages... Not today nor tomorrow, probably not even in this decade. But you know, someday... :')


Did you play the new
Spoiler, click to toggle visibilty
Re: Stages issues with bottom of stage
#7  August 06, 2023, 03:11:01 am
  • avatar
    • USA
I will download Animget and give that a try! See if I can’t figure it out somehow. It’s just frustrating ya know trying to get the stages to just work it’s the only thing I have issues with lol