-
Notifications
You must be signed in to change notification settings - Fork 0
/
gfxscript
40 lines (31 loc) · 1.29 KB
/
gfxscript
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
;
; Mountain Panic graphics generator for png2bbc
; 20/06/2018
MODE 2
IMAGE RES/TILE.PNG
; Tiles
COLOURS BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE
CREATE-FILE BBCTLE1.BIN FROM-DATA 0 0 16 16 8 DATA-ORDER BLOCK
; The second and third set of tiles change their palette during the
; game, they do this using colour 8 instead of the normal green.
CUSTOM-COLOUR 00ff00 8
CREATE-FILE BBCTLE2.BIN FROM-DATA 0 16 16 16 8 DATA-ORDER BLOCK
CREATE-FILE BBCTLEX.BIN FROM-DATA 0 32 16 16 4 DATA-ORDER BLOCK
; Player sprite has grey for transparency, mapped to 0
; And actual black mapped to colour 15
COLOURS BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE
CUSTOM-COLOUR 404040 0
CUSTOM-COLOUR 000000 15
CREATE-FILE BBCSPRT.BIN FROM-DATA 0 48 16 16 7 DATA-ORDER LINE
; Restore colours
COLOURS BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE
; Enemies
CREATE-FILE BBCALN.BIN FROM-DATA 0 64 16 16 4 DATA-ORDER LINE
CREATE-FILE BBCALN2.BIN FROM-DATA 0 80 16 16 1 DATA-ORDER LINE
CREATE-FILE BBCSHOG.BIN FROM-DATA 64 64 16 16 2 DATA-ORDER LINE
; Item sprites
CREATE-FILE BBCITMS.BIN FROM-DATA 0 128 8 8 7 DATA-ORDER LINE
CREATE-FILE BBCITMS2.BIN FROM-DATA 96 128 8 8 1 DATA-ORDER LINE
; Panels
CREATE-FILE BBCPAN.BIN FROM-DATA 0 96 128 32 1 DATA-ORDER BLOCK
CREATE-FILE BBCPAN2.BIN FROM-DATA 0 160 128 32 1 DATA-ORDER BLOCK