Language…
12 users online:  Amethyst, Faro, Isikoro, Jaden1291 the Toad, JezJitzu, katun24,  Kevin, MegaSonic1999, NikSik1,  patcdr,  TickTockClock, VinylHeart - Guests: 68 - Bots: 133
Users: 56,238 (2,277 active)
Latest user: noogieboogie

Sprite Offsetter

SMW Sprites → Sprite Offsetter

Submission Details

Name: Sprite Offsetter
Author: Koopster
Added:
Version History: View
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: A sprite that allows you to spawn another sprite, regular or custom, in an offset position by the pixel.

Aditionally, for regular sprites that are position-dependent (such as P-switches, Bowser statues, etc.), the properties will be read before the sprite is offset, allowing position limitations to be circumvented.

The latest update allows for up to 4 extra bytes to be set for custom sprites.
Tags: lorom sa-1 spawn
Comments: 6 (jump to comments)
Rating:
5.0 (2 ratings)
No rating
Download 3.26 KiB | 415 downloads

Screenshots

Comments (6)

Nint Link
This is a fantastic tool! Helps making every setup super consistent
DasFueller Link
This is the single most useful thing that exists!
 Kevin Link
Tested with: Lunar Magic 3.21, PIXI 1.32, SA-1 1.32, Snes9x 1.60. Works as intended, so accepted. I fixed a small oversight (BEQ ThrowBlock instead of BRA ThrowBlock) that was causing all sprites to be spawned as carryable.
 Kevin From older version: Sprite Offsetter Link
Tested with: Lunar Magic 3.21, PIXI 1.32, SA-1 1.32, Snes9x 1.60. Very useful sprite, and it works fine, so accepted. Some notes:
- The only issue (minor) that I've encountered is that the sprite doesn't work with the red light switch block (sprite C8): the check for valid sprite numbers makes it so only sprites with number < C8 can be spawned, thus excluding the switch. To fix this, change "CMP #$C8" to "CMP #$C9" at line 30.
- To spawn a throw block, you'll need this hex edit: org $018223 : db $35,$84 (by default they skip the init routine and die immediately).
- If you want to make updates, I suggest adding a way to set the 4 extra bytes for the spawned sprite (using extra bytes 5-8?).
- I tested sprite DE and it seems to work the same as DF (green shell that can be bounced on twice).
- This can be effectively used to spawn vanilla sprites whose properties depend on their X/Y position by offsetting them by a block ($10 pixels), for example to have a blue P-Switch in a spot where normally a silver P-Switch would spawn (since they use the properties from the original position, before they're offset).
KatMakes From older version: Sprite Offsetter Link
This sprite is going to be everywhere I feel. What an amazing idea. Thank you.
 quietmason From older version: Sprite Offsetter Link
Wow, this looks incredibly useful. Can't wait to check it out!