Banner
Views: 584,081,021
Time: 2017-11-21 01:12:00 PM
3 users online: Akaginite, GnnrySgtRAGEman, Kaijyuu - Guests: 42 - Bots: 177Users: 33,007 (1,430 active)
Latest: omuris12
Tip: Ask the author for permission before ripping graphics from their hack.Not logged in.
Details for Center Scroll 2.2
SMW Patches - Center Scroll 2.2
File Name: Center Scroll 2.2
Added: 2017-11-03 05:16:17 PM
Version History: View
Authors: GreenHammerBro, Thomas
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch reduces the width of the "static camera region" (the range where the screen doesn't scroll left or right by the player) to a single pixel, removes the auto "look ahead" feature in smw and makes the screen always centered with the player (ignoring L/R scrolling, but still has the reduced "static camera region").

Update: Added a newer version (with the old version in case you want it) that makes the screen tightly follow Mario vertically (the vertical scroll area is also reduced to a single line) when you set the vertical scroll to "vertical scroll at will". This is more ASM-flexible. See readme for details. And also allow the bottom 16x16 row to be seen (both).

Another update: Also include a non-instant-scroll to prevent player-warp glitches.
Tags: sa-1, screen, scroll, scrolling
Download: Download - 28.33 KiB
29 downloads
  Submit Update
Screenshots
Previous 
 Next
ExE Boss
In the bit inside the InitScrollPos label, the DEC instruction has to be replaced with the instruction to increment the accumulator by $0F instead, this is most noticeable when using Layer 2 V-Scroll: Constant.

I tried to use
Code
CLC
ADC #$0F

but it just didnít work for some odd reason, whereas 15 INC instructions did.
Posted by: ExE Boss - 2017-11-06 01:44:14 AM
Erik
A lot of unoptimized code:
- You don't need to switch the data bank in the Advanced version, it'll be faster to do LDA.l label,x since you're only accessing one table in total.
- You don't need PHP/PLP in such small code range. Not only that, the code that requires the original processor flags is restored right at the before you even push.

Fun fact: readmes are supposed to be user friendly, not a wall of unrelated text that average user: a) Doesn't understand; b) Doesn't care about. If the moderator, which knows about these things, has problems understanding what it goes on about, don't you think it's a good indication to start either shortening them or at least including a separate quick guide?

But neither of those I ound removal worthy, and it works, so approved. I don't really like this kind of scrolling personally but some do.
Posted by: o Erik - 2017-11-03 05:16:10 PM
GreenHammerBro
Fixed the issue with layer 2 initial Y position when using constant Y scroll + both layer 1 and 2 at the lowest.
Posted by: GreenHammerBro - 2017-08-18 03:10:43 AM

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

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


Total queries: 29

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented