Zooming/Center on a winner of a round (Read 3365 times)

Started by Tiger-Boy, February 18, 2023, 02:23:08 AM
Share this topic:
Zooming/Center on a winner of a round
#1  February 18, 2023, 02:23:08 AM
  • ***
  • "I'm Bal... I'm Veg...*Sigh* Just call me 'Claw'."
I have noticed that some characters, when they win a round, they are zoomed/centered.

How do I manage to do this?

      Posted: February 19, 2023, 02:57:16 AM


Thanks to XGargoyle for his advice;

I checked the Win Coding of one of the chars that when he wins, he is centered (Hugo). And I found this:
Spoiler, click to toggle visibilty

This coding is tied to another coding in the Helpers State File:
Spoiler, click to toggle visibilty

And this works! However, in some cases, the camera Zooms out, instead of staying in a normal zoom, or zoom in:

How do I manage for the camera to stay in Zoom, or zoom in when the char wins the round?
"Remember kids; Curiosity created MUGEN!"

Check Out Cammy-DR-2022-23 Development HERE
Last Edit: February 19, 2023, 03:00:17 AM by Tiger-Boy
Re: Zooming/Center on a winner of a round
#2  March 07, 2023, 09:10:00 AM
  • ****
The method you are using is create a invisible helper
and move it to the back of the screen, so the winter will look like centered.

there are 3 ways
1. most easy way (Loser need to do things)
the loser need to have the code when dead
set screenbound
camera follow xy to 0.

so the mugen will auto center the camera to the winner.

2. the way you are using,
winner create a invisible character walk to the back of the screen. so the camera will center at the winner
but stage will zoom out

3. zoom / camera helper
just like a super zoom. use on the winner.
need 1.1 or ikemen