Walessio's Recent Forum Activity

  • 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

  • In your place I'd try to produce assets with the higher resolution and downscale the layer (lowering the layer scale.x and y) accordingly when the user selects a lower res. (that would also mean that the screen ratio should be fixed)

    Yet you should consider that using higher res. assets downscaled could give performances issues and to solve that you should provide different res for your assets too.

    Make some tests about this argument and tell us what you have discovered

  • thanks Kyatric

  • That's weird, that tut helped me out very much.

    Which issues are you encountering exactly?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • since we're in the thread: which kind of export is right for publish on Steam? A windows executable (.exe)?

  • What do you mean exactly with similar instance variable?

  • Yes glerikud and thanks for your answer but I was also thinking about making a game template ready to be implemented in a game to help anyone with that task, what do you think about it?

Walessio's avatar

Walessio

Member since 6 Sep, 2015

None one is following Walessio yet!

Trophy Case

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

Progress

11/44
How to earn trophies