Views: 827,713,918
30 users online: alexwong, Batata Douce, BootaNoBijuu, Cappaque, CapriSun64, chickaDEE Magazine, ExONightZ, G3rminho, Godly, GroovyYoshi, Haithius, Hayashi Neru, JamesD28, Jonny, justice, Katerpie, killerofkings07,  Linkdeadx2, LOLRyan2006 Mario Fan,  Major Flare, MilkyMooer,  patcdr, PlagueRatofDoom, Ralshi02, RollingRigatonis, Serge2122, SiameseTwins, Simifiguy, StackDino, Teows - Guests: 79 - Bots: 73 Users: 44,286 (2,529 active)
Latest: Nhathuyvu
Tip: Avoid blind jumps. If the player has to jump down a random hole to proceed with no indication at all that they can go down there, you've done something wrong!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
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: 14


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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