Wak017's Recent Forum Activity

  • I am definitely interested in help! Do you have discord, or what other platform could be used to DM? my discord is !Wak#2815 (exclam point important).

  • I... don't see how this example was helpful in any way.

  • Hello there,

    I am currently working on a platformer and the goal is to have a rope swing that looks like this:

    youtube.com/watch

    I was able to code the casting of the rope already, but everything after that is a big mess. The momentum at the start and at the end of the rope swing are all over the place. Nothing is fluid and I am looking for something smooth.

    I was able to get a rope swing with the orbit behavior, but I encountered several problems. First, when I end the orbit behavior, the character just stops dead in its track and its velocity is straight down instead of swinging what was its orbital momentum a frame ago. And second, the orbit's speed is calculated in degrees per second instead of pixels per second, which complicates things. right now the formulas for the rope swing's speed are wrong.

    If you think you can reproduce the rope swing in all it's smoothness like in the youtube video I have shown above please DM me. I don't mind if the orbit behavior is put in the trashcan and a completely different approach is used.

    Thank you in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you both both of your replies dop2000 and R0J0hound. I was able to get a very similar result with both of the orbit behavior and the less intuitive method from hound. By the way Hound I think you mentioned the variable vrel but I assume you meant vperp.

    On both cases I definitely get the orbit around the tip, what I was looking for. However now I'm struggling with the release of the orbit around a point, as it doesn't follow the swing's momentum (when I release the orbit) and always go straight down. It seems that if I disable the platform behavior, then the character follows the swing's momentum, but then I can't control the character anymore. And whenever I enable the platform behavior back again, the character's momentum is stopped dead in it's track. I will try a workaround of all this, but both orbit and hound's method worked for what I initially was looking for. Thank you guys.

  • Thank you for replying dop2000,

    I think the word "hook" was kind of misleading towards what I'm really looking to. I don't want anything to go from one point to another like the offered templates, I want the character to rotate around it.

  • Greetings everyone,

    Here is my project: 1drv.ms/u/s!Av6DKHz8GbeYkQoh1RVjS9nTc0CV

    As the title suggest, I'm trying to make my character rotate around a specific object. The object in question is a "hook" that can be thrown by the player using RB on a controller. When the hook hits a wall or a ceiling, the character is expected to rotate around the hook.

    The idea I have is something that has already been done in the past, the game "speedrunners". Here's a footage of the game and the behavior I'm looking for: youtube.com/watch

    I'm trying to reproduce that behavior in construct 3. I already have the hook to stay in place when it hits a ceiling, but now I'm in a dead-end for the rotation part. I checked over similar problems on the forum but couldn't find anything conclusive. Here's what I have so far: youtube.com/watch

    Thank you in advance.

    Tagged:

  • You do not have permission to view this post

Wak017's avatar

Wak017

Member since 24 Jan, 2022

None one is following Wak017 yet!

Trophy Case

  • 2-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies