# Climbing Ladders in Phaser 3

**URL:** <https://phaser.discourse.group/t/climbing-ladders-in-phaser-3/11583>\
**Category:** Examples\
**Created:** [April 23, 2022, 2:00pm UTC](https://phaser.discourse.group/t/climbing-ladders-in-phaser-3/11583 "2022-04-23T14:00:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cedarcantab](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/cedarcantab/32/6120_2.png) [@cedarcantab](https://phaser.discourse.group/u/cedarcantab)\
**Post date:** [April 23, 2022, 2:00pm UTC](https://phaser.discourse.group/t/climbing-ladders-in-phaser-3/11583/1 "2022-04-23T14:00:54Z")

</div>

There are other posts out there on this topic, but I thought I would share my learnings from my exploration of making characters climb ladders using both sprites and tilemaps, and some different ladders/platforms arrangements, with arcade physics. Quite frankly, I found this topic deceptively complex.

![image](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/b/b16cbad42d08183effa46a2d94d78319bfed3209.png)

Here is my [blog](https://cedarcantab.wixsite.com/website-1/post/climbing-ladders-in-phaser-3-part-1) on this topics using just sprites, and this is one of the examples.  
https://codepen.io/cedarcantab/embed/preview/xxpMKjv?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=xxpMKjv

And here is [blog](https://cedarcantab.wixsite.com/website-1/post/climbing-ladders-in-phaser-3-part-2) of me looking at tilemap ladder climbing where ladders stick out above platforms.  
https://codepen.io/cedarcantab/embed/preview/XWVOmRb?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=XWVOmRb

And finally, [blog](https://cedarcantab.wixsite.com/website-1/post/climbing-ladders-in-phaser-3-part-3) of me looking into tilemap ladder climbing where ladders do not stick out above platforms.  
https://codepen.io/cedarcantab/embed/preview/XWVQyRo?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=XWVQyRo

 ![image](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/f/f417eb95291bd316a575df99c79d2a331f49082e.png)

---

<div class="post-metadata">

**Author:** ![philscode](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/philscode/32/6448_2.png) [@philscode](https://phaser.discourse.group/u/philscode)\
**Post date:** [April 23, 2022, 9:09pm UTC](https://phaser.discourse.group/t/climbing-ladders-in-phaser-3/11583/2 "2022-04-23T21:09:46Z")

</div>

Really great reads, thanks for documenting all your findings!

---

<div class="post-metadata">

**Author:** ![cedarcantab](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/cedarcantab/32/6120_2.png) [@cedarcantab](https://phaser.discourse.group/u/cedarcantab)\
**Post date:** [April 25, 2022, 11:58am UTC](https://phaser.discourse.group/t/climbing-ladders-in-phaser-3/11583/3 "2022-04-25T11:58:55Z")

</div>

Thank you !

---

<div class="post-metadata">

**Author:** ![stahlmanDesign](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/stahlmandesign/32/1204_2.png) [@stahlmanDesign](https://phaser.discourse.group/u/stahlmanDesign)\
**Post date:** [April 26, 2022, 3:03am UTC](https://phaser.discourse.group/t/climbing-ladders-in-phaser-3/11583/4 "2022-04-26T03:03:33Z")

</div>

I really appreciate your blog post with all the details.

I once made a ladder plugin for the ImpactJS game engine (which had its own level editor called Weltmeister). You could import my ladder Entity and size it as needed.

In the game, the player could collide with a ladder causing his **canClimb** to be true.  
Pressing up or down would then make **isClimbing** true. This was important because sometimes you want to walk past (or jump through) a ladder without it having any effect.

But you also want to be able to jump off a ladder.

As you have discovered there are so many things to think of to make it fun and not annoying like early platform games could sometimes be.

Your approach with Tiled is really interesting and I will read it thoroughly if I get around to making another game with ladders.

---

<div class="post-metadata">

**Author:** ![cedarcantab](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/cedarcantab/32/6120_2.png) [@cedarcantab](https://phaser.discourse.group/u/cedarcantab)\
**Post date:** [April 27, 2022, 10:37am UTC](https://phaser.discourse.group/t/climbing-ladders-in-phaser-3/11583/5 "2022-04-27T10:37:53Z")

</div>

Thank you for your feedback!  
Wow! Building a generic plug-in is way beyond my capabilities, but hopefully other people who enjoy tinkering around with Phaser will find reading my struggles and learnings interesting!
