WesleyDeveloper9's Forum Posts

  • Hello everyone,

    With Construct 2, it is possible to use a code on the Event Sheet to disable the "Refresh" button on the browser?

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To plinkie:

    Ok! Perfect! You said to call set angle immediately after each spawn. I followed your instructions and it works and the problem is now solved! Thank you very much for your help!

  • Yes, this is the problem. I already sent an image of the "Event Sheet" so I don't think that it is a necessity for me to send the capx file. The event sheet is enough to solve the problem.

  • To plinkie:

    The "Set angle" property of the Bullet object was already set to "Yes" and the problem remains the same. You told me that I am supposed to check "set angle" but on the bullet property, you can only choose Yes or No when you want to activate the "Set Angle" property in Construct 2. What version of Construct are you using? I am using Construct 2.

  • I have a Turret with two cannons and the turret is located at the top of the screen and the two cannons are pointing at the lower area of the screen, but one cannon is throwing a projectile at the top and the other one is throwing his projectile at the bottom. Can you give me a code that will allow me to make both of the cannon shoots at the bottom? One picture is showing you the code that I have typed and the other one is a picture of the Turret so you can better understand my problem:

    Tagged:

  • To tunepunk:

    Do you remember the link that you provided me (dropbox.com/s/cktagro3h7ygvs0/lazer_cannon.c3p)? Let's say I want to have another Turret that fires on the opposite side of the screen (to the right). How can I reverse the code so the turret can shoot in the same manner but from the right side of the screen? This is an image to refresh your memory:

  • To tunepunk

    Thanks! I changed the angle of the projectile and I use the code in the example that you sent me and now it finally works! Thank you tunepunk and thank you to all the others who suggested me other options!

  • To tunepunk:

    I used the example that sent me in the link that you have submitted in the Forum. But unfortunately, it doesn't work. The turret is moving away from the player when I move the player in the direction of the turret.

    Thank you anyway!

  • To tunepunk

    Yes, something like this. A turret that fires in the direction of a target. By the way, I already used the Turret behaviour and it doesn't work. When the player sprite approaches the turret, the cannon is moving away from the turret. So I will use the example that you sent me and if it doesn't work I will write you back.

  • I am struggling with the laser cannon issue for three days.

  • To plinkie:

    No, I am trying to fire a bullet upward like a normal projectile.

  • To plinkie:

    I am supposed to include target.x,target.y? Can I have an example for the complete expression?

    How can I create a cannon who rotate and throw projectiles in particular angles? I used the code in the image below and when the cannon fires a projectile, the projectile flies away in the upper left corner of the screen, rather than going straight to the target. Help me out!

    Thank you!

  • To madmandom:

    It doesn't work because the tutorial doesn't help me to do what I want to do. I will resubmit my question so you are someone else can provide me with a code or a tutorial that will help me.

    Thank you anyway!

  • Greeting Construct users,

    I am searching for hours a solution to make a rotating laser cannon to throw a single dotted line of laser, but I can't find the solution. and secondly the laser doesn't shoot straight and I don't know why. This is a picture of the code below. I would like to know if someone doesn't have a suggestion. Thank you!