Language…
12 users online:  Anorakun, Easy Difficulty, gemstonezVA, Golden Yoshi, Gordon JamCast, Hot Sauce, Lyfuh, margot,  RussianMan,  Saphros, spr0ches, superking76 - Guests: 103 - Bots: 164
Users: 69,698 (2,536 active)
Latest user: Konamicode895271

Cannonball

SMW Sprites → Cannonball

Submission Details

Name: Cannonball
Author: Sonikku
Added:
Tool: PIXI
Type: Shooter
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: This is a combination of a standard sprite and shooter.

The sprite itself is originally designed for use in other sprites as a projectile, or shot from shooter sprites in Airship-like levels.

Functionally, it is similar to a Bullet Bill. However, it comes with added functionality -- such as being able to collide with walls (bouncing harmlessly off of them), exploding on contact with walls/the player/other sprites, and so on.

The shooter has a few configurations that it comes with by default -- shooting in 8 directions, or left/right or up/down based on the player's position.

The preview GIF has the !ShotzoJitter option enabled in the sprite's ASM file. This produces an effect similar to bullets in the Kirby series.

Two JSON files are included for both the sprite and the shooter. The ones ending in "_PIXI1.40" are intended for PIXI v1.40. If you are using PIXI v1.32, use the standard JSON files or you'll run into insertion errors.

Note: If using as a projectile within another publicly-released custom sprite, please do so without renaming it, and link this submission's page, as this sprite may be updated to include added functionality down the line.
Tags: bullet enemy lorom projectile sa-1
Comments: 5 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Download 12.02 KiB | 311 downloads

Screenshots

Comments (5)

Anas Link
For some reason, when this sprite is killed with a cape, it goes behind the FG. To fix this, find this code:

Code
	ORA #$80


and change it to this:

Code
	ORA #%10100000
Luigi764 Link
esse sprite pode ser util caso alguem queira fazer uma hack-rom de SMW rcaso queira recriar o Super Mario Bros 3
 MarioFanGamer Link
Also something to note: The cannonballs will interact with the ground regardless whether they get destroyed by it or not (watch e.g. how horizontally shot cannonballs slide on slopes). You can largely disable this behaviour if you set "Weird Ground Interaction" (which disables default ground interaction but still allows the cannonballs to interact with blocks including whether they're blocked by a block) which should at most disable interaction with exception of slope assist tiles (aka tile 1F0).
 MarioFanGamer Link
Moderated with:
  • Lunar Magic v3.40
  • SA-1 Pack v1.40
  • PIXI v1.40
  • BSNES v115
Added enemy, lorom and sa-1 tags, fixed wall interaction code (used to only check for exploding bullets) and graphics.

It's a pretty versatile sprite if a bit difficult to you if you don't know ASM.

Do note that if you want to make the cannonballs explode at ground interaction, make sure you enable general ground interaction first.

It was too long in moderation state, tbh.
 Sonikku Author Link
Re-uploaded the ZIP file.
The JSON files ending in "_PIXI1.40" are intended for PIXI v1.40, but as it is still under moderation as of the time of this comment, I have opted to include separate JSON files for compatibility's sake.
Main differences between the JSON files is that the one for PIXI v1.40 includes individual graphics for the different settings, whereas the one for older PIXI versions do not.