Language…
5 users online: Beezle, jirok1,  Ringo, Rykon-V73, Saela - Guests: 45 - Bots: 275
Users: 65,980 (2,158 active)
Latest user: adhd

Gunstar Heroes Bomb

SMW Sprites → Gunstar Heroes Bomb

Submission Details

Name: Gunstar Heroes Bomb
Author: zuccha
Added:
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: Highly customizable bombs from Gunstar Heroes, replicating the bombs dropped by Battlesuit Morsel in JUMP½.

The bomb can be placed in level or spawned by a generator. Depending on the chosen paramenters, the bomb will explode on touch or on timer, spawning explosion blasts that hurt the player on touch.

You can customize several aspects of the bomb:
  • Choose between skull or "pokéball" graphics for the bomb.
  • Detonate the bomb when touching any of the following: player, other sprites, Mario's fireballs, solid ground.
  • Detonate the bomb when a timer goes off (you can customize the timer). A bomb on a timer blinks (alternates palette).
  • You can set initial X and Y speed. With this you can have the bomb fall with a parabolic trajectory, go up a little bit before falling, etc.
  • Add a parachute to the bomb. The parachute will open only when it's falling and it sets a maximum falling speed (configurable).
  • The hitboxes of the explosion blasts can be customized for each animation step (e.g., the blast first and last animation are smaller compared to the middle ones).
  • You can change the rotation speed of the blasts and their distance from the center.


Requested by TheXander
Tags: gunstar-heroes lorom sa-1
Comments: 4 (jump to comments)
Rating:
5.0 (2 ratings)
No rating
Download 16.39 KiB | 98 downloads

Screenshots

View all

Comments (4)

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

Removed MacOS files and edited Readme, specifically, sample codes at Part 2.5 (LDA $XXXXXX,y and STA $XXXXXX,y do not exist).

There are a few issues I noticed:
-First, the cluster blast sprite may have sprite tile issues with parts of it disappearing (you can even see it in the first screenshot). Since it doesn't use fixed OAM slots for cluster sprites and it's larger than 16x16, it uses a dynamic loop, which may get occupied by other stuff like minor extended sprites, which is why the tiles disappear (similar to cluster Cave-In Generator).
-Second, the !bomb_blink_interval define uses the game's frame counter as opposed to a custom timer, as a result its values are actually limited to the range of these values: $01,$03,$07,$0F,$1F,$3F,$7F and $FF. The default value is $04, which means it'll blink at inconsistent times.
-Lastly, and the most severe, the cluster blast's graphics will wrap around vertically.

Also, it's code could've been a bit more efficient, for example instead of doing CLC : ADC.b #!gfx_offset, you could've pre-calculated all the tiles in the table. The cluster blast may cause slowdown if there's a lot going on already (to be fair it does generate 4 cluster sprites which are basically like normal ones, using SA-1 is definitely recommended).

Last, but not least, NOTE TO USERS: If you're using PIXI versions above 1.40 (more specifically, it's updated routines), find following line:

Code
    LDA.b #!blast_sprite+!ClusterOffset : XBA


And remove : XBA portion. The spawn routine is currently bugged, and this is a workaround for that, it won't be needed once PIXI 1.42 onward get accepted.
TheXander Link
It's a amazing work really, now is possible to make our ROM Hacks with a touch of Metal Slug or of Gunstar Heroes #smrpg{y}

Once more, BTW thanks for making/recreating these, good job #smw{B)}
crm0622 Link
For people who thinks bombs explode/blast way slower than gunstar heroes/morsel one does with initial set, here's my custom set for explosion/blast which seems actually close to replicate that! #tb{:D}

(For gunstar_heroes_bomb_blast.asm)
Code
!animation_duration = $04
!rotation_speed = $20


Btw, really did great job recreating those bombs, zuccha! #smw{:TUP:}
Hayashi Neru Link
This is suitable for a boss fight.