English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 28 April 2020, 23:33   #1
AF2013
Registered User
 
Join Date: Apr 2013
Location: .
Posts: 250
Question Z Ordering?

I am stuck on Z Ordering. Let just say you got Airplane and Island.

Island at the bottom where the Airplane is top.

When come running the program, Island is top of the Plane. I try to plane Bob Sprites on top of Island Bob but for reason, Island Bob sprites is top of the airplane bob.

How do you do Z order in Amos?
AF2013 is offline  
Old 28 April 2020, 23:58   #2
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,409
So, I haven't done AMOS programming in years, but my gut feeling is it works the same as in most languages: draw the Bobs in the correct order manually. Meaning: if you want the Island to be behind the Airplane, draw the Island first and then the Airplane. And vice versa if you want to reverse the priority.

This changes a bit if you are using hardware Sprites for either of the two (which isn't very clear from your text). Normally hardware Sprites will be on top of all other things in AMOS. This may or may not be a setting you can change, I can't remember after all these years.
roondar is offline  
Old 29 April 2020, 00:40   #3
AF2013
Registered User
 
Join Date: Apr 2013
Location: .
Posts: 250
Thanks Roondar

It called Bob Priority where you sort the order which one to draw first

Another things I have learn is make sure that Iff image and all the bob image in same palette otherwise it going mess the palette it up which what I have done before!
AF2013 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gotek/Selecter.adf - List Ordering ADz support.Apps 6 08 October 2014 11:00
FastATA 1200 MK-IV Available For Pre-Ordering amigakit.com News 46 29 October 2011 22:22
Some questions about blitting and ordering of drawing neoman Coders. General 23 29 October 2010 18:03
Indivision ECS Pre-Ordering starts! amigakit.com News 26 29 August 2009 22:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:37.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07422 seconds with 13 queries