16 users online: 1UPdudes, ASMagician Maks, Cote de Boeuf, Dark Prince, Darolac, Equilake, Green, Hwailaluta,  icrawfish, KaidenThelens, Mapsking, Mega, sL0Thiie, SweatyNoodle, Tulip Time Scholarship Games,  zuccha - Guests: 184 - Bots: 105
Users: 64,246 (2,441 active)
Latest user: MichaelGamerTVmich


SMW Sprites → Crate

Submission Details

Name: Crate
Author: Donut
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: A simple, vanilla-esque carriable crate sprite which floats in liquids. Open the .asm file for more info.
Note that bringing custom carriable sprites through pipes has a tendency of breaking them. You can fix that with this hex edit.

Thanks to  AmperSam for the idea and the graphics.
Tags: carriable lorom pacifist platform sa-1
Comments: 9 (jump to comments)
5.0 (1 rating)
No rating
Download 5.91 KiB | 125 downloads


View all

Comments (9)

 RussianMan Link
Tested With:
-Lunar Magic 3.40
-PIXI 1.40
-bsnes v115
-SA-1 1.40

An incrateble idea. It's simple but works well, floating in liquids is a nice bonus.
simon.caio Link
this is great!
Rock Link
Thank you so much for this!

I have one suggestion!
If the crate is moving left or right on conveyors, it moves under/without Mario.
Would it be possible one day to make Mario follow the sprite like the rideable SMB2 sprites?

I am making a factory level and that would kick butt!
Still rating it 5/5.
 Donut Author Link
I already have some code in place which does just that (see line 223). The reason (I think) it doesn't work with conveyors, is because they don't set the sprite's x speed (which the update x position routine uses to calculate the position delta → how much the sprite has moved this frame in pixels). Instead, they just shift sprites by changing their x position (so the crates are basically "moving" while having 0 x speed; and since x speed is used for calculating the delta, it will return 0, and so the player isn't shifted, siiiinncee the delta is what's applied to the player's position to do so)... something along the lines of that. Adding a check specifically for conveyors would be a bit tricky. I guess I could just calculate my own position delta and then use that (somethingsomething buffer sprite x position and then subtract it from it's current x position). Probably a thing for an update, yea.
Klug Link
I wonder if you could make a 32×32 version that can only be pushed on the side...?
 Donut Author Link
I have thought about adding more features to this (including what you just said; making it pushable and/or big), but for now I've decided to keep it simple. Maybe in the future.
 Burning Loaf Link
i'm not fucking moderating this you tricked me into clicking your scam link
Knight of Time Link
For some reason, this sprite reminds me of dtothefourth's crate sprite (which is available on her Patreon). Donut, just out of pure curiosity, but did you base your crate sprite on hers, or is yours completely separate (e.g. without the option to make it act like a stone that slows the player down and weakens their jumping ability when held)?
 Donut Author Link