Saturday, 1 October 2016

GDevelop - How to grab ledges, climb straight up ladders (And laser thingy)

Download the example HERE!


Events

Platform properties

Player properties

How to make line using shape drawing:

Answer to Night-Fall:
"LadderThing" is just an object, which is under the ladder.



16 comments:

  1. oh my god !! thanks thanks thanks man u r the best of thee best !!
    thanks man that was a nice tut and very good example

    ReplyDelete
  2. Replies
    1. Heheh, no problem! I'm Glad I could help! :)

      Delete
  3. can i ask u another thing ?? how to make the laser with the draw line object without the pixel that u used ???

    ReplyDelete
    Replies
    1. Look at the final picture of this example :)

      Delete
    2. that is more simple than the GD example laser and the zobbei

      Delete
    3. but i noticed something about the ladder !! when u are on ladder (player.x position will not change cuz we put an event right) so when the player is on the bottom of the ladder trying to move a way he still stuck with the (x) i tried to make this logic (if the player is on floor and on ladder then we don't need to adjust the player.X()) but i can't type this in event form ??

      Delete
    4. Look at the final picture again "Answer to Night-Fall" :D
      There is many ways to do that, but that is pretty simple way.

      Delete
  4. and what about c++ codes are there any script references to start with ?

    ReplyDelete
    Replies
    1. I don't know anything about c++, but here are some pages: http://4ian.github.io/GD-Documentation/GDCpp%20Documentation/ and http://wiki.compilgames.net/doku.php/gdevelop/documentation/manual/use_cpp

      Delete
  5. returning to the laser again!! i found that the laser is not starting from the point i choosed so i changed the x and y to the position to point position but the laser is starting from out side of the view the lower right corner !! weird !! do i have to adjust some parameters first ?? or what is the problem

    ReplyDelete
    Replies
    1. Hey if you are using that drawing line object, move that drawing line object to the left upper corner of the scene. I think that is the problem.

      Delete
    2. hhhhhhhhhh HOW !!! HOW did u know that simple thing could B the problem hhhh NICE it's working very nice thanks

      Delete
    3. You're welcome :D I got the same problem first, but I try different things to solve the problem :) (in this case I first tried to move that object around the scene and fortunately it was the solution)

      Delete