Language…
13 users online:  BeeKaay, BOEMEF, bonjoursauce, CalHal, CroNo486, IslandNiles, jonathanjones7827, Maw, random_box, rootzeraa_, ShirleyVAga, snadge, Sokobansolver - Guests: 261 - Bots: 78
Users: 70,554 (2,463 active)
Latest user: NavyAgate

8px by 8px solid blocks

How would i make a block that has a solid collision of 8 px by 8 px?
Check out some of my websites!
imageimageimage
Well, in the Map16 16x16 tile editor, turn on 8x8 mode, and for the blocks that are around the solid part you want, make it act as a empty tile.
If I remember right, you can't edit the "acts like" setting while in 8x8 mode.
For the main question, I think that you can't do so without asm, use asm codes to manipulate Mario's position within the block.
SMW (and many other games) group up tiles in 16x16 blocks to reduce the processing cost of tile interaction. If you can code it it's definitely possible to make 8x8 blocks. I wouldn't be surprised if someone has made a few already, actually.

allow shy guy emojis in post footers you cowards!
The "Act As" Settings is for 16x16 tiles, not for individual 8x8 tiles, so the whole 16x16 tile can either be solid, non-solid, or any other act as setting.

I'm sure it would be simple to create a custom block that solids Mario's x/y position/speed when he is midway through the block. If you are not an ASM programmer, it may not even be worth the effort.

Originally posted by Von Fahrenheit
I wouldn't be surprised if someone has made a few already, actually.

I looked through the blocks and patches section, but there was nothing relevant there.
Back when I was working on custom slopes in early 2010(?) I also made some 8x16 solid blocks (or 16x8, can't remember... Probably both), and chdata/fakescaper also made some around the same time. It involves checking Mario's position inside the block ($90 for Y, $92 for X). Originally we tried just checking the position and changing the acts like if you are at the right spot, but it turns out that solid blocks don't act solid if you are in the middle of them, they just kill you. Instead, you end up having to recreate the whole solid block routine in your code, which is kinda lame. I'll look for my old code when I get home, but I'd be surprised if I could find it.

Edit: Can't find it. It's probably still there, but my stuff is so spread out that I can't even begin to think where it is...

Edit 2: After some googling, this thread seems to suggest that I never got around to 8x16, only 1x16. I suspect it's for the reason I stated about remmaking the solid block code.