| |
Parody
Registered: Jul 2013 Posts: 7 |
Leftmost sprite position and opening borders
I just noticed that x=0 for a sprite doesn't cover the "start" of the left side border, Is there any way to achieve this? |
|
... 37 posts hidden. Click here to view all posts.... |
| |
Mixer
Registered: Apr 2008 Posts: 452 |
Chuck Norris was playing Exploding Fist, once his character kicked so hard that the borders opened and have been open for him ever since. |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
Hey Mixer, while you're here! Your sid from 3rd Stone from the Sun is one of the best C64 musics ever. Just so you know. |
| |
Cresh
Registered: Jan 2004 Posts: 354 |
Cannot agree more. But originally it is from Tour De Force |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
@Oswald: There are 63 cycles on a raster line, thus 63*8 = 504 pixels available, not 512. It's easy as that. Somewhere it has to wrap. |
| |
WVL
Registered: Mar 2002 Posts: 902 |
Never did anything with ntsc machines, but will there be a gap with these machines (since they have 65 cycles) where you can't put any sprites? |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
Quote: @Oswald: There are 63 cycles on a raster line, thus 63*8 = 504 pixels available, not 512. It's easy as that. Somewhere it has to wrap.
thanks, that makes some sense.
tho the inner xcoo should still be 9 bits, right, there can not be a 8.95 bits counter so it wraps at 504 ? :)
or is it just the misalignment, that x =0 is not on the leftmost position...
not trying to be an ass here, just wondering :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
Quote:or is it just the misalignment, that x =0 is not on the leftmost position...
its an arbitrary position that was chosen so when sprite x position is 0, the sprite is hidden behind the left border.
and of course, the counter is 9 bits :) |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
that makes sense again, tho it seems they forgot about x stretched sprites :) |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quoting GroepazQuote:or is it just the misalignment, that x =0 is not on the leftmost position...
its an arbitrary position that was chosen so when sprite x position is 0, the sprite is hidden behind the left border.
and of course, the counter is 9 bits :)
It's not a counter, it's a compare register. If raster x>compare x then shift pixels from shift register. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
of course, raster X is the counter :) |
Previous - 1 | 2 | 3 | 4 | 5 - Next |