X-Git-Url: http://git.shiar.nl/wormy.git/blobdiff_plain/7ec10d8466fbe267a3d0a8fe8fbfaed79adbf07f..ffea7bf228e19e45c18996c09bacf50026e868f0:/example1.z80 diff --git a/example1.z80 b/example1.z80 index 9a2a556..6bf86fe 100644 --- a/example1.z80 +++ b/example1.z80 @@ -52,7 +52,7 @@ .org $F3E3-10 ;$F3E3-[name size] ;^^ <-MUST EQUAL NAME SIZE BELOW!!! If not, Worm will crash! - .db 'w',90 ;wormLevel header (version .90) + .db 'w',91 ;wormLevel header (version .91) .db 10,"Example #1" ;name size (UPDATE .ORG!!!); level name .dw hiscore-single ;leveldata size @@ -70,8 +70,8 @@ levelsdata: ;note: use <.dw 0> if no levels present (empty level will be used). - .db 2,3,4,2 ;max. choosable level+1 for each gametype - .db 2,2,2,2 ;so: 2 = level 1 only; 4 = level 1 to 3 available + .db 1,2,3,1 ;max. choosable level for each gametype + .db 1,1,1,1 ;so: 1 = level 1 only; 3 = level 1 to 3 available ;again .db 0 indicates no levels present. @@ -94,7 +94,7 @@ levelsdata: ; .db 4 ; begin-x ; .db %00 ; direction (%00=right+down, %11=left+up) ; .db 2,7,%00 ;BALL #2: y,x,direction -; .db 0 ;your start direction (0=up,$40=right,$80=down,$C0=left) +; .db 0 ;your start direction (0=down,$40=right,$80=up,$C0=left) ; .db 2 ;your y-position (2=at top) ; .db 63 ;your x-position (63=center) ; ;IN MULTIPLAYER LEVELS also set positions for worm 2-4: @@ -104,6 +104,10 @@ levelsdata: ; ; .db 128,57 ;field size: width (128-255), height (57-255) ; ; screen will SCROLL if size is more than 128,57 +; ;IN CTF LEVELS also set flag-positions: +;(.db 10,117 ) ;flag #1 y-position, x-position +;(.db 46,10 ) ;flag #2 y-pos, x-pos. +; ; .db 2 ;number of lines: ; .db 28,14,100,41 ;LINE #1 coordinates: (x1,y1)-(x2,y2) ; .db 28,41,100,14 ;LINE #2: the same @@ -184,7 +188,6 @@ deathmatch: ;deathmatch levels foodmatch: -ctf: domination: .db 8,5,18,15,0,0 .db $40,30,2,$C0,30,125, $00,2,64,$80,54,64 @@ -209,6 +212,15 @@ race: .db 52,10,74,37 +ctf: + .db 8,5,18,15,0,0 + .db $20,2,2,$A0,54,125, $20,2,7,$A0,54,120 + .db 128,57 + .db 10,117,46,10 + .db 0,0 + + + hiscore: ;space reserved to store hi-scores .dw 0 ;singleplayer hiscore will be saved here .dw 0,0 ;peaworm hiscore for each peaworm-level