Banner
Views: 808,231,955
Time:
20 users online: algae5, AnasMario130, bandicoot,  Deeke, Dippy, edgar, Enderdavid_HD,  FPzero, Gmario37, Hiro-sofT, Mega,  Nameless, Nint3ndoleggend, Puduhge, SquidMan_Raps, StayAtHomeStegosaurus, Teows, TheNooseMan87, Vhack, VLSkoot - Guests: 103 - Bots: 220 Users: 42,442 (2,000 active)
Latest: 00_marvelouschester_00
Tip: Add decorations to the overworld. Don't leave large empty grass or sea regions.Not logged in.
Sprite Shooter by Erik
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Sprite Shooter by Erik
Pages: « 1 »
File Name: Sprite Shooter
Submitted: 2017-09-14T17:06:03+02:00 by Erik
Authors: Erik
Type:
Includes GFX: No
Includes Hijack: No
Featured: No
Description: Allows you to shoot normal or custom sprites by pressing a button. This one allows you to limit how many sprites can be spawned, and adds an option to despawn any sprite spawned by this method*. Inspired by wiiq's (terrible) attempt; this uses none of his code though.

Requested and tested by gbreeze, yell at him if there's any bugs.

* Uses $1FD6,x to determine this. If you have any sprites which modify this table it may break.
I suggest you to hire a better tester as gbreeze didn't test this code in all possibile settings: This code crashes when you spawn a sprite with "unlimited" spawns.

I also suggest you to set the no-contact timer with Mario on the sprite (so that in case you spawn one, they won't kill you when you run faster than the spawned sprite), Mario's speed is added to the spawned sprite's one (just as a bonus) and also add extra byte support (after all, some people want to spawn sprites in a specific state which only are achieved with extra bytes).

--------------------
Okay, my layout looks ugly.
Pages: « 1 »
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Sprite Shooter by Erik

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy