zedissimo's Recent Forum Activity

  • R0J0hound Thank you very much

  • I understand what was the problem with (p1.velocityx) it's (p1.8Direction.VectorX), but i still don't understand why sprite is shaking if we are setting angle here (angle(p1.x,p1.y,p2.x,p2.y)) ?

  • Example #1

    I made this in construct 3 and if P1 line is active he is drugging, of P2 he is active and if both lines, than then both are drugging. (interesting)

    Dist = distance(p1.x,p1.y,p2.x,p2.y)

    Ang = angle(p1.x,p1.y,p2.x,p2.y)

    P1: move max(0, dist-radius) at angle ang

    Or

    P2: move -max(0, dist-radius) at angle ang

    Example #2

    I can't find the way to add "velocityx" to P1 or P2 there is no such expression (or I can't find it?)

    W1 = max(0,p1.velocityx*cos(ang+180)+p1.velocityY*sin(ang+180))

    W2 = max(0,p2.velocityx*cos(ang)+p2.velocityY*sin(ang))

    Example #3 same thing with "velocityx"

    R0J0hound, wow thank you for your time explaining to me how that works. That much detailed information will help me understand how to handle it in future (I hope so)

    I also checked both files:

    #1 tetherObjects.capx works perfectly

    #2 tetherObjects_noDragging.capx have a strange bug: when any of the players are moving at 45° angle (keys A+W, S+D, LeftArrow+UpArrow, or DownArrow+RightArrow sprite starts shaking in some degree to left and to the right

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound I also appreciate you trying to help me. Before I even try to add it to the construct and test it, I need some time to understand what's happening with those formulas.. I wish there would be the way to turn off drugging for Pin behavior...

  • igortyhon I appreciate you trying to assist me, but there is a problem with that "code".

    Example #1: if player 1 is moving to the left and at that time player 2 start moving to the right, than player 2 will drug player 1 to the right

    Example #2: if player 2 moving to the right and player 1 starts moving to the left than they both are moving to the right

  • Hello! The best way to explain what im trying to do is. Imagine two sprites "Pined by Rope style" to each other... so both of them are limited by distance and can slide at the radius after that range limit reached. They can turn back to each other with no speed limitation

    In the examples below you can see Version 1 and Version 2, and they work almost perfect. The problem with them is that one of the players is drugging the second one, and I don't want that. In version 7, it is almost what I want to achieve...

    https://www.dropbox.com/scl/fi/fn83oweqyru8fukdsvgxd/My-Movement.c3p?rlkey=86utyf9ng2ppjfnj9tb0bgbkv&st=0kx1gkun&dl=0

  • Thank you! That finally works as I imagined. I will check an example and learn more about (dt)

  • I'm new to Construct Engine, and I'm trying to make a dynamic camera between two players with a smooth transition between minimum and maximum distance. The group named "Test 4" is the latest version in the project where it's working almost like a want, but there is a bug with screen shaking after zooming in...

    1) How can I fix screen shaking? (I know that it's jumps to 1.0. It's because there was no way for me to make it work)

    2) Maybe there is a better more elegant way to make dynamic zoom with less "code"?

    3) I will be glad if someone will explain to me what im doing wrong

    https://www.dropbox.com/scl/fi/ysro8653t5625u7md1ajm/My-Camera.c3p?rlkey=77wd93l0r5l3qqqvhs45qrr40&st=4snny92w&dl=0

  • You do not have permission to view this post

zedissimo's avatar

zedissimo

Member since 10 Oct, 2023

None one is following zedissimo yet!

Trophy Case

  • 1-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

3/44
How to earn trophies