![]() ![]() If anyone's interested in progress I'll keep updating this topic with what I discover about side-on staircases. Has anyone else come across this problem before? Am I perhaps missing a blatantly obvious answer (aside just not bothering at all)? It's particularly challenging since I'm using arcade physics, I was thinking of moving to P2 so I can do a polygon check instead, thus allowing you to only travel 45 degrees while stood on that particular area. ![]() ![]() When variation comes in to it, the whole thing falls apart, considering all the different types of staircases / entrances or exits you might have. But it's very tacky and feels hacked together, since it's using a simple check of tile properties to determine whether they are a staircase tile or not. I've made progress enough to get the player sprite to move up and down at a 45 degree angle, and 'almost' so that you aren't able to walk off the edges and only each end. For the most part it works quite well, but there is just one thing that I can't seem to get the hang of.įorward facing staircases are no problem at all, but the real challenge comes when attempting to create side on stair cases like we see in the image attached. I've been working on a little something for a while now (top-down classic rpg) using phaser. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |