Project

General

Profile

Actions

Bug #141

open

Ordering the Screen layers are not working now

Added by Giovanni Cardona over 4 years ago. Updated about 4 years ago.

Status:
Feedback
Priority:
Normal
Target version:
Start date:
02/06/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

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

PREAOZSCREENLAYERS.mov (3.98 MB) PREAOZSCREENLAYERS.mov Example on AMOS2 (before AOZ) Giovanni Cardona, 02/06/2020 04:56 PM
AOZSCREENLAYERS2.mov (3.8 MB) AOZSCREENLAYERS2.mov Example on AOZ Giovanni Cardona, 02/06/2020 04:59 PM
screenlayers.zip (24.4 KB) screenlayers.zip Demo with AMOS2 on Mac Giovanni Cardona, 02/24/2020 02:16 AM
screenlayersAOZ.zip (21.1 KB) screenlayersAOZ.zip Demo with AOZ 0.95 Giovanni Cardona, 02/24/2020 02:16 AM
Actions #1

Updated by Giovanni Cardona over 4 years ago

Sorry I selected this is an issue of 0.9.5, I meant to select 0.9.4 from the list.

Actions #2

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... ;)

Actions #3

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

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.

Actions #5

Updated by Brian Flanagan about 4 years ago

  • Affected version changed from 0.9.5 to 0.9.4

Changed affected version per Giovanni Cardona's note.

Actions #6

Updated by Brian Flanagan about 4 years ago

Apparently, this is worse now, since screenlayersAOZ.zip doesn't work AT ALL in 0.9.9.3 Test 2.

Actions

Also available in: Atom PDF