How to modify collision of (custom) blocks

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

TobiasRavolta
Goomba
Goomba
Posts: 1
Joined: Fri Jun 04, 2021 5:33 pm
Pronouns: he/him

How to modify collision of (custom) blocks

Postby TobiasRavolta » Fri Jun 04, 2021 5:39 pm

Hello there!

I just want to ask if there is a way to modify and change the collision of blocks or/and custom blocks. With that I mean, for example, to make it like a one-way platform: You can stand on top of it and you can jump on it from below, like a Bridge-Tile. Or to make them non-collided. All of that would be extremely helpful in level creation.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: How to modify collision of (custom) blocks

Postby Emral » Sat Jun 05, 2021 3:05 am

TobiasRavolta wrote:
Fri Jun 04, 2021 5:39 pm
Hello there!

I just want to ask if there is a way to modify and change the collision of blocks or/and custom blocks. With that I mean, for example, to make it like a one-way platform: You can stand on top of it and you can jump on it from below, like a Bridge-Tile. Or to make them non-collided. All of that would be extremely helpful in level creation.
https://docs.codehaus.moe/#/features/block-config
Passthrough and semisolid specifically.

You can check some of the lua files in data/scripts/blocks for reference.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari