It is currently Sat Dec 16, 2017 2:19 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Jan 27, 2005 7:51 am 
Offline
User avatar

Joined: Sat Jan 22, 2005 8:51 am
Posts: 427
Location: Chicago, IL
What is the proper way to handle background/sprite clipping? Draw nothing (i.e. video card outputs black pixel) or palette[0]? I'm using the former method, but I've seen it handled both ways.

Thanks,
James


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 8:15 am 
Offline
User avatar

Joined: Tue Jan 25, 2005 3:51 pm
Posts: 14
The 8 pixels on the side of the screen? I'm under the impression that the real NES draws the background color instead of just black. But I have absolutely nothing to back that up :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 12:39 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19348
Location: NE Indiana, USA (NTSC)
Drilian wrote:
The 8 pixels on the side of the screen? I'm under the impression that the real NES draws the background color instead of just black. But I have absolutely nothing to back that up :)

Turn on Super Mario Bros. 3 and look at the left side of the screen. It's sky blue.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 1:21 pm 
Offline
User avatar

Joined: Tue Jan 25, 2005 3:51 pm
Posts: 14
Okay, good, I wasn't giving out incorrect info :)

What I meant was, I don't actually have an NES. Sad, but true. All I have is a laptop, a Playstation controller with a USB adapter, an SVideo cable, and an emulator currently in development.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 1:32 pm 
Offline
User avatar

Joined: Sat Jan 22, 2005 8:51 am
Posts: 427
Location: Chicago, IL
>>Turn on Super Mario Bros. 3 and look at the left side of the screen

Hmm... I think I'll leave my system in place. I think a strip of black looks better than a strip of sky blue (esp. in full screen mode).

While we're on the subject -- would sprite 0 hit detection work if sprite 0 was in the clipped region? My emulator draws the background and sprites even if they're clipped. Does a real NES?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group