Name: | Bouncy Cloud |
Author: | Donut |
Added: | |
Tool: | PIXI |
Type: | Standard |
Dynamic: | No |
Disassembly: | No |
Includes GFX: | Yes |
Description: | A cloud you can bounce off, based off NSMBWii's bouncy clouds. You'll bounce higher when holding A or B. The heights (Y speeds for the player) as well as the sound effects can be configured in the .asm file. |
Tags: | bouncy lorom pacifist platform sa-1 |
Comments: | 8 (jump to comments) |
Rating: |
Download
2.51 KiB | 583 downloads
Comments (8)
If you try to jump in the cloud in an auto-scrolling level in the extreme corner of the screen (at least with me it was on the left), the cloud completely loses your interaction.
I don't know if this can happen with the camera controlled by the L & R buttons too.
• Lunar Magic 3.31
• SA-1 Pack v1.40
• PIXI v1.32
• Snes9x v1.60
• bsnes v115
A very nice first sprite! Everything works as intended, so, accepted. There's a few improvements that could be made with the code, nothing major but worth keeping in mind for the future:
- $01B44F calls the player interaction routine, so you don't need to call $01A7DC too (it will also increase the chance of lag). $01B44F will return carry set if the player is stood on top of the sprite, that can be used to determine if it should bounce.
- The code uses $C2 and $1504 as timers and decrements them manually, but SMW has self-decrementing sprite timers built in, such as $1540, $15AC and $163E.
- A few cycles can be saved by doing "ASL : ASL : ROL : AND #$01" instead of "LSR #6 : AND #$01".
As a final side note, since you mentioned in a comment that you didn't know what it's for, %SubOffScreen() is a routine that despawns the sprite when it's too far offscreen. The value you load before calling it indexes tables which determine how far offscreen the sprite can go.
apart from that, this is an excellent sprite!
You can still put in the other sprites gfx and remap the cloud's tiles
apart from that, this is an excellent sprite!
if this gets accepted, i'll probably make some gfx for them
excelent job!