git.shiar.nl
/
wormy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
worm 0.91.0516: send game data over link (wip)
[wormy.git]
/
example1.z80
diff --git
a/example1.z80
b/example1.z80
index 9a2a5565bf40d46b38982e867c0e9d0ffb71a7fb..6bf86fefdbe29161c4382711dfc9d5852e3aa615 100644
(file)
--- 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!
.org $F3E3-10 ;$F3E3-[name size]
;^^ <-MUST EQUAL NAME SIZE BELOW!!! If not, Worm will crash!
- .db 'w',9
0 ;wormLevel header (version .90
)
+ .db 'w',9
1 ;wormLevel header (version .91
)
.db 10,"Example #1" ;name size (UPDATE .ORG!!!); level name
.dw hiscore-single ;leveldata size
.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).
;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.
;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 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:
; .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
;
; .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
; .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:
foodmatch:
-ctf:
domination:
.db 8,5,18,15,0,0
.db $40,30,2,$C0,30,125, $00,2,64,$80,54,64
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
.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
hiscore: ;space reserved to store hi-scores
.dw 0 ;singleplayer hiscore will be saved here
.dw 0,0 ;peaworm hiscore for each peaworm-level