Screenbound camera wont follow player upwards (Read 1456 times)

Started by supercain, January 16, 2021, 07:47:44 PM
Share this topic:
Screenbound camera wont follow player upwards
#1  January 16, 2021, 07:47:44 PM
  • avatar
  • **
    • Germany

When a player is hit by a strong uppercut they go up but disappear at the upper edge of the screen. I want the camera to follow them. How do I do that?

I tried:

[State 0, screen]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1,1

but this only seem to work when the opponent falls off the bottom edge of the screen.

Thank you.
Last Edit: January 16, 2021, 07:54:06 PM by supercain
Re: Screenbound camera wont follow player upwards
#2  January 16, 2021, 09:39:40 PM
  • ****
  • Vs Style Debuts Tag Project CEO
  • The Dark Wolf Returns
    • USA
Not every stage can have the camera follow the player upwards. If you want such to happen, you'd need stages that are super jump friendly. If this is on a super jump stage but the camera doesn't follow, then there's something within the uppercut's code or the custom hitstate if it puts P2 into one.
Beware the Dark Wolf once more!
Re: Screenbound camera wont follow player upwards
#3  January 19, 2021, 01:59:58 AM
  • avatar
  • **
    • Germany
Yes, seems like its a problem with the stage settings. Originally it looked like this:

boundleft = -350
boundright = 350
boundhigh = 50
boundlow = 20110
tension = 100
verticalfollow = 1.02
overdrawhigh = 20
overdrawlow = 9999
startzoom = 1
zoomin = 0.6
zoomout = 0.3,0.1

I played around with the values and now every time a player jumps the camera follows him up which is annoying. It also messes with the movement down.
Re: Screenbound camera wont follow player upwards
#4  January 21, 2021, 07:35:20 PM
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
Reduce the vertical follow. I forget which way but tension defines when the camera should start moving up

In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.