-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmissile_5.bas
46 lines (39 loc) · 1.22 KB
/
missile_5.bas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
rem Základy Batari BASICu
rem
rem Použito v článcích:
rem
rem Tvorba her pro Atari 2600 v Batari BASICu: úkol pro hardcode programátory
rem https://www.root.cz/clanky/tvorba-her-pro-atari-2600-v-batari-basicu-ukol-pro-hardcode-programatory/
rem
rem Tvorba her pro Atari 2600 v Batari BASICu: ovládání čipu TIA
rem https://www.root.cz/clanky/tvorba-her-pro-atari-2600-v-batari-basicu-ovladani-cipu-tia/
rem
rem Tvorba her pro Atari 2600 v Batari BASICu: standardní kernel a zvuky
rem https://www.root.cz/clanky/tvorba-her-pro-atari-2600-v-batari-basicu-standardni-kernel-a-zvuky/
playfield:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
................................
................................
...XXXX....XXX.....XXX...XXXXX..
...X...X..X...X...X...X....X....
...XXXX...X...X...X...X....X....
...X.X....X...X...X...X....X....
...X..X...X...X...X...X....X....
...X...X...XXX.....XXX.....X....
................................
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
end
missile0x = 80-20
missile0y = 20
missile0height = 8
missile1x = 80+20
missile1y = 20
missile1height = 8
mainloop
NUSIZ0 = $0
NUSIZ1 = $0
COLUPF = 14
COLUP0 = $1E
COLUP1 = $4E
drawscreen
goto mainloop