MPPlantOfficial's Recent Forum Activity

  • What exactly do you mean by "directional damage" ? Do you mean Knockback?

  • Look in your C2 examples folder. You will find circular platformer example in there.

    As for procedural generation there are many many ways.

    You can use:

    Every X seconds. Timer, triggering events...

  • Event 3: Change Set Width action to min(Self.Width+5,distance(cannon.X,cannon.Y,Mouse.X,Mouse.Y)), rather than Self.Width+5

    Thanks. I was gonna add 2 more events but didn't know you could simply clamp it like that

  • Hi. This is a solution I made for a pipe puzzle before but the concept is the same:

    https://www.dropbox.com/s/p04xd82wc1n3m ... .capx?dl=0

  • > With two tiledbackgrounds you can make it look like it's animated, or at least moving forward.

    > https://www.dropbox.com/s/cm27xvzisnoxe ... .capx?dl=1

    >

    Hi how do I set laser length to Mouse.x mouse.y if not overlapping wall?

    I tried modifying but the result is no laser is shown

    Hmmm... I just thought of a solution involving 2 laser beams. Yours and another always set to a default length. Whether or not beam 1 is colliding with a solid will determine which beam will be used. Sounds good to me!

  • With two tiledbackgrounds you can make it look like it's animated, or at least moving forward.

    https://www.dropbox.com/s/cm27xvzisnoxe ... .capx?dl=1

    Hi how do I set laser length to Mouse.x mouse.y if not overlapping wall?

    I tried modifying but the result is no laser is shown

  • ...and as another behaviorless example there is this:

    https://www.dropbox.com/s/aondowy4ycjgl ... .capx?dl=1

    Awesome! This is something everyone could use.

  • I've had luck in the past doing instant path finding in the past by utilizing the LOS behavior.

    Awesome, R0j0! Nice touch on the corner sprites.

    That seems to be exactly what I needed for my Right triangles solution.

  • I'm working on a visibility graph based pathfinding algorithm,

    VERY interesting. I actually thought of a solution using 2 sets of lines sprites to measure X and Y displacement and simply projecting my desired path along the Hypotenuse.

    Not as complex as yours but it's something I can work with. Still looking forward to your solution.

  • What if there are two or more walls? How do you choose the closest route? This could be a very difficult task.

    Well that's the thing, I want there to be a max of 2 turns and actually want the line to be displayed that way for a visual representation of the max distance. Basically what's shown in the picture is exactly how I want it to look like. The cursor is constantly projecting the destination and calculating distance like that.

    Have yet to check your example since I haven't updated versions yet but will check tomorrow.

  • To explain I posted everything in the diagram below.

    I'm attempting to make something like a Real time pathfinding if you will only using lines and points except this one forecasts your character/sprites' position every tick which obviously cannot be applied using the built in pathfinding function.

    Key point #1: It doesn't matter if the character can't fit through the walls; what matters is the shortest distance can be found immediately.

    Key point #2: Might export this using C3 so I'd prefer it done using VANILLA plugins

    I'm thinking I'm going to need 3 sprites just to serve as points for each intersection on a wall and a single line sprite whose width will increase and until it reaches destination or until max distance is reached. To explain check out my "Hypothetical Solution" section at the bottom of the picture posted.

    This is the solution I though of however I'm having trouble actually applying it. I'm thinking something like:

    [repeat 180 times]

    [point 1 is overlapping wall] set point 1 angle to [point1.angle + 1]

    or something like that but to be quite honest I don't know where to start.

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's the fx:

    It's used apart from the canvas plugin.

    .

    Alright. Thanks. Sorry for the late reply btw. Just saw this today.

MPPlantOfficial's avatar

MPPlantOfficial

Member since 17 Feb, 2016

Twitter
MPPlantOfficial has 1 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies