0 Favourites

Objects are created in wrong positions v2

  • Problem Description

    The objects are CREATED IN A WRONG POSITION, then MOVED TO THE CORRECT ONE

    Attach a Capx

    Attached

    Description of Capx

    It's just an example of Window Size & Anchor behavior

    Steps to Reproduce Bug

    • Open project
    • Debug layout
    • Pause the debug
    • Clic on the "Go" button
    • Step the debug

    Observed Result

    The objects are CREATED IN A WRONG POSITION, then MOVED TO THE CORRECT ONE

      This is the #1
      This is the #2. This should not been showed
      This is the #3
      It should be: #1 then #3 But instead it is: #1 then #2 then #3 Expected Result I expect that the objects are created in the correct position from the beginning Affected Browsers
      • Chrome 35: (YES)
      • FireFox 30: (YES)
      • Internet Explorer 11: (YES)

    Operating System and Service Pack

    Windows 8.1 Update 1 (64-bits)

    I have the Intel HD Drivers updated to 8.15.10.2900, the last version available for my PC

    Construct 2 Version ID

    Release 174 Beta (64-bits)

  • I think I have a temporary solution:

    The objects have to be invisible, then after 0.01s I turn them visible.

    But I don't think it's a good idea because it's extra work (1create, 2move, 3set visible) instead of just (1create) the object in the proper place.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Closing as not a bug. Firstly you shouldn't try to set the canvas size yourself - letterbox scale mode handles that automatically. Secondly you are mixing up WindowWidth and WindowHeight with the viewport. They are different. You probably want to use the ViewportLeft/Right/Top/Bottom expressions instead.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)