playMaker

Author Topic: Platform layer woes [SOLVED]  (Read 360 times)

Just

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Platform layer woes [SOLVED]
« on: February 04, 2019, 08:57:18 AM »
So I have some platforms here:


You can move behind them like this:


Problem is just that adjusting raycast to make layer change for each platform correctly is a lot of work, and it's currently not working without flaws. I have been thinking to slice platform into two bits so I could avoid this problem, do you guys have any other/better solution with this?
« Last Edit: February 05, 2019, 06:30:38 AM by Just »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4613
    • View Profile
    • jinxtergames
Re: Platform layer woes
« Reply #1 on: February 04, 2019, 12:27:16 PM »
Hi.
Maybe cut the sprite in 2 (lower grass part and below + path and above)
for each platform.

Then set a higher layer for the lower parts 
and a lower layer for the path and above.

Just

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: Platform layer woes
« Reply #2 on: February 05, 2019, 06:30:13 AM »
Thanks, I think I'll do just that.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4613
    • View Profile
    • jinxtergames
Re: Platform layer woes [SOLVED]
« Reply #3 on: February 05, 2019, 10:17:54 PM »
Hi,
Let us know if it worked :)

Just

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: Platform layer woes [SOLVED]
« Reply #4 on: February 13, 2019, 07:57:56 AM »
Hello, sorry for late answer. Yes, that was simple and easy solution. I didn't even had to replace any existing platforms, just had to put cut part of platform as different layer to correct place and it's perfect : )