Vorisaj's Forum Posts

  • 4 posts
  • Still dont work

    My problem is, that wait() function changing local variable to its default value.

    and result:

    0 4

    1 7

    where 4 is new value and 7 is default value. Why is those value different?

  • Now, i have this code:

    its print (7) which is bad value and generate map... and in the end it print correct value (4). I dont really get it

  • Thanks for reply!

    i will read those tutorial. What kind of sorcery is wait? I change that code to:

    notice those two local variables

    and it works! but it create another problem result:

    (left - correct)

    (right - actual with wait function.)

    When i added wait function, it ignores assing of TILE_COUNT_X and TILE_COUNT_Y and leaves its default value.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everybody!

    I am trying to load background image (Sprite) from file, then scale its size and set position.

    On first call of "create_hex", image is loaded, but it isnt scaled of moved to correct position.

    On second call, image remain same (already loaded), but it finally scaled and moved.

    Why it works only at second call?

    Thank you and sorry for my bad English.

  • 4 posts