Banner
Views: 783,810,712
Time:
14 users online:  Deeke, Fermín Acosta Jr., Hayashi Neru,  idol, MORC, MotionBlind,  Pablo's Corner, Pitchin Luigi, Redstonetech181, rosysunrise_,  Samantha, SubconYoshi, TCgamerboy2002, xAsianjay - Guests: 49 - Bots: 457 Users: 41,004 (1,571 active)
Latest: Koops
Tip: The lowest row of 16x16 tiles in a level do not appear. Avoid having a low platform that looks like a bottomless pit.Not logged in.
Details for Cave-In Generator
SMW Sprites - Cave-In Generator
File Name: Cave-In Generator
Added:
Authors: Telinc1
Tool: PIXI
Type: Cluster
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: A generator which will shake the screen and randomly spawn 16x16 or 32x32 blocks which will fall down. They can optionally hurt Mario.

This version uses cluster sprites for the blocks, which means they won't take up standard sprite slots and will cause way less slowdown.You can find the standard sprite version here.

Make sure to set the cluster sprite number of the block (cluster/caveinblock.asm) in the generator's ASM file (generators/caveingen.asm)! Use the number from list.txt.

Check the ASM files for customization options. By default, the blocks will treat all Map16 tiles on page 1 (and ones which act like them) as solid. Note that the blocks don't interact with layer 2.
Tags: block, blocks, cave, cavern, cluster, cluster sprites, effect, enemy, fall, falling, generator, lorom, rock, rocks, sa-1, shake
Rating: No rating
Download: Download - 7.34 KiB
196 downloads
Screenshots
Image
MarioFanGamer
Using cluster sprites for the cave in generator is a great idea. I mean, the reasons are obvious: The amount of the blocks falling down is relatively high.

That, however, causes a couple limitations:
  • They use a simplified interaction.
    • The biggest one is that the block interaction is only focused at one point which means that the rocks can actually fall through blocks even when they shouldn't with a "proper" object<->sprite hitbox
    • Another limitation is that only tiles with an acts like setting of 1 (which contains tiles where you, sometimes only sprites, including 1F0) or higher can block the rocks. The problem is that coins and invisible ?-block won't block them when the blue P-switch is activated and in contrast, Rocks see brown blocks and munchers as solid tiles even when the blue and silver P-switch is activated, respectively.
    • Layer 2 interaction is also non-existant for them.
  • And finally (the biggest limitation), be careful that cluster sprites aren't really made to be 32x32 large. This means, instead to use a hardcoded sprite tile index, they reserve them dynamically which may end up them using already used sprite tiles, cauing disappearing sprite tiles. Not even NMSTL can fix that.

These were a couple notes when you want to use this sprites. Other then that, I haven't found any issues.
Posted by:  MarioFanGamer - | Link
Telinc1
Fixed a major issue with object interaction. The block cluster sprite now resolves "acts like" settings, which makes it a lot easier to work with.
Made the sprite despawn earlier so it doesn't poke in from the top of the screen when it reaches the bottom.
Posted by:  Telinc1 - | Link

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

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


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented