I need some help turning blocks into tall slopes.

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
UnoffThrower
Bit
Bit
Posts: 66
Joined: Thu Jun 04, 2020 9:08 pm
Pronouns: he/him

I need some help turning blocks into tall slopes.

Postby UnoffThrower » Fri Jun 05, 2020 10:32 pm

Hello, I am new to the forums and I need some help changing the collision of pipe blocks onto tall slopes.
I need that for an episode I am making for SMBX2 Beta 4.
Thank you in advance.

Images:
Spoiler: show
The block ID's are 23, 151, 152 and 1106 respectively:
Image
Image
Image
Image

Lusho
Tweeter
Tweeter
Posts: 161
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Pronouns: he/him

Re: I need some help turning blocks into tall slopes.

Postby Lusho » Sat Jun 06, 2020 12:51 am

I know there’s an option for that in block-n.txt, you can find that in data/templates, though I have to advice that tall slopes are incredibly jank

UnoffThrower
Bit
Bit
Posts: 66
Joined: Thu Jun 04, 2020 9:08 pm
Pronouns: he/him

Re: I need some help turning blocks into tall slopes.

Postby UnoffThrower » Sat Jun 06, 2020 10:03 am

CJ_RLushi wrote:
Sat Jun 06, 2020 12:51 am
I know there’s an option for that in block-n.txt, you can find that in data/templates, though I have to advice that tall slopes are incredibly jank
Ok, I will see what I can do.
CJ_RLushi wrote:
Sat Jun 06, 2020 12:51 am
I know there’s an option for that in block-n.txt, you can find that in data/templates, though I have to advice that tall slopes are incredibly jank
The tall slopes facing right are kind of glitchy, their sprites are in one place but the collisions are in another place.
Last edited by ElectriKong on Sat Jun 06, 2020 2:06 pm, edited 1 time in total.
Reason: Merged double post

MrDoubleA
Flurry
Flurry
Posts: 351
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?
Pronouns: he/him

Re: I need some help turning blocks into tall slopes.

Postby MrDoubleA » Sun Jun 07, 2020 10:12 am

By default, tall slopes do not work correctly in SMBX. I know somebody wrote a bit of code to fix them a bit, but it hasn't been released.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: I need some help turning blocks into tall slopes.

Postby Enjl » Sun Jun 07, 2020 10:30 am

UnoffThrower wrote:
Sat Jun 06, 2020 11:35 am
CJ_RLushi wrote:
Sat Jun 06, 2020 12:51 am
I know there’s an option for that in block-n.txt, you can find that in data/templates, though I have to advice that tall slopes are incredibly jank
The tall slopes facing right are kind of glitchy, their sprites are in one place but the collisions are in another place.
The floorslope and ceilingslope block config variables can either be 0 (no slope), -1 (left slope) and 1 (right slope).


Return to “LunaLua Help”

Who is online

Users browsing this forum: cato and 2 guests