SamosGisor's Recent Forum Activity

  • Hi,

    I would like my game to be:

    • fullscreen on mobile
    • a specific resolution and centered horizontally and vertically on desktop

    In the "configuration settings" I can set the "fullscreen in browser" settings, but I cannot differentiate there between desktop and mobile.

    The "Resquest Fullscreen" using the browser element is not recognised in all browsers and devices.

    Thank you in advance for your help.

    Cheers,

    Samos

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there, the plug-in sound awesome, unfortunately when launch C2 after installing the plug-in it says it is unable to load the plug-in because it cannot open the file common.js.

    Do you have any idea how i can get it to work?

  • Hi Nimos! Thank you for your answer, that sounds like a great idea, I will try this right now.

  • Hi There, I am trying to create an AI for a unit. In plain words it would be:

    • Pick nearest enemy and go to him. But if you can't reach him (obstacles in the way), go to the second nearest.

    If you look at the picture attached to this post, 1 should go to A, 2 to B and 3 to C. But currently 1 doesn't move because the command „pick nearest“ picks out D. How could I exclude D from the list of possible targets?

    All the O are the same type of unit, and all the X are a different type of unit. The box which D is in might get destroyed, so it should still be targetable as soon as it is "reachable".

    For the moment I am using

    Condition

    On mouse click

    System > For each X

    O > Pick Nearest to (X.x, X.y)

    Event

    Find path to (O.x, O.y)

    Move along path

    As I said, it works perfectly, as long as a path can be found to the nearest target. As soon as a path cannot be found to the nearest target, the X doesn't move.

    I would be very grateful if you could grant me some insight into a solution to this problem.

SamosGisor's avatar

SamosGisor

Member since 6 Mar, 2014

None one is following SamosGisor yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies