Views: 844,584,962
24 users online:  1UPdudes, AnasMario130, bwal, Darolac, GaloombaCat, Golden Yoshi, Israelcv12cv, Losoall,  MarioFanGamer, Mayonnai, MetaJohnZilla, Mogu94, msi810, OEO6, OrangeBronzeDaisy, Rykon-V73, Slaytanic, Sonck's entertainment, Sparkysie, SubconsciousEye, Thiago678, TickTockClock, yogui, Zidan3 - Guests: 50 - Bots: 103 Users: 46,438 (2,766 active)
Latest: wat_newby3
Tip: If you give a Muncher tile custom graphics, it will still act like a coin when a silver P-switch is active, whether it looks like a coin or not. So make sure to use ExAnimation if there's a silver P-switch in the area.Not logged in.
Details for Multi-step Autoscroll
UberASM Repository - Multi-step Autoscroll Show random
File Name: Multi-step Autoscroll
Version History: View
Authors: Mathos
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This code allows you to create your own special autoscroll that goes where you want at the speed you want, much like the generator used in Butter Bridge 1 (level 00C) in the original game.

It works by using tables where you store X/Y speeds for each step of the autoscroll. It allows the use of fractional speeds and can be paused/resumed anytime you want using a flag. Plus, all the free RAM used can be easily changed to avoid conflicts, and the whole scrolling code can either stop or loop when it reaches the end of the tables.

UPDATE: You can now setup a custom code that will interrupt the autoscroll and be executed at certain points in time. This way, you force the player to progress only if a certain thing has been done.
Default code is the classic "advance if all sprites have been killed".

Details in .asm file.
Tags: autoscroll, lorom, sa-1, super fx
Rating: 5.0 (Votes: 1)
Download: Download - 2.61 KiB
This does not work for Lunar Magic 3.00+, the !Timer variable uses an address commandeered by Lunar magic in that version. Errors involving layer 1 and 2 misplacement can occur. This can be fixed by switching $1936 to $13E6.
Posted by: clarkeg02 - | Link
good job
Posted by: yygdrasil - | Link
@zacmario: Sure. All you have to do is read the notice in the .asm file carefully, then fill tables.
Posted by:  Mathos - | Link
canthis be used to go different directions? like go right couple screens then up , then down etc..
Posted by: zacmario - | Link
Very easy to setup and design with, and works perfectly. Good job!
Posted by:  Thomas - | Link

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