Bug #141
openOrdering the Screen layers are not working now
0%
Description
Hello Wizards;
I uploaded to AOZ a screen demo I was working on a Pre-AOZ engine, and there’s something wrong now with the manipulation of screen layers. It seems like it is inverted and jumping a number.
Can’t precisely explain what is happening so I made two screen recordings to demonstrate the issue.
The culprit code is a loop that move screen 1 back and forth between layers.
screen 1 : 'scale and move up ball between screens
Bob Scale 1,1/lyball,1/lyball
Bob 1,(mscreenHalfx-bobhalfsize),(mscreenHalfy-bobhalfsize)-(lyball*bobquartsize)+bobquartsize,1
're-arrange screen layers to move ball between layers
for ly=2 to 4
Screen to back ly
if lyball=ly
Screen to back 1
end if
next ly
I do a loop before this one, that position the screens in order and move it using Screen Display commands.
(Sorry for the sluggish screen recording)
Files
Updated by Giovanni Cardona almost 5 years ago
Sorry I selected this is an issue of 0.9.5, I meant to select 0.9.4 from the list.
Updated by Francois Lionet over 4 years ago
- Status changed from New to Feedback
- Assignee set to Francois Lionet
- Target version set to 0.9.5
Please provide me the complete code + graphics (or .AMOS)... I need to be in the same situation and would spend 1/2 hour trying to recreate your example... ;)
Updated by Anonymous over 4 years ago
I'm trying to upload de zip files but it doesn't accept the password I used to create the account :(
Updated by Giovanni Cardona over 4 years ago
- File screenlayersAOZ.zip screenlayersAOZ.zip added
- File screenlayers.zip screenlayers.zip added
Hello. I uploaded the zip files from another account. Sorry for the lack of examples before, I have now a dedicated Windows 10 virtual machine to play with this (I use mac).
I hope you still can run previous AMOS2 projects and notice that the ordering of the screens seems to be shifted.
Updated by Brian Flanagan over 4 years ago
- Affected version changed from 0.9.5 to 0.9.4
Changed affected version per Giovanni Cardona's note.
Updated by Brian Flanagan over 4 years ago
Apparently, this is worse now, since screenlayersAOZ.zip doesn't work AT ALL in 0.9.9.3 Test 2.