Jakyden's Recent Forum Activity

  • Thank you so much ramones, this is exactly what I was looking for!

    As a novice looking at the event sheet, I could have never figured it out myself so thank you once more!

  • Yes, the collision itself is "working", but it stops the player completely and the player gets stuck in the wall like glue. If you try to go outside the Layout Boundary, the player doesn't get stuck like that and instead the player slides smoothly against the boundary towards the mouse.

    What I want to know is if I can have that same "smooth" effect on my brick wall too, because that would make the game much more fun instead of trying to not touch the walls because you get completely stuck.

    I really don't know how else to explain what I'm looking for...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't need pathfinding because I am not trying to create an isometric RPG where the player runs to the place you clicked, which is much more complicated, I believe.

    I want the player only to be able to move towards the mouse cursor only when he is holding down the mouse button, as seen in the example.

    I was assuming it only requires some slight modifications to my example as it seems to be working the way I want, except the smooth wall-collision part.

    To give you a better understanding, I want the walls to have the same effect as "Bound to Layout" does. Try walking out of the layout - you can see the player still moves towards the mouse but the character doesn't stop moving.

  • Hello forum. I've been testing out Construct 2 in order to try and create a HTML5 game for a school project.

    I'm interested in creating a prototype for a click-to-move game and I've found a good example for it called "Diablo Like Movement" or similar, I forget.

    Anyway, to the point: the example has an annoyance. As soon as the character touches the wall, he stops moving. In order to move again, the player has to guide away from the wall and not touch it again.

    Is it possible to smooth out the collision so the player glides smoothly against the wall and keeps moving in the direction of the mouse at all times?

    Here is the file: dl.dropbox.com/u/40408827/DiabloMovement.capx

Jakyden's avatar

Jakyden

Member since 10 Dec, 2012

None one is following Jakyden yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies