MPPlantOfficial's Recent Forum Activity

  • 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.

  • It's the fx:

    It's used apart from the canvas plugin.

    .

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you're happy with a solid outline you could use the outline effect.

    For a dashed line you'd need to calculate the outline from the intersection of the shapes. The canvas plugin gives a way to draw it after you calculate it, or you could use a tiled background for each edge.

    It's not super trivial to calculate but a lot of solutions can be found online that can be adapted over.

    What is this outline effect? Is this a separate effect altogether or is it an action found in Canvas?

    Sorry but I have no experience using this plugin yet so I don't know where to begin

  • I'm trying to make some scalable solid walls for some sprites to interact with.

    At first I went the brute force method of using lines and image points (which I struggled to complete) but it occurred to me that Canvas might be a possible solution to my problem though I've never used the plugin before so I don't know where to begin.

    CAPX: https://www.dropbox.com/s/3m6b8lywwzvcb ... .capx?dl=0

    All details below:

  • Will the C3 runtime affect C2-made projects?

  • Any new laptop but ask for Windows 7.

    Windows 10 comes pre-installed with many shitware that will slow down your pc.

  • New runtime has performance improvements and will have plugins like tween, canvas etc. Those definitely help to make a more polished game.

    [Del.] Dont want to give them any more ideas.

  • ...currently working on a desktop project, so no need for the neat new things construct 3 have for mobile projects (exporters, IAP plugin).

    C2 is good enough for your needs but if your project has a demand for Android and iOS, then it wouldn't hurt to get C3 only for the exportation. Even if the runtime turns out to be as good as promised it's not really mandatory for your needs.

  • Your only thinking of it from a potential winners point of view. Their investment in the Jam is meant as promotion for both Construct and NG. Not just for contestants, but people playing the games. If a good quantity of the submissions are of "limited" quality, it's actually negative as a promotion.

    That's actually a good point.

    Though I still think solution C up there is the better option. I think they just looked at Solution B and decided.

    "You wanna increase your chances of winning a subscription? Then subscribe!"

  • Thanks all but my issue IS that I need ads. I don't want to disable them.

    Try Cadburry games' ad plugins. He's already ported them to C3 last I checked. Though your next potential problem is that guy never ever replies if and when something goes wrong. Check to see if Josek has ported his plugins to C3 as well. His worked well on C2 at least last year.

MPPlantOfficial's avatar

MPPlantOfficial

Member since 17 Feb, 2016

Twitter
MPPlantOfficial has 1 followers

Trophy Case

  • 10-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

15/44
How to earn trophies