Project

General

Profile

Actions

Bug #141

open

Ordering the Screen layers are not working now

Added by Giovanni Cardona almost 5 years ago. Updated over 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

Also available in: Atom PDF