frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Help with Ladders and briefly connecting to an object

Hello, I am brand new to creating games so I am still learning the ropes...

I would like to make it so that when my character comes into contact with a ladder it connects to it and turns on the animation to climb up. I have it mainly working but I would like the connection to be more precise so that the character can move up and down the ladder in a straight line, until it reaches the top and then carries on with the play. Is it possible for the character to do a steady climb rather than just a jump up it. I have keys set to left right arrows and up arrow for jump.

Also I would like my character to drop off another ladder onto a boat below (solid object) and float along. I have the movement sorted but I would like it to start moving only when the character lands on top of it and for the character to stay there until it reaches its destination, then character free to move again.

Can anyone help please?

Many thanks

Comments

  • Hi,
    so what you are trying to do is make the player able to climb the ladder. Basically, make it to where, you cannot jump (Use a switch), but instead, if you hold up, you perform a flying action, which is blocked by a switch and turns off when you go away from the ladder.
  • Yes I would like the character to climb not jump but also for the ladder to confine the character to those ladder blocks whilst climbing. I have used a switch but it's still not working. Wondering if I have used it correctly???
  • Could you send a link of the game? Make sure that the collision with the ladder is on repeat and every second or so the game turns the switch off, but the collision will utrn it right back on if hes on the ladder.'
  • There is such a lot to get your head around. I wish there were more tutorials like the seven beginner ones created. Here is the link to my game: https://flowlab.io/game/view/1403441
    I suspect I have done several things wrong, ha ha! It's the second level I am having trouble with.
    Thanks for all your help! :-)
  • Hey, no problem!imageScreen Shot 2020-05-13 at 7.39.26 AM
    I haven't tested it yet but if you add this to the plyaer script and make it collideable it should work! :)
  • Thank you. Sorry for the delay in replying. Close to finishing it now, just a couple of issues to iron out. :-)
  • No problem! good luck with the game!
  • Thank you.

    Could I ask for a little more help, could you have another look at my game and let me know if there is a way I can achieve my last 2 goals...

    1 - I have created a crawling animation which I want to be the only way they can get through (instead of walking) where the scrum net and spikes are. The spikes will send them back to the beginning of the game so all that part is working but I need the spikes to activate if they are simply walking through, which then forces them to use the crawling animation to get through.

    2 - Why does my boat lift up off the water when it goes into play mode? Can I make it so that it sits on the water when in play mode?

    Hope you can help. :-)
  • Please leave a link to the game.
    For the spikes:
    If you are using multiple hitpoints then have a switch in between spikes and the damage. Make the crawling turn the switch off, and not crawling on.
    If you are using a system where the spike itself deals damage, then go ahead and add a switch there and have the crawling animation send a message to the spikes. That message should turn off the spike's switch.
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch