brandonP's Recent Forum Activity

  • Thank you so much !!! I was aware of the second problem, but the first problem was the issue.

    Thank you again for explaining it with details and thank you for your time

  • Thank you for the reply, I'm pretty sure I'm missing something but I can't find the mistake

    https://www.dropbox.com/s/6c2brko03mk89yk/ladder.capx?dl=0

    here I use two speeds 1 and 5 on your example it work perfectly but on mine it doesn't

  • I followed this tutorial for climbing ladders:

    https://www.scirra.com/tutorials/591/a- ... latformers

    I'm trying to get the player to climb a ladder by pressing the up key on the keyboard

    Here is what I did :

    when player is overlapping ladder

    and

    the up key is pressed

    • --> set player platform gravity to 0

    set the player Y to player.y-c

    Else

    ---> set player platform gravity to 1500

    no matter the value of "c" the climbing speed is always the same

  • Did anyone get a chance to look into the issue?

    any solution ?

  • Beautiful thank you so much Kyatric

    Just want to add you code will work if the collision box of the tile is set to bounding box.

    If the collision box is like the picture bellow you will need to add that part for the Y position, for my situation my player is taller that the tile so I set it up to BBoxTop

    here is the code I ended up with

    The effect remind me so much captain comic :p

    https://www.dropbox.com/s/fhlpe6btey5rv6q/teleport%20simple.capx?dl=0

  • Is it possible to calculate the distance of an object to tilemap

    I am trying to teleport the player but I don't want his new position to be inside the ground

    this is what i'm using for the teleport function:

    when btn pressed -->

    if palyer mirrored ---> set player x to self.x-50

    else --> set player x to self.x+50

    What I'm trying to do is to add something like this

    when btn pressed -->

    if palyer mirrored ---> set player x to self.x-(min(50,distance( player,tile edge)))

    else --> set player x to self.x+(min(50,distance( player,tile edge)))

  • You do not have permission to view this post

  • I know that this is an almost 4 year topic but it was listed under:

    Neither the link to the example or the demo work

  • that editor look so good what was your approach? I'm looking to make something similar

  • bbenny93 no worries, thank you for the tremendous work you have done, So it seems that I had a conflict with ONE variable that I called "c" XD, I fixed it tho

    For the warning that I told you about on my first message, you still see it even with the capx that you provided, check the console (f12) it's just a warning

  • Thank you so much for the tutorial, the example and the capx files !!!udn@bbenny93

    Pretty sure I'm doing something wrong, when I call the function"dialogue" every thing freezes and I get this message on the console :[Construct 2] Function object: called function '', but no event was triggered. Is the function call spelt incorrectly or no longer used?

    This happen when I use either "intro" or "skip" as a parameter when calling the function.( i'm using the dialogue xml that come with the tutorial)

    When I don't use parameter or misspell it "skiip" the game wouldn't freeze and I get a dialogue box created but no more,

    Any of you encountered this issue ?

    and

    Any ideas on how to troubleshoot it ?

  • Add the sine behavior to it. Now use lerp to move it smoothly and constantly toward a specific point relative to the player. My example below will give you smooth and floaty movement that is relative to which way the player is facing.

    Here is a working example of it with no plugins and just a few events: https://drive.google.com/file/d/0B4Cyki0BEAFdNUxmMzJEYTNWT0E/view?usp=sharing

    Thank you so much C-7 !!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
brandonP's avatar

brandonP

Member since 3 Jul, 2016

None one is following brandonP yet!

Connect with brandonP

Trophy Case

  • 8-Year Club

Progress

8/44
How to earn trophies