Name: | Brick Block |
Author: | MarioFanGamer |
Added: | |
Act As: | Various |
Includes GFX: | Yes |
Description: | The all familiar brick block, now with more customisation and better bounce animation! Depends on PIXI v1.40 alongside GPS. |
Tags: | brick lorom sa-1 shatter |
Comments: | 22 (jump to comments) |
Rating: |
Download
11.56 KiB | 445 downloads
Comments (22)
-Lunar Magic 3.40
-GPS 1.4.4
-PIXI 1.40
-bsnes v115
-SA-1 1.40
A more complex version than the other one, this one uses PIXI 1.40's new sprite capabilities, if you want a technically more accurate version.
While it would appear simple on the surface, I did note a few things and issues:
1) I question the presence of the duplication option. For one, it's more finicky to perform, but, more importantly, the duped block immediately gets destroyed because of the sprite from below interaction resulting in shattering it, only rewarding 50 score points. If there are other methods of duplication besides throwing a carriable sprite from below, I don't recall. Also, I found a bug where trying to dupe the block from the left side makes the carriable sprite disappear. This does not happen from the right side.
2) Minor jank I noticed, throwing a carriable sprite from below to shatter the brick makes the sprite shift a few pixels to the right.
3) While the readme correctly states that setting bounce sprite's !BounceTile define to $FF would allow you to customize the displayed tile within the block, I think it would've been more convinient to have only the block determine wether the bounce sprite uses a custom tile or a hardcoded one. The default settings make it a little confusing.
4) I also question the inclusion of the !solid_acts_like define. I don't know what the applications of this might be, but maybe someone smarter than me can find a use for it. I thought it was broken before remembering it only affects the shattering properties of the block, which seems limiting.
5) Lastly, using vanilla bounce sprites instead of the custom one does not function properly, they will spawn a tile using $9C format, which is set as map16's low byte value. For example, if you have the brick as map16 tile 0306, it'll turn into a coin after the bounce sprite disappears ($9C = 6 - Coin (02B)).
While it could've used a bit more polish, it's still quite functional.
Besides that, fantastic job with it.
My main justification is to have a modern brick block since S.L's version still keeps the original block visible during the bounce animation is difficult to fix without the use of custom blocks and pre-PIXI v1.40, you had to use Custom Bounce Blocks which is a bit user-unfriendly to use (hence "better bounce animation" in the description).
Ahh, got it. It works as intended now!
one isn't in the readme, though as mentioned on Discord, the custom generic bounce sprite doesn't allow you to set the tile within the block either.
Nice!
Edit: While the pausing bug is gone and hitting sprites while big works now, the '!bounce_tile' define doesn't seem to work on my end no matter what properties or tile I set other than FF. Is it just me? Also, the duplication option doesn't seem to work either even though it's on and I tried to duplicate it the same way as with vanilla blocks. Finally, I forgot to suggest this, but there should be an option for chucks to break the blocks like throw blocks. This is what I put between 'SpriteH:' and 'ReturnSprite:' and it worked fine from my side:
That's all! Thanks for fixing those two main oversights!
Edit: I found an interesting bug where you can move the whole brick block one tile high if you hit the block to spawn the bounce block sprite while freezing the game by getting a powerup. Actually, why not simply use spooonsss's basic bounce sprite? It doesn't have such an issue, plus, I think it even allows you to set the tile for the bounce sprite within the block itself if the block supports it. Speaking of which, the block has no way to set the tile within the block itself, forcing you to make a whole copy of the bounce sprite just for the desired tile, which is kinda wasteful... I hope this is also considered in the future.
one isn't in the readme, though as mentioned on Discord, the custom generic bounce sprite doesn't allow you to set the tile within the block either.
Nope, default acts-like is 130. I will try that though. Thanks!