Started by zmaster18, August 20, 2015, 01:47:15 pm
Quote from: UglyJoe on August 22, 2015, 05:46:42 amIt has to be the scroll register. I don't know why you wouldn't be able to manipulate it.
Quote from: UglyJoe on August 22, 2015, 05:46:42 amYou don't need two screens to do smooth vertical scrolling if you hide the topmost and bottom-most rows of tiles (which are often cut-off by TVs anyway). You move the first screen down smoothly for a single row, then redefine your name tables so that the every row shifts up by one and the top row gets wrapped around to the bottom, and then you reset your scroll register so it's at the very top again. RPGs do this for world maps often.
10 A=020 FOR I=0 TO 10030 A=A+140 POKE &H9D,A50 POKE &H69,A60 PAUSE70 NEXT
10 A=020 A=A+140 POKE &HE4,A50 PAUSE60 GOTO 20
10 A=020 A=A+130 POKE &HE440 PAUSE:LOCATE 10,10:PRINT A50 GOTO 20
10 CLS20 FOR I=1 TO 3030 RX=RND(27):RY=RND(24)40 IF SCR$(RX,RY)<>" " GOTO 3050 LOCATE RX,RY:PRINT CHR$(205)60 NEXT150 A=0200 REM PAUSE 1250 POKE &H2005,0300 POKE &H2005,A500 A=A+1600 IF A>239 THEN A=0650 GOTO 200
Quote from: zmaster18 on August 23, 2015, 09:27:11 amI just tried this in V3 and it works well. Very impressive. So is horizontal scrolling possible? I noticed that when I REM line 250, it scrolls diagonally.
Quote from: UglyJoe on August 23, 2015, 09:08:51 amI got around this by poking the scroll registers directly.