Sloped Semi-Solids?

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
Giggs-Chan
Rex
Rex
Posts: 34
Joined: Mon Aug 22, 2022 12:21 pm
Contact:

Sloped Semi-Solids?

Postby Giggs-Chan » Wed Nov 30, 2022 10:43 am

Is it possible to modify the collision of certain tiles like slopes? There's a lot of them in SMW.

deice
Volcano Lotus
Volcano Lotus
Posts: 538
Joined: Fri Jul 23, 2021 7:35 am

Re: Sloped Semi-Solids?

Postby deice » Wed Nov 30, 2022 10:52 am

not really - the basegame collision system just isn't built for semi-solid slopes. if i recall correctly, there's a way to emulate them by stacking smb2 turnips (npc-92) in a specific way and changing their configuration, but as much as i'd like to explain in detail, i don't know the exact method myself.

ElectriKong
Posts: 4650
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Pronouns: he/him
Contact:

Re: Sloped Semi-Solids?

Postby ElectriKong » Wed Nov 30, 2022 12:14 pm

There's currently no flawless way of doing it as far as I'm aware. Blocks that are set to be both a slope and a semi-solid have collision issues with NPCs (typically they fall through from above and aren't able to pass through from below), and there are also some janky interactions with the player. MrDoubleA's seesaw platforms (part of his NPC pack) library addresses the aforementioned, but has a bug where the player may fall through when they jump on semi-solid slopes affected by the code, which I don't believe has been fixed yet.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari