Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:34 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Sprite layer 0

Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4036
Posted: 10:52am 07 Jul 2024
Copy link to clipboard 
Print this post

Probably this is only for @matherp but the answer might prove informative for others.

Hi Peter,

Is there an (as far as I can find undocumented) expectation that the user must show sprites on layer 0 before showing those on layers 1-4, and if you do otherwise "all hell breaks loose" ?

I ask because the source seems to maintain two separate LIFO queues for the order that sprites are shown, one for layer 0 and one for layers 1-4 but at far as I can tell does not have a way of telling the ordering of sprite N (on layer 0) vs sprite M (on layer 1) ?

Best wishes,

Tom
Edited 2024-07-07 20:52 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9110
Posted: 11:32am 07 Jul 2024
Copy link to clipboard 
Print this post

Travelling for the next few days but check appendix in cmm2 manual, it may help explain.
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4036
Posted: 12:03pm 07 Jul 2024
Copy link to clipboard 
Print this post

Hi Peter,

I hope your trip goes well.

That Appendix is the reference I'm using, but picking through the source I think that either I've got lost along the way or that Appendix is missing the important caveat that sprites shown on layer 0 must have been shown before sprites shown on any other layer.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024