Transcription of INTRODUCTION TO SPRITES - commodore.ca
{{id}} {{{paragraph}}}
INTRODUCTIONTOSPRITESI npreviouschaptersdealingwithgraphics, ,becauseofthelimitationofusinggraphicsym bols, ;youcantellifoneobjectcollideswithanothe r;theycanbemadetogoinfrontandbehindanoth er;andtheycanbeeasilyex-pandedinsize, , 'snotasdifficultasitsounds, ' "keepingtrackofcharactersandgraphics,cre atingcolors, "ON/OFF" "on"or"off".We' 'smainmemorytostoreinfor-mation(data) , ,theprocesswillbeverystraightforward,and you' ' ,youcanuseyourspritewithanymode,high-res olution,low-resolution, ,64,32,16,8,4,2,1,threetimes(asshown) ' youthinkofallthesquaresyoufilledinas"on" thensubstitutea1 'sthataren'tfilledin,they're"off" , ,thefirst8 squaresareblank,or0, ,lookslikethis(againa1indicatesadot,0isa space):127 Thethirdseriesonthefirstrowalsocontainsb lanks,soit,too, ,thedataforthefirstlineis:DATA0,127,069~ --123456789~10""1112i31415161718192021 SERIESISERIESISERIES1!
In addition to accessing many of the picture making locations we will also be using some of the Commodore 64's main memory to store infor-mation (data) that defines the sprites.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}