| |
Axel Account closed
Registered: Apr 2006 Posts: 42 |
Tech-tech effect
I can't find information about this topic
I am curious how to code classic tech-tech effect?
Sometching whitch will look like this
http://www.youtube.com/watch?v=MmQQwkKVSik |
|
| |
Stryyker
Registered: Dec 2001 Posts: 468 |
A common method is based on FLI in charmode and also setting $d016 |
| |
Codey
Registered: Oct 2005 Posts: 79 |
plot the rough x-pos of each row in your logo (xval and 8 iirc).
control the fine x-pos by changing $d016 every scanline. the $d016 val is based off the offset between the actual value and where your chars are plotted.
with the right sin table, the logo/pic can be smoothly stretched many chars across the screen.
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
or go the cheap route - use sprites for the logo and change x position every rasterline (or every second....or something) |
| |
plagueis Account closed
Registered: Dec 2007 Posts: 48 |
Axel,
In one of the Attitude magazines there is an article by Puterman which does an excellent job explaining how to code a tech-tech. It could be Domination or Vandalism News, but I'm pretty sure it was wone of the Attitudes...
In C= Hacking mag number 7 there is also an excellent article by Pasi Ojala:
http://codebase64.org/doku.php?id=magazines:chacking7#tech-tech..
I'd suggest having plenty of experience with doing timed color bars or other raster effects first.
-DPL |
| |
Axel Account closed
Registered: Apr 2006 Posts: 42 |
Thanks for help, very good article.
I have another question, can I have logo Techtech and DYCP at the same time ?
|
| |
Skate
Registered: Jul 2003 Posts: 494 |
Quote: Thanks for help, very good article.
I have another question, can I have logo Techtech and DYCP at the same time ?
answer is basicly yes. but...
tech-tech effect needs (almost) all cycles from the logo area. taller logo means more cycles to loose.
dycp effect doesn't require $d012 timing in most cases (specially if it fits in a single character set block) but it sure requires lots of cycles.
dycp is easy to optimize but if your logo is too tall and your dycp routine eats too much cycles, you may have timing problems.
if your question is "is dycp over tech-tech possible?", it is also possible but one of the effects should be rendered on sprites. using tech-tech on sprites is always easier but also the opposite can be done by using a few known tricks. |