-----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.
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
Apr 1, 2001 1:59 pm
... So why not use bitmap BG for rotation/scaling, instead of tiles? Cheers A -- _ _ _| _ _ _| _ * _ _ , (_|| )(_|(...
Andrew Davie
adavie@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
Apr 2, 2001 8:43 am
Hi, ... GBC or GBA? Greetz, Collin...
Collin van Ginkel
collin@...
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@...
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@...
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@...
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@...
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...
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@...
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...