Jump to content

Adalberto
 Share

Recommended Posts

 
 
 
 
 
510/5000
 
Good night people!
I'm developing a game where the character needs to climb a ladder.
The problem I am facing is when he needs to enter a tile that is down the ladder, as I try to illustrate in the image below.
When hitting the tile the pesonagem stops to move because the tile needs to be solid so the character can walk on it, but when he is on the stairs he must pass over this tile.
Could someone show an example of how I can do this?

 
ladder.png.c3ddba881205e62d97e25a2d356129e9.png

Since then, thank you very much.
Link to comment
Share on other sites

Good afternoon.
I have not been able to implement yet. = /
I made a simple example, to show what I have in mind, if someone can help me in this implementation of how to go between the tile when I am on the stairs I will be very grateful.

https://jsfiddle.net/hbL7urq6/1/

Ps.
Sorry for my English, because I speak very little, I'm from Brazil (pt-br)

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...