Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Sprite priorites   Message List  
Reply | Forward Message #12604 of 15019 |
I have a very simple test program, that has 2 backgrounds and two sprites
but it does not work on any hardware, but runs fine on vba/ba

the setup is simple, one bg(0) priority 3, bg(1) prio 2
the sprites (OAM entryies 0,1) are such that 0 is a charactor, and 1 is the
outline.
initially oam[0] prio is 3 and oam[1] is 2;

depending on if my code thinks the charactor is "obscured" it changes the
priority of oam[0]
to be either 3 or 2, thus allowing bg(1) to either under or over the char,
but at all times the outline of the char is visible.

this works fine on all the emulators I've tried, but up the hardware, bg(1)
is always under the charactor.

I did see the same problem occur some times in my "torn desktop" demo and in
both it only occurs on
real hardware, is there more to obj/bg priorites than meet the eye ?

Mike.





Tue Sep 3, 2002 7:26 pm

mike.wynn@...
Send Email Send Email

Forward
Message #12604 of 15019 |
Expand Messages Author Sort by Date

I have a very simple test program, that has 2 backgrounds and two sprites but it does not work on any hardware, but runs fine on vba/ba the setup is simple,...
Mike Wynn
mike.wynn@...
Send Email
Sep 3, 2002
8:01 pm

... There's a situation where you need to sort your sprites according to their priorities IE pri 0 then pri 1 etc. You've just encountered it. Least I'd assume...
lists@...
yah_kriss
Offline Send Email
Sep 3, 2002
10:06 pm

... sprites ... 1 is the ... changes the ... the char, ... So if I understand this correctly, the order of things is like this (priorities in parenthesis): Top...
quirky_2k1
Offline Send Email
Sep 4, 2002
8:11 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help