Search the Community

Showing results for tags 'ladder'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 5 results

  1. Adalberto

    Ladder

    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? Since then, thank you very much.
  2. Hello :), is it possible to detect an event when whole player body intersects with ladder tile ? Not only part of it ? (see the attachment below) I am also searching for effective ladder climb example in some phaser platform game
  3. hello, I am searching for effective way of ladder climb for player like in old Loder Runner game for NES :). I already have only simple script in Update function, if the player overlaps 2 hidden objects on both sides of the ladder he gains the ability to climb. In fact it's hard to accurate get the player at the center point of ladder to climb it. Any Ideas ? if (playerTouchLeftLadder && playerTouchRightLadder) { console.log('overlaps ladder'); if (cursors.up.isDown) { player.body.velocity.y = -75; playerGravity = 0; player.frame = 9; onLadder = true; }else if (cursors.down.isDown) { player.body.velocity.y = 75; playerGravity = 0; player.frame = 9; onLadder = true; }else if (playerJumpState == false){ player.body.velocity.y = 0; } }else{ playerGravity = 500; onLadder = false; };
  4. So, I'm trying to implement ladder physics in a simple 2d platformer, with the map made in Tiled. My solution is that I have a ladder object, and then update checks for overlap between the player and the ladder entering the function "climb". As of now, two problems occur: When overlapping with the ladder, I wish to disallow gravity for the player. This works fine. However, I do not know where in the code to reallow gravity in order to make the gameflow smooth. I tried putting an "if-not-overlap", but this obviously doesn't work since "climb" is then not entered. (Tiled): I implement the ladder as an invisible object through "Insert Rectangle". It has a specified height of 105px. However, in game, it is only a small box, which doesn't appear where I would imagine, see attached picture.Happy for any help, also feel free to ask for clarification.
  5. Hey guys.. New to the game dev world but looking at a few frameworks. My main idea needs the ability to climb things like ladders or to jump/grab a rope. I haven't seen any examples of this but wondering if it's possible or if anyone knows where i can find a tutorial for this. Thanks for any help you can offer! -Freddy