Jump to content

Photo

[Request] Sideview 1-way platform


  • Please log in to reply
1 reply to this topic

#1 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 09 January 2018 - 10:16 PM

Basically, I need a combo that is solid when approached from above, and non-solid when approached from any other direction, that works with sideview gravity. I found various one-way tile scripts, but none that I could find function with sideview gravity.

For instance,  http://www.armageddo...2-One-Way-Tiles. This functions by nullifying player input for Link, which stops him from walking into it, but does not stop gravity from pulling link down. I just need this, but working with gravity.



#2 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 10 January 2018 - 03:11 AM

Well, I ended up figuring it out myself before anyone replied. Yay for adaptable coding skills! That actually wasn't even a quarter as difficult as I expected.
Probably not the best implementation of the feature, but it works reliably down to the pixel of movement.
 
It will behave oddly with enemies that are standing on the platforms which are affected by gravity. Namely, if link is below the enemy, the enemy's AI will become confused.
Spoiler

Edited by venrob, 10 January 2018 - 07:24 AM.

  • ShadowTiger likes this


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users