Objects are created in wrong positions

Bugs will be moved here once resolved.

Post » Tue Jun 17, 2014 5:18 pm

Problem Description
The objects are created in a wrong position, after that they move to the correct one

Attach a Capx
https://www.dropbox.com/s/t3tz15cas9qnydc/Example%20Error.capx

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 "Start" button
  • Step the debug

Steps to Reproduce Bug (VIDEO)

Observed Result
The objects are created in a wrong position, then are moved to the correct one
    This is the #1, after this should go #3, but #2 is showed before #3
    Image

    This is the #2. This should not been showed
    Image

    This is the #3, after this should go #5, but #4 is showed before #5
    Image

    This is the #4. This should not been showed
    Image

    This is the #5. This is the correct one
    Image

It should be:
#1 then #3
#3 then #5

But instead it is:
#1 then #2 then #3
#3 then #4 then #5

Expected Result
I expect that the objects are created in the correct position from the beginning

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (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 173 (64-bits)
B
93
S
31
G
11
Posts: 654
Reputation: 11,832

Post » Wed Jun 25, 2014 1:42 pm

Closing as not a bug, it looks like your calculations are incorrect. A common mistake is to use WindowWidth and WindowHeight when really you mean to use the viewport dimensions (e.g. ViewportRight("layer") - ViewportLeft("layer") instead of WindowWidth). If you really think there is a bug please submit a new report with as few events and objects as possible - this should be demonstrable with a single event/object if there really is an issue.
Scirra Founder
B
402
S
238
G
89
Posts: 24,613
Reputation: 195,993


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest