Otherwise, how will you know which of the two objects of the same name it will pick?
In game, the player can switch between portrait and landscape any time (e.g. by resizing browser, or turning phone/ipad).
I have one event sheet attached to both layouts.
It mostly works, but there are some strange effects.
Sprite A and Sprite B were on layout1, and were copied to Layout2.
In the event sheet, I create new sprite A object, and place it on the layout. If I resize Sprite A in layout 1 before hand, the new size is not reflected when playing in either layout1 (portrait) nor layout2 (landscape) - its in limbo.
However, when I resixe Sprite A copy in layout 2, the new size shows up when playing in both portrait and landscape mode. This is odd.
However, if I resize sprite B, which was sitting on the layout (not created dynamically) 1, it only affects layout one, and the same for layout 2.
Other strange effects are that I have a version, status and FPS text field which are all updated by the single event sheet each tick. However, only two of the three text fields work - I cant get the version to work any more. Even though I am updating it, its not getting updated in either layout.