When the new screen loads

WolfMerrik

New member
You start (I believe) 8 pixels in on the next screen from the direction you entered on, does anyone know where this value is so that it can be changed?
I would like to reduce this more, particularly with the platformer module, as it seems to make you fly to the next screen a bit too quickly.

Thanks!
 

Orgia Mode

New member
I don't know where to find it, but I assume it is that way to prevent getting stuck between screens and having it flash back and fourth. Good luck.
 

WolfMerrik

New member
It seems these values are handled in the Bound_Platform_Simple.asm

You would edit the updateScreenDirection:
An example would be:

Code:
updateScreenRight
	LDA #BOUNDS_LEFT
	CLC
	;ADC #$8 ;this was the value added, so I commented it out

So, if anyone else gets curious, this is how I changed this
 

chronosv2

New member
You should probably adjust the code in updateScreenLeft as well, otherwise you'll still have the effect in the opposite direction.
 

WolfMerrik

New member
chronosv2 said:
You should probably adjust the code in updateScreenLeft as well, otherwise you'll still have the effect in the opposite direction.

Yes, I showed the right as an example, you would want to change any and all of them that you intend to use
 
Top Bottom