Retro Lord #1 Posted January 26, 2015 I find it hard to get a grasp of pfscroll. I can get the playfield to jerk about but that's it. How can I make it scroll up or down properly? if joy0up then pfscroll up if joy0down then pfscroll down if playfieldpos <> 8 then goto __Skip_Draw temp5 = rand : temp6 = rand/2 if temp5 > temp6 then var44 = 0 : var45 = 0 : var46 = 0 : var47 = 0 : goto __Skip_Draw var44 = rand : var45 = rand : var46 = rand : var47 = rand __Skip_Draw Quote Share this post Link to post Share on other sites
+Random Terrain #2 Posted January 26, 2015 If you want a constant scroll, try this: _ pfhline 8 5 23 on COLUBK = $C4 COLUPF = $CE __Main_Loop pfscroll down drawscreen goto __Main_Loop Quote Share this post Link to post Share on other sites
Retro Lord #3 Posted February 2, 2015 Hm, okay. But what does the numbers mean? Quote Share this post Link to post Share on other sites
+Random Terrain #4 Posted February 2, 2015 Hm, okay. But what does the numbers mean? Are you talking about the numbers in pfhline? If you go to the index, scroll down to pfhline and click on it, you can learn all about it. If you are talking about the numbers used with COLUBK and COLUPF, you can do the same thing. Go to the index and scroll down to COLUBK and COLUPF and click on them to learn more about them. Quote Share this post Link to post Share on other sites
Retro Lord #5 Posted February 2, 2015 Ah, cool. That cleared it up, thanks! Quote Share this post Link to post Share on other sites
Retro Lord #6 Posted February 3, 2015 I have another question related too pfscroll. (I think) How would I go about if I wanted a racetrack. And I want 3 playfield, one being a straight road, the second being a forked road and the third being something else, and having 1 of them randomly selected and coming in after the current playfield? Quote Share this post Link to post Share on other sites