Idioma…
10 usuários online: AnonUploader, autisticsceptile1993, GRAVITORBOX, HammerBrother, Hayashi Neru, Isikoro, MasterMario97, Neito,  Segment1Zone2, yoshiatom - Visitantes: 90 - Bots: 154
Usuários: 56.305 (2.236 ativos)
Último usuário: wolf13000

Cave-In Generator by telinc1

File Name: Cave-In Generator
Submitted: 2017-08-27T20:14:54+02:00 by telinc1
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 sprite for the blocks, which means they won't take up standard sprite slots and will cause way less slowdown. You can find the standard 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 every Map16 tile on pages 1+ as solid.
Although this sprite, I unfortunatelly have to reject this due to an at first "weird" issue:

The priority isn't the problem. Instead, it's the "loss" of the hitbox. What makes this even weirder is that this only happens when there is a no sprite on screen.

Moreover, a similar problem happens when one turns around with Yoshi and only when he turn around:


The culprit is address $185E which fireballs and other sprites modifies it (sort of a scratch RAM) and this one is used in the block<->sprite routine whether the sprite checks for layer 2 or not (which you can confirm it by playing layer 2 tiles and then throw a fireball). In fact, the contact routine the sprite uses is supposed to be used in conjunction with a kind of a layer 2 checker at this form (hence why this glitch doesn't appear when sprites are on screen as they revert $185E back to zero).

This is the main issue. Here are a couple other, rather minor issues:
  • The blocks still gets drawn onscreen when they're below. I know, people put ceilings in cave levels but some prefer a higher ceiling which are so high that they're offscreen. That's obviously not nice to see it and doesn't seem too hard to fix it...
  • The block hitbox is also weird as it is located at the bottom left corner instead. This can cause some confusion and at least centering the hit box horizontally should be possible.


Fix these issues (at least the first one) and this generator and cluster sprite might get accepted.

Edit: Fixed the img tags.