granpa's Forum Posts

  • Touch conditions

    Compare acceleration

    Compare the current device's motion as its acceleration on each axis in m/s^2 (meters per second per second). The effect of gravity can be included or excluded, but note that some devices only support accelerometer values including the effect of gravity and will always return 0 for acceleration excluding gravity.

    Compare orientation

    Compare the device's current orientation, if the device has a supported inclinometer. Alpha is the compass direction in degrees. Beta is the device front-to-back tilt in degrees (i.e. tilting forwards away from you if holding in front of you). A positive value indicates front tilt and a negative value indicates back tilt. Gamma is the device left-to-right tilt in degrees (i.e. twisting if holding in front of you). A positive value indicates right tilt and a negative value indicates left tilt.

  • The field of view in LOS is based on the objects current angle , so you will have to change this and not just mirror the object for it to work correctly . The manual is specific on this subject.

  • To get them to spawn randomly just make an event, every x seconds and add the action create object.

    X: random(3000)

    Y: random(3000)

    Or use what ever coordinates you want.

  • Enemy has LOS to Player and then a subevent that checks if clockwise ,rotate to position , then a else subevent and rotate the other way , works for me !!!

  • line of sight lets you limit the cone of degrees , have you checked into using it ?

  • Rotate toward position and use a negative number for ccw ,worth a try ?????

  • What do you mean by unzipping files , if you are talking about .cap files then just double click on them and construct will load them .

  • Right click on your first condition and then choose add condition and insert another condition , you can have multiple conditions . Read manual on conditions in events.

  • The easiest way and without any conditions or actions would be the sine behavior added to the object , the manual will explain it quite well.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you go to the Tutorials section and type in "arrays" under search , you will find an abundance of info relative to your inquiry .

  • Your welcome , glad I could help.

  • Put both sprites into a container and in a System Always event , make an action for one of the sprites to set position to an object (the other sprite )

  • look up Tokenat in the manual, I think this would be your best bet , I use it for such a purpose!

  • greetings from the rocky mountains