theames's Forum Posts

  • ramones you are a GENIUS!!!

    I have one more favour to as of you and I will leave you in peace I promise!

    I'm really struggling with this which is why I am asking, but I would like to amend your capx so that I have multiple instances of the rocket already on the layout, and I would like them to have a speed set from the start, so they are all moving slowly in a direction when the game starts. I then want to be able to click on a rocket and then draw the path for that rocket

    Problems i have are setting an initial speed causes the rocket to just jump down the page vertically while i am drawing the line

    another problem is when i mouse up after drawing the line, i am then able to drag and drop more lines which get joined on to that one.

    I set this up by simply setting an initial speed on the rocket and changing the line where you spawn an instance of the rocket, i changed it to detect the mouse click over an instance of the rocket

    Any help super appreciated and I will definately be adding you to the credits with massive praise when this is done

  • Thanks for getting back to me this has drive me mad all day so it's good to know cheers

    I started using way points plotting them down by keeping checks on the distance the mouse had moved but it was very inconsistent. Got no idea why. But this one you have sen me seems to do the job so cool and thanks again

  • Also line segments seem to get drawn ahead of the mouse point so it seems like the condition of the distance being greater than 20 doesn't work properly. I would really appreciate anyone helping me get this to work properly

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would like to make a game where I can draw a line by clicking and dragging the mouse. I would then like a bullet or sprite follow the line. When it gets to the end of the line it should just carry on in the direction it was going.

    I have tried the example on this post:

    scirra.com/forum/how-to-make-bullet-follow-the-line-just-drew_topic53718.html

    But I get the same issue with all of them that it seems erratic in the way it creates line segments. It will always create what seems like multiple lines and lines going off from the original line making the rocket go back and forth etc

    I'm new to this software but have a few years development experience but could really do with some help here

    Thank you

  • R0J0hound I get a lot of problems with your capx, the line you draw seems to create additional segments coming off it so the rocket shoots along the line then keeps going off then back to the main line, know what i mean?