Walessio's Forum Posts

  • Nothing Kiddy or Cartoony? Well, have a look at Mortal Kombat characters

  • It seems that I'm stuck again cause I cannot pick objects instances correctly.

    Look at my events:

    In my stage I have:

    -two instances of a Crawler object;

    -two instances of a Sensor1 object;

    -two instances of a Sensor2 object;

    sensors have a instance variable "Parent" witch is the UID value of the Crawler instance to which are connected;

    Each sensor is correctly positioned to it's crawler.

    What I want to achieve is:

    -for each crawler, get it's sensors, 1 & 2

    -for each of these sensors, check if a collision accurs with obstacles of Backgroundblock;

    -doing different things according to collision combinations (S1&S2, S1&!S2, !S1&S2, !S1&!S2)

  • Considering that not all devices are multitouch I would suggest you to rethink your controls

  • Thanks both for your answers, while waiting for an aswer i almost reached the behaviour I want using some "helpers sprites" which turn when they hit a wall or a block ends, yet is still buggy

  • Up

    Today is the day.

    My body is ready (cit.)

    Today is the day.

    My body is ready (cit.)

  • Open it with a different browser and you should find no saved games

  • I guess you should follow Ashley's adivce

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Up

  • Yeah but what's written there?

  • Can you check what's in that line of code?

  • Event no. 14 triggers every tick, so the animation starts continuosly from the beginning.

    Add a sub-event to event 14 with the trigger once condition and move "set animation to climb" there;

    Also, add an else to event 14 to with "stop animation"

  • Hello constructors, I have some trouble to figure out how to make a crawling character AI.

    What I want to achieve is a computer controlled character which crawls along the edges of walls rotating accordingly.

    The logic is shown in the picture.

    Normally the character crawls following a straight floor (A).

    When he encounters a convex angle (from left to down) he rotates and then crawls down the wall (B).

    When he encounters a convace angle (from left to up) he rotates and then crawls up the wall (C).

    All of these logics should work in case any angle (D,E,F).

    Also, since the character is "crawling to the right", these logics should be mirrored when he is "crawling to the left".

    Any suggestions?

  • I have a similar problem with a log system, and in my opinion the best idea would be to:

    • check if the game instance has a Unique id variable set;

    -if not, call a server that register that device in a database table, returning the just inserted primary key (that would be unique)

    -saving that value in the game instance variable Unique id

    This way, no matter what, any device would be an unique id