Farsight's Recent Forum Activity

  • Find angle to mouse ( angle(player.x,player.y,mouse.x,mouse.y) ) and use that to decide the required animation ? (if angle is between....)

    Already tried it, its not working correctly. Angle to mouse always between -180 +180. You can check it by yourself

  • Hi people, I have a char with 4 animations (look up\left\right\down). i need to switch between animations, depending on mouse position on click.

    That example of what i need:

    i know one method, with sprites for each direction and check if clicked to switch. But i need another method, based on mouse click X&Y only

  • On key pressed -> Play the sound with tag "thruster" looping

    On key released -> Stop sound with tag "thruster"

    Try this and tell me !

    I already tried this, it starts play every tick while button is down (starts a new sound every tick)

    i need while button is down file "thrust_sound" playing, when released it stops

  • I have space ship with multiple thrusters, i need to play thruster sound from activated thruster while button is down.

  • Now it works fine, thanks a lot)

  • <img src="http://screenshot.su/img/bf/9a/da/bf9ada56fe28c254b2a20412a0aaa691.jpg" border="0" /> i tried some tricks but it didnt works

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a space ship with non rotating turret. I need to shoot bullet from turret when target in sight with period of two seconds(1. on the pic).

    When i use turret behaviour with "Rotate:no" it shoots only when target zero imagepoint get on one line with angle of turret(2. on the pic)

    When i use Line of sight behaviour, its shoots without period. (3. on the pic)

    <img src="https://dl.dropboxusercontent.com/u/95062274/scheme.png" border="0" />

  • I have turret and i need to add new target by UID. Any ideas ?

  • i dont understand what is the problem ?

  • Link to .capx file:

    dl.dropboxusercontent.com/u/95062274/Demo.capx

    Steps to reproduce:

    1. Press "Go" button (blocks will connect with their neighbors by physics limited revolute joints) Before press "go" you can drag and drop boxes to make another ship

    2. Press W and D to start rotate ship with thrusters

    3. Ship will start to band and after go crasy

    Observed result:

    After gone crazy it distorts and is throws from place to place

    <img src="http://screenshot.su/img/a6/63/17/a663175698f556099d63e6fdddf96df5.jpg" border="0" />

    <img src="http://screenshot.su/img/bd/74/06/bd7406c1ec2c520b4b31de9db43bd2a7.jpg" border="0" />

    Expected result:

    No bending (because Joints limited by 0 angle)

    i need strong connection between blocks

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 8

    Construct 2 version:

    release 153

  • I think the physics behavior works in such a way that you can't really have a perfectly strong connection between 2 or more objects. Even a pin joint (something unimplemented in C2) is slightly elastic.

    It just comes down to the way the engine works, I think.

    Its very sad if its true. Becasue my ships like this:

    <img src="http://screenshot.su/img/69/95/05/6995051c558b1f64d7edcc9357bc4ea1.jpg" border="0" />

    after been shot can becone thin:

    <img src="http://screenshot.su/img/e8/2b/48/e82b48d6cc1e5c2878fd2656348d5ce4.jpg" border="0" />

    and when its thin and i try to rotate, physics gone mad and starts to throw ship from place to place:

    <img src="http://screenshot.su/img/bc/60/03/bc60036570d897d91fb8a4e93b8fea72.jpg" border="0" />

    <img src="http://screenshot.su/img/d0/9f/8f/d09f8fd29ce1148d52b82cd5e9f783e6.jpg" border="0" />

  • Spaceship building, with destroyable parts. its requires physics

Farsight's avatar

Farsight

Member since 5 Mar, 2013

None one is following Farsight yet!

Connect with Farsight

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies