Views: 864,828,638
20 users online: Aerithos, BWGLite, cherrybombr, codfish1002, ExxorD, FYRE150, HamOfJustice, kaigem, lion, MaxwelHacks, Mithrillionaire, Natsuz2, Nicoke42,  Ninja Boy, OEO6, Scooby7435, SF - The Dark Warrior, Splat3r, VecchiaZim, Zerio - Guests: 48 - Bots: 73 Users: 47,889 (2,070 active)
Latest: Larry457
Tip: Use palettes that don't burn the eyes. A blazing bright yellow and a night-black are not pleasant.Not logged in.
Layer 2 Parallax Causing Layer 3 Flickering
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Layer 2 Parallax Causing Layer 3 Flickering
Pages: « 1 »
Hi, got a bit of a problem when using parallax in a level, and I'm hoping someone can help me out.
Everything was working great until I used this code for parallax (plus a gradient) to keep the moon in place. Then this happens:

The layer 3 spazzes out ONLY when scrolling horizontally. Anyone got any idea why this is happening? Any help would mean a lot!!

Tested out the code without the gradient and the layer 3 seems to reset its position every 8 pixels.

Are you doing anything to the layer 3 scroll settings (#lm{props}), i.e. have the advanced bypass settings enabled? Maybe those are interfering.

Just a wild guess; not sure if that's actually the problem.


Yea, I enabled it so I could change the scroll speeds and put it on the subscreen.


just for curiosity, why are you trying to use parallax?

just by looking, apparently the background inst made for parallax.. (i could be wrong tho)

just remove the parallax code and make it scroll at different speed than the layer 2 and you will probably get the effect you want

edit.. i guess its for the moon?!
Yea, it's for the moon! The pine trees in front and the moon are on layer 2, so I have to use parallax to prevent the moon from scrolling.


ive had this sort of problem before. The code is pretty much the same (from Effect Tool). Try inverting the order of the codes in the init. Putting the parallax code after the hdma.. i think thats how i solved it
Just gave that a try, and it didn't change anything. I had a good feeling it wouldn't work since I still have the problem even without a gradient. Seems to be entirely caused by the parallax...


Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Layer 2 Parallax Causing Layer 3 Flickering

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy