Level concept

This commit is contained in:
Pecusx
2024-12-02 15:53:48 +01:00
parent f5c5ac4736
commit 5590b94179
+22
View File
@@ -1101,6 +1101,28 @@ randomStart
sta dyTableL,x sta dyTableL,x
rts rts
;-------------------------------------------------- ;--------------------------------------------------
Level000_data
.byte "100",155 ; number of bricks in ATASCII
.byte "1",155 ; brick size in pixels
; 0 1 2 3 4 5 6 7
; 01234567890123456789012345678901234567890123456789012345678901234567890123456789
.byte 155
.byte " #### ## ## ####### ###### ## ##",155
.byte " ###### ## ## ## ## ## ## ##",155
.byte " ## ## ## ## ##### ###### ####",155
.byte " ######## #### ## ## ## ##",155
.byte " ## ## ## ####### ## ## ##",155
.byte 155
.byte " ##### ###### ####### #### ## ## ###### ## ## ########",155
.byte " ## ## ## ## ## ###### ## ## ## ## ## ## ##",155
.byte " ##### ###### ##### ## ## #### ## ## ## ## ##",155
.byte " ## ## ## ## ## ######## ## ## ## ## ## ## ##",155
.byte " ###### ## ## ####### ## ## ## ## ###### ###### ## ",155
.byte 155
.byte 0
LevelFileBuff
.ds (screenWidth*maxLines)+20 ; Buffer for data from the level file
;--------------------------------------------------
BricksInLevel BricksInLevel
.word 0 .word 0
lineAdrL lineAdrL