Search results
Never got it to work -> sprites and walls
Score: 129.88 %,
Type: Forum topic , Comments: 18 comments
an Maybe you could use an array?
For example: 1 for walls and 0 for where the character can walk.
After reading the cursorkeys or joystick check if there is a 1 or a 0 in the array in the direction ... a 1 for something inpenetrable, and a 0 for something that you can walk through, a 2 for a ladder, 3 ...
Algorithm for Scroll
Score: 133.24 %,
Type: Forum topic , Comments: 20 comments
for Scroll Up, could be coded in this way:
ld hl,buf + 32
ld de,buf + 0
ld bc,736 ... and the names table is filled 3 times with 0-255.
You see the problem in vertical scrolling, because ...
