Views: 1,002,773,445
7 users online: ElectroWellyGames, Hayashi Neru,  Hooded Edge, OhMuramatsu, qantuum, Uncle Steve-Pup, xfix - Guests: 47 - Bots: 119 Users: 54,811 (2,031 active)
Tip: Check this thread for a list of SMW sound effects.
Not logged in.
Details for Air Bubble Shooter
SMW Sprites - Air Bubble Shooter Link - Show random
File Name: Air Bubble Shooter
Authors: TheBiob
Tool: PIXI
Type: Shooter
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This shooter will shoot the small air bubbles you see in water levels. It has two variations. One of them will spawn the bubbles at a fixed interval, the other will spawn them at a random interval.

Note: The level must be a water level or the bubbles won't spawn. Sprite buoyancy isn't required though.

Requested by Final Theory.
Tags: air, air bubble, bubble, bubbles, effect, effects, lorom, sa-1, shooter, water, water level
Rating: 5.0 (Votes: 2)
Download: Download - 2.15 KiB
Converted to PIXI and added SA-1 compatibility. Added a screenshot and tags.

The two included shooters have been marked more clearly. The random version has been made more user-friendly (swapping the minimum and maximum interval will not cause problems anymore and making them equal will result in an error because the fixed shooter is better suited for that case).
Posted by:  Telinc1 - | Link
Originally posted by Luansilva12
You forgot to add tags.

Oh yeah I did have tags in the first submission didn't I.
Well can't edit it now and I don't feel like it's necessary to resubmit it just because of the tags.
Posted by: TheBiob - | Link
Green Jerry
You forgot to add tags.
Posted by: Green Jerry - | Link
First of all, I must be apologize to you.
Because I proposed formula as solution, but it will be biassed to low values when range is bigger.
Fortunately, you had used my code in this sprite. so I did change code as follow.

		STA $4204	; \
		STZ $4205	; |
		STY $4206	; | calculate RNG%(Max-Min+1)+Min,
		NOP #6		; | it answer is between from Min to Max.
		LDA.b #!timeMin	; |
		CLC		; |
		ADC $4216	; /

		STA $4202	;\
		STY $4203	; |
		NOP #2		; | calculate (Max-Min+1)*RNG/256+Min,
		LDA.b #!timeMin	; | it answer is between from Min to Max.
		CLC		; |
		ADC $4217	;/

This code won't be big biassed like previous code. [explanatory diagram]
Technically, this formula even will be biassed to specific value. but it's better than previous code at least.

Sorry for my silly moderation. and approved it.
Posted by: Akaginite - | Link

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

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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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