YesNoOk
avatar

Stage help - Parallax Help and animation help needed (Read 906 times)

Started by Odb718, March 19, 2017, 12:17:14 pm
Share this topic:
Stage help - Parallax Help and animation help needed
#1  March 19, 2017, 12:17:14 pm
  • ****
  • Shame on you!
    • USA
Decided to work on a stage because I cant figure out my PalFX problem still.

I've set the sky to be parallax on my stage. It has a velocity slowly moving it left. It's tiled.
When the stage starts off the sky looks great. But after a few minutes everything is skewed pretty badly.
It goes from this

To this
 

Does anyone know how to make the top of the trapezoid move faster than the bottom? I'm 99% sure that'd fix my problem.
Last Edit: March 21, 2017, 02:48:21 pm by Odb718
Re: Stage Parallax Help needed
#2  March 19, 2017, 08:07:40 pm
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
I think you should make the effect as long animations, and manually place them - do not apply velocities, just make it look like they are scrolling. In photoshop you could even make a quick "Action" - nudge, save as; nudge, save as; nudge, save as...

I get the feeling the velocity is what is screwing it all up

Re: Stage Parallax Help needed
#3  March 20, 2017, 10:03:41 am
  • ****
  • Shame on you!
    • USA
I'm making the stage for 1.0. If I make it an animation, parallax wont work.
Re: Stage Parallax Help needed
#4  March 20, 2017, 11:09:42 am
  • *****
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
parallaxed elements can't be animated, they need to be static.
But, you can use BG controllers and enable/disable the different "frames" of the static elements
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: Stage Parallax Help needed
#5  March 21, 2017, 01:22:31 am
  • ****
  • Shame on you!
    • USA
I'm not exactly familiar with making stages. How would I go about doing this?

----
I'm having a weird problem. I dont think I've seen it on another stage, but when the screen moves left or right, my wheat animation pops in and out of view. Like if I move the right, green, Dhalsim the wheat will appear and disappear over and over. Anyone know what's causing this? None of my other objects seem to have this problem. The wheat will also come into screen normal on the left side.
Last Edit: March 21, 2017, 02:56:01 pm by Odb718
Re: Stage help - Parallax Help and animation help needed
#6  March 21, 2017, 07:43:42 pm
  • *****
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Quote
I'm not exactly familiar with making stages. How would I go about doing this?
http://mugenguild.com/forum/topics/background-controllers-stages-170304.0.html

Quote
I'm having a weird problem. I dont think I've seen it on another stage, but when the screen moves left or right, my wheat animation pops in and out of view. Like if I move the right, green, Dhalsim the wheat will appear and disappear over and over.
Without seeing the actual stage code and sprites, I would say that you have a wrong delta parameter based on what you describe
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: Stage help - Parallax Help and animation help needed
#7  March 22, 2017, 11:17:06 am
  • ****
  • Shame on you!
    • USA
With some guidance from N. I've got it to work.
The popping was solved by moving the Action down into the Positive X & Positive Y quadrant. Then using the BG controller adding that value to get the proper spot.

Take sprite 999,1013
It's sff axis is X=75 & Y=124

Then in the actions I have
[Begin Action 999]
999,1013, 80,130, 3

Then in the BG I have
[BG Grain Path];
type = anim
actionno = 999
;start = -2661,376
start = -2741,246