Language…
7 users online: drkrdnk, Golden Yoshi,  MarioFanGamer, Oskise, pakkie, Papangu,  Telinc1 - Guests: 251 - Bots: 346
Users: 64,795 (2,377 active)
Latest user: mathew

Can someone help with the Wave effect?

When I make a Wave effect a Generator the background just sits still it doesn't even scroll. Can someone help?
Press this (#lm{othprops}) and set H-Scroll and V-Scroll to variable.
                                                                                                                  
                              
It didn't do anything.
You'll need to tell us more than that. Are you using Effect Tool to create a wave background code? Are you using uberASM to insert it to a level?
Yes I'm using Effect Too and then when I save the ASM I save it as a Genertor


If you're just saving the raw ASM file as a generator, that won't work unless you actually format it as a sprite. A generator needs the following general format:

Code
print "INIT ",pc
	; If no INIT, replace this with a single RTL
	PHP
	PHK
	PLB
	JSR Init
	PLB
	RTL

print "MAIN " pc
	; If no MAIN, replace this with a single RTL
	PHP
	PHK
	PLB
	JSR Main
	PLB
	RTL

Init:
	; paste INIT code from effect tool here

Main:
	; paste MAIN code from effect tool here


That said, it's usually better to use UberASM for this sort of thing due to the limited number of generators you can insert. In that case, you format the ASM like so:

Code
Init:
	; paste INIT code from effect tool here;
	;  if no INIT code, remove this section entirely (including the label).
	; also, change any RTS lines to RTL

Main:
	; paste MAIN code from effect tool here;
	;  if no MAIN code, remove this section entirely (including the label).
	; also, change any RTS lines to RTL


Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer