User Tools

Site Tools


base:smooth_linecrunch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
base:smooth_linecrunch [2017-03-30 14:03]
karmic syntax-highlighting
base:smooth_linecrunch [2017-12-13 11:36] (current)
shrydar
Line 1: Line 1:
 ====== Smooth Linecrunching ====== ====== Smooth Linecrunching ======
 +
 +<​sub>​(note:​ this article has a slight bug in that each crunched line scrolls the rest of the screen up by 7 pixels, not 8, so the example code actually scrolls the screen up by 7/8ths of the value read out of the sine table. Still works well enough for demonstration purposes, but something to keep in mind if you want to use it as the starting point for an AGSP routine or anything else that requires precise positioning).</​sub>​
 +
  
 Basically linecrunching is a VIC-trick that allows you to easily move graphics vertically on the screen. It is especially useful for bitmaps, where it would take far too much time to move it by copying. Basically linecrunching is a VIC-trick that allows you to easily move graphics vertically on the screen. It is especially useful for bitmaps, where it would take far too much time to move it by copying.
base/smooth_linecrunch.txt ยท Last modified: 2017-12-13 11:36 by shrydar