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

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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
Top Left Sprite Oam Problem.   Message List  
Reply | Forward Message #2141 of 15019 |
RE: [gbadev] Turning sprites off

aren't those 2 bits for semi-transparency?
 
D.F.
 
-----Original Message-----
From: Tom Prosser [mailto:tom@...]
Sent: Sunday, April 01, 2001 6:15 AM
To: gbadev@yahoogroups.com
Subject: Re: [gbadev] Turning sprites off

 
 
Hmmm.  Interesting... they don't tell you about that in the manual.
 
 
Tom Prosser
Director
Escape Software Ltd.
+44 (0)20 8424 2075
www.escapesoftware.co.uk
----- Original Message -----
From: Alex Amsel
Sent: Sunday, April 01, 2001 1:50 PM
Subject: [gbadev] Turning sprites off

All the answers given a sorta ok but I don't know if they'll cause
any loss of available dma time etc.

AFAIK you put u32 OAM_OBJ_OFF (0x00000200) in the sprite
regs 0/1...

Searching through include files is handy sometimes ;)

'Course, if I'm wrong then let me know, but it seems to work here :)



Alex Amsel (#irc sillytuna)
Tuna Technologies Ltd (Sheffield)
PC/Console Game and Tools Development
Tel: +44 (0)114 266 2211  Mob: +44(0)7771 524 632


unsubscribe: gbadev-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Sun Apr 1, 2001 11:25 pm

darkfader@...
Send Email Send Email

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

Hello All, I am having a problem with OAM. I get a random 8*8 sprite in the top left of the display. Anyone have any experience of this or better, got a...
James W
me@...
Send Email
Apr 1, 2001
11:38 am

... You probably haven't turned unused sprites off. Usefully I don't have the value here for turning them off but you should be able to dig it out of some doc...
Alex Amsel
gba@...
Send Email
Apr 1, 2001
12:06 pm

Simply set the x,y coords for unused sprites to offscreen coords, or make sure your first char in sprite ram is zero filled so they won't be visible. Rob. ... ...
Robert Walkley
Robw@...
Send Email
Apr 1, 2001
12:11 pm

I've got a similar thing happening and I haven't bothered to look into why yet, but I strongly suspect that if you clear the OAM by setting it all to zero,...
Tom Prosser
tom@...
Send Email
Apr 1, 2001
12:16 pm

It's not that difficult - surely! I'd suggest setting the Y position >= 160 and < (- sprite-height), so you don't run into any sprites-per-line limitations....
Andrew Davie
adavie@...
Send Email
Apr 1, 2001
12:19 pm

All the answers given a sorta ok but I don't know if they'll cause any loss of available dma time etc. AFAIK you put u32 OAM_OBJ_OFF (0x00000200) in the sprite...
Alex Amsel
gba@...
Send Email
Apr 1, 2001
12:49 pm

Hmmm. Interesting... they don't tell you about that in the manual. Tom Prosser Director Escape Software Ltd. +44 (0)20 8424 2075 www.escapesoftware.co.uk ... ...
Tom Prosser
tom@...
Send Email
Apr 1, 2001
1:16 pm

aren't those 2 bits for semi-transparency? D.F. ... From: Tom Prosser [mailto:tom@...] Sent: Sunday, April 01, 2001 6:15 AM To:...
Rafael Vuijk (aka Dar...
darkfader@...
Send Email
Apr 1, 2001
1:25 pm

No, they're for rotation/scaling, but it looks like if you set rotation double size mode without rotation/scaling switched on, it turns the sprite off. But N...
Tom Prosser
tom@...
Send Email
Apr 1, 2001
1:37 pm

... Amazing thing to miss in the manual really - I wondered if there was a reason for it but it seems to work (so far). As for working on a sunday, well after...
Alex Amsel
gba@...
Send Email
Apr 1, 2001
1:59 pm

... So why not use bitmap BG for rotation/scaling, instead of tiles? Cheers A -- _ _ _| _ _ _| _ * _ _ , (_|| )(_|(...
Andrew Davie
adavie@...
Send Email
Apr 1, 2001
2:04 pm

... That WAS good. Been on before though, and i think you can download it as an mpg from www.zxspectrum.com Seemed a bit rushed towards the end, where were...
Craig
craig@...
Send Email
Apr 1, 2001
2:06 pm

That's what I thought - glossed over a lot of stuff, no mention of games like Virtua Racing, Ridge Racer etc. which marked the transition from sprites to...
Tom Prosser
tom@...
Send Email
Apr 1, 2001
2:39 pm

Channel4 isn't reallt the best source for tech programs... (anyone see their Hacker specials? *shudder*) ==== The Infamous Mark 'Nurgle' Collins Lead Author -...
Mark Collins
me@...
Send Email
Apr 1, 2001
2:41 pm

... My engine splits the screen in two (could be more) parts, by changing the char base register in a VCounter interrupt. That way I get 256 tiles in the upper...
Jimmy Mårdell
yarin@...
Send Email
Apr 1, 2001
7:42 pm

... I'll be doing something similar but for different reasons. With rotations and large scrollable maps involved I'm not sure if the above will work for a...
Alex Amsel
gba@...
Send Email
Apr 1, 2001
9:04 pm

... Yeah, sure, I do a single view using all 160 scanlines. Each visible area is treated as two totally separate entities (since they can't share tiles anyway...
Jimmy Mårdell
yarin@...
Send Email
Apr 1, 2001
9:42 pm

... It can be done - I think it's mostly useful for 'changing scenes' within the same map. ... That'll be the useful thing then :) My views are both long and...
Alex Amsel
gba@...
Send Email
Apr 2, 2001
8:43 am

Hi, ... GBC or GBA? Greetz, Collin...
Collin van Ginkel
collin@...
Send Email
Apr 2, 2001
10:13 am

... from our experience we can say that original games have very very low chances to get picked up by a publisher. this is especially true when you didn't...
Manfred Linzner
linzner@...
Send Email
Apr 2, 2001
10:16 am

Hi, ... Or you could get lucky and find a publisher like Capcom :) Too bad not everyone has this kind of luck. It's really a shame, as a lot of original games...
Collin van Ginkel
collin@...
Send Email
Apr 2, 2001
10:19 am

... yep. like them :) ... both type of games can be cool. imho license games are often much better then cheap original games as normally the developer teams...
Manfred Linzner
linzner@...
Send Email
Apr 2, 2001
10:25 am

Hi, ... Don't forget the time you have to complete a licensed game, it's much shorter in most cases. I just wish there was more of a balance between the two.. ...
Collin van Ginkel
collin@...
Send Email
Apr 2, 2001
10:29 am

Of course they tell you in the manual. Anyone with eyes will notice the description of the OAM, and also notice buried in the includes the section : #define...
Niall McCaffrey
niall.mccaffrey@...
Send Email
Apr 2, 2001
8:22 am

You're drunk again, aren't you? ;) Tom Prosser Director Escape Software Ltd. +44 (0)20 8424 2075 www.escapesoftware.co.uk ... From: Niall McCaffrey To:...
Tom Prosser
tom@...
Send Email
Apr 2, 2001
9:40 am

Hello James, Sunday, April 01, 2001, 1:34:36 PM, you wrote: JW> Hello All, JW> I am having a problem with OAM. JW> I get a random 8*8 sprite in the top left of...
groepaz
groepaz@...
Send Email
Apr 1, 2001
1:05 pm

Okay it's not that big a deal, I just meant it's not as simple as doing "DmaClear(3,0,OAM,OAM_SIZE,32);" :) But actually I suppose you can just change the...
Tom Prosser
tom@...
Send Email
Apr 1, 2001
1:14 pm
Advanced

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