One-way platforms in reverse?

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

Moderator: Userbase Moderators

SMB3
Fighter Fly
Fighter Fly
Posts: 32
Joined: Thu May 22, 2014 8:12 pm

One-way platforms in reverse?

Postby SMB3 » Thu May 22, 2014 8:53 pm

Hello!
I wanted to make a platform that works like the one-way blocks, but in reverse. I tried to take the wood brick (the small airship one) and make its text file:
nohurt=1
jumphurt=1
nogravity=1
playerblocktop=0
However, all this accomplished was to make the block push the player to the side on contact with its top. They get stuck in blocks if there are any. Is there any way to do this? (I would prefer to avoid using instant warps, because they look choppy and will probably lag my "craptop.")
Thanks!

Julia Pseudo
Luigi
Luigi
Posts: 5609
Joined: Wed Jan 08, 2014 12:04 am
Flair: gay gaymer girl
Pronouns: She/her

Re: One-way platforms in reverse?

Postby Julia Pseudo » Thu May 22, 2014 9:15 pm

The only way I can think of is to put invisible axes on the side you want the player to end up on, which turns the gateway into solid block(s). If you wanted it to be multi-use, you could put more invisible axes on the entrance side, which take away the blocks and make it passable again, and then put all the axes on a generator. It wouldn't work very well in multiplayer though.

Chad
Chain Chomp
Chain Chomp
Posts: 330
Joined: Sun Mar 02, 2014 3:22 pm

Re: One-way platforms in reverse?

Postby Chad » Thu May 22, 2014 9:50 pm

I believe Valtteri accomplished this in his ToB3 entry, Brinstar Vegetation. Looking at the coding of the NPC he used, it looks to be about the same as what you did. However, they were all one block big and placed in a row. Are you using the original width for the airship NPCs? I can see that causing problems, because a shorter width means less push distance.

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: One-way platforms in reverse?

Postby RudeGuy » Sat May 24, 2014 4:50 am

1. Put some axes above the blocks and some axes under the blocks
2. Make 2 layers: one for the blocks and one for the block replacing a background. It must be the same of the normal blocks.
3. Make 2 events: first one must have hide blocks and show the backgrounds. The second one must have show the blocks and hide the backgrounds. "no smoke" must be set on all the 2 events
1. Axes above the blocks must trigger the first event when they die. Axes under the blocks must do the same with the second event.

Well, hope this helps.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari