Banner
Views: 863,853,780
Time:
19 users online:  Anorakun, BootaNoBijuu, Bullymario, Dark Prince, HammerBrother, iIIustrious, Infinity, JonnyManjiro, lion, MechaNinji, MegacesarCG, MORC, Murphmario, NeptuneNeon, qantuum, SwampMage, tcdw, TomatoPhalanges, Ultima - Guests: 59 - Bots: 75 Users: 47,818 (2,085 active)
Latest: ddgdfgdfgdfgdfgdfgdfg
Tip: Check this thread to find extremely useful diagrams and data.Not logged in.
Details for Line-Guided Any Sprite v1.2
SMW Sprites - Line-Guided Any Sprite v1.2 Show random
File Name: Line-Guided Any Sprite v1.2
Added:
Version History: View
Authors: KevinM, dtothefourth
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This sprite acts as a wrapper for any normal or custom sprite*, allowing it to easily be made line-guided at the cost of an extra sprite slot.
Check out the asm file for info on how to use it.

Original sprite by dtothefourth, I optimized it a bit and made some fixes:
- Now it works properly with Yoshi and with carryable sprites.
- Now it works properly when Yoshi or Baby Yoshi eat the sprite.
- Now the sprite won't respawn when the wrapped sprite is killed or collected (e.g. sprite killed with a spin jump, collected powerup).
- Now compatible with Line Guide Acts-Like fix.

v1.1 update:
- Small code optimizations.
- Added an option in the 4th extra byte to be used with platforms: if set, Mario will move with the platform instead of sliding on it (like normal line-guided platforms do).
- Now the sprite uses 8 extra bytes: the last 4 set the 4 extra bytes for the spawned sprite.

v1.2 update:
- Fixed a bug where if the wrapped sprite failed to spawn (due to sprite slots being full) the wrapper would be erased forever, instead of being able to respawn (thanks to MarioFanGamer for pointing this out).
- Added a second platform option, to make it compatible with sprites that use custom platform code (for example, this) (thanks to MarioFanGamer for suggesting this).
- Now the sprite uses 9 extra bytes: the 5th one sets the speed multiplier for the sprite (if you want to make it move faster).
- Fixed an issue where the sprite would despawn immediately after spawning when using a non-zero offset and spawning it from a specific direction.

*Some sprites may not work properly, for example Rotating Platform and Ball n' Chain.
Tags: line-guided, lorom, sa-1
Rating: No rating
Download: Download - 5.33 KiB
52 downloads
Screenshots
Previous 
 Next
olgdeldnem
This reminds me of SMM's tracks.
Posted by: olgdeldnem - | Link
JamesD28
Tested with:

• Lunar Magic 3.21
• SA-1 Pack v1.32
• PIXI v1.2.15
• Snes9x v1.60
• bsnes plus v05
• Super Mario World 2: Yoshi's Island - Numbered Platform (for 2nd platform option)

Works as intended, so, update accepted. The speed multiplier is a nice feature, but be careful with it - Mario can be pushed through platforms if the speed is too fast. At the highest speeds, Mario (and thus the camera) can be pushed horizontally so fast (via the platform options) that tile columns can't be updated fast enough and appear glitched. However, in my opinion the highest speeds are too fast to be useful anyway, so this is unlikely to be an issue.
Posted by:  JamesD28 - | Link
KevinM
Small update: additional bug fix and added speed option.
Posted by:  KevinM - | Link
Knight of Time
Originally posted by KevinM
Originally posted by Knight of Time
I like that there is now an option to make this sprite compatible with sprites that use custom platform code, though just wondering how I can make it work with this? This sprite may very well be the only sprite which shouldn't automatically move if on a line guide.

You cannot.

Shoot, I was afraid of that. Could you explain in a little more detail, please? I'm guessing I'll need to add code to the other sprite to attach it to a line guide, right?
Posted by: Knight of Time - | Link
KevinM
Originally posted by Knight of Time
I like that there is now an option to make this sprite compatible with sprites that use custom platform code, though just wondering how I can make it work with this? This sprite may very well be the only sprite which shouldn't automatically move if on a line guide.

You cannot.
Posted by:  KevinM - | Link
Knight of Time
I like that there is now an option to make this sprite compatible with sprites that use custom platform code, though just wondering how I can make it work with this? This sprite may very well be the only sprite which shouldn't automatically move if on a line guide.
Posted by: Knight of Time - | 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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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