| |
Monte Carlos
Registered: Jun 2004 Posts: 359 |
Three pixel period pattern on upper/lower border
Any idea, how to create a hires pattern like this:
110110110110110110110110110110110110...
on the upper/lower border over the full width. Every trick allowed.
Btw: $3fff trick does not work, because then the pattern has a period of eight instead of three. Sprites cover only a width of 192 pixels!
Thank you Monte!
|
|
... 16 posts hidden. Click here to view all posts.... |
| |
Mace
Registered: May 2002 Posts: 1799 |
You are now asking to think about a solution you have already chosen: a pattern in the border.
There might be another solution for your problem.
What exactly is the reason you want this pattern in the first place?
|
| |
Monte Carlos
Registered: Jun 2004 Posts: 359 |
The pattern mentioned above is part of a two color hires bitmap i want to extend into the upper and lower border.
I was experimenting with sprites over ghostbyte pattern and
didn't find a way to create the pixel combination 1101101100..., because of the three pixel period. I thought, maybe someone comes to another result and finds away to create this pixel combination.
Important is, that the pattern should not be made of double, but single pixels.
Monte
|
| |
Skate
Registered: Jul 2003 Posts: 494 |
@Monte Carlos: I hate to use that trick but I think it's your last chance.
"It's impossible to do something like that. Even Crossbow cannot do it."
;) |
| |
Jetboy
Registered: Jul 2006 Posts: 337 |
Interesting puzzle! I need to go to the tolet so i mihght come up with idea when i get back... |
| |
Ninja
Registered: Jan 2002 Posts: 411 |
Tuffi: The 65816 (SCPU) can do this as well. And a C128, too, IIRC. |
| |
Skate
Registered: Jul 2003 Posts: 494 |
@Oswald: consider $3fff at ZP. What is your solution for this? Will you be able to change $3fff (at ZP) each cycle? I don't think so. So, what kind of sprite + $3fff combination you planned? |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
yeah, I was hoping no1 will notice I have made a mistake by that statement. I was still sleepy, so no idea how I thought it would work :D |
| |
WVL
Registered: Mar 2002 Posts: 902 |
I think you should forget about this, and modify the picture instead :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
i think skates proposal will work :) |
| |
assiduous Account closed
Registered: Jun 2007 Posts: 343 |
Quote: i think skates proposal will work :)
it wont. there are both 0->1 and 1->0 bit transitions so you need a MC sprite to cover the ghost byte pattern correctly and for this kind of transition pattern(0->1 between 1->0 and 1->1 & 1->0 between 0>1 and 1->1) MC sprites are out of question:
11011011->
01101101->
10110110->
11011011->
...
not even Crossbow will do it unless he can display something else than the ghost byte and sprites in the vertical borders. |
Previous - 1 | 2 | 3 - Next |