Scanline effects: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Not a raster effect) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[File:Sengoku2persp.png|frame|[[Sengoku 2]] changes the shrinking and the position of a scrolling sprite block in its intro to create a mirror and perspective effect.]] | |||
Scanline effects are special tricks using the [[timer interrupt]] to distort [[sprites]] by updating their coordinates or shrink values mid-screen. | |||
These effects can be very CPU consuming as they can be triggered at tight intervals during active display. Consequently, they may have to use tables of precomputed values (constants, or calculated during the VBlank) to be applied fast enough. | |||
[[Neo Turf Masters]] and [[Riding Hero]] heavily rely on this effect to render the playing field. | |||
[[Category:Code]] | [[Category:Code]] | ||
[[Category:Video system]] | [[Category:Video system]] |
Latest revision as of 19:12, 5 March 2018
Scanline effects are special tricks using the timer interrupt to distort sprites by updating their coordinates or shrink values mid-screen.
These effects can be very CPU consuming as they can be triggered at tight intervals during active display. Consequently, they may have to use tables of precomputed values (constants, or calculated during the VBlank) to be applied fast enough.
Neo Turf Masters and Riding Hero heavily rely on this effect to render the playing field.