Making scrollable backgrounds: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (add graphics code category) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Scrolling backgrounds are formed using a set of sprites positioned directly next to each other. | Scrolling backgrounds are formed using a set of [[sprites]] positioned directly next to each other. A sprite is only 16 pixels wide, so many are needed to fill the screen horizontally. The [[Sticky bit]] is often used to make this simpler. A set of 21 chained sprites can be used to make a single full-screen scrolling background layer. | ||
==Updating VRAM== | ==Updating VRAM== | ||
(todo) | |||
todo | |||
==Demos== | ==Demos== | ||
Interactive demos with source can be found [http://smkdan.eludevisibility.org/neo/scroll_02.zip here]. | |||
(todo: clean it up, make scroll3, finish documenting it here) | |||
todo: clean it up, make scroll3, finish documenting it here | |||
[[Category:Code]] | [[Category:Code]] | ||
[[Category:Graphics Code]] |
Latest revision as of 04:47, 26 November 2015
Scrolling backgrounds are formed using a set of sprites positioned directly next to each other. A sprite is only 16 pixels wide, so many are needed to fill the screen horizontally. The Sticky bit is often used to make this simpler. A set of 21 chained sprites can be used to make a single full-screen scrolling background layer.
Updating VRAM
(todo)
Demos
Interactive demos with source can be found here.
(todo: clean it up, make scroll3, finish documenting it here)