Language…
12 users online:  AmperSam, CroNo, DanMario24YT, fsvgm777, Guido_Keller, Isikoro, JezJitzu, Sweetdude, timothy726, tOaO, Tomi P, Zavok - Guests: 262 - Bots: 333
Users: 64,795 (2,377 active)
Latest user: mathew

Reflecting Projectile Block

SMW Sprites → Reflecting Projectile Block

Submission Details

Name: Reflecting Projectile Block
Author: Erik
Added:
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This sprite acts as a block that reflects enemy projectiles such as Pitchin' Chuck's baseballs in an horizontal or vertical axis. Projectiles reflected are, for now, extended sprites only; I see no reason to add support to other kinds of sprites.
Tags: block lorom projectile reflecting solid
Comments: 7 (jump to comments)
Rating:
4.8 (5 ratings)
No rating
Download 16.23 KiB | 742 downloads

Screenshots

View all

Comments (7)

Romano338 Link
Out of curiosity, what makes it impossible (or very hard) to code as blocks? I'm surprised this is a sprite
 MarioFanGamer Link
You likely won't read this but the basic idea is that extended sprites first have to be modified to interact with blocks at all and only the fireball in the vanilla game does that.
TheBiob Link
Updated to use shared subroutines
Medic Link
Seems good now! Note that the names of the blocks are not the direction projectiles will bounce in, look at setup.png.
 Erik Author Link
Interesting coincidence, lol
also oops, fixed. this is what happens when you are tired but keep coding, lol
TheBiob Link
Nice I was going to code them myself since I already had a Extended sprite On Off switch but now I don't have to.

Oh and btw you don't have a suboffscreen routine so your blocks never despawn.
Final Theory Link
Awesome!