home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
NARSIL
/
UNREGGED
/
N43.MSA
/
DATA43.ZIP
/
SKAMPY
/
LEVELS
/
LEVEL.009
< prev
next >
Wrap
Text File
|
1990-01-01
|
3KB
|
165 lines
\ ************************
\ ** SHAREWARE NOTICE **
\ ************************
\ If you have gotten this far, thank you for playing this demo
\ of an original gobble game, Skampy.
: level ;
medium-res
my-emit-off
create current-chamber
~ PPPPPPPPP PPPPPPPPP~
~ P c b P~
~ P a c P~
~ P b a P~
~ P a b P~
~ P c a c P~
~ P a P~
~ P b b P~
~ P b a P~
~ P c c aP~
~ PPPPPPPPPPPPPPPPPPPP~
current-chamber <chamber> !
2 #fruit !
1 #foes !
0 #rocks !
s h s h s h s h
08 :path 0path
\ ********
: use-goon'
0 0 ['] .skull ['] skull 3 |scampy| still still
;
\ **********
: reset-foes
160 016 use-goon' 0path reset-path for-foes 0 element!
;
\ *********
: final-lap
frame off
reset-foes reset-sounds
game-mode .scoreboard
build-background wipe-foreground
060 0 do
.world .foes
sound-task
frame-finished
+frame
loop
present-foes frame-finished
present-foes frame-finished
80000 slower
;
\ ********
: ((.))ert
\ ( slowness -- )
0 +noise 0 +tone
15 0 volume 200 0 frequency 31 noise-pitch 10 0 step-size
55 0 do
200 i + 0 frequency
15 i 5 / - 0 volume
dup slower
loop
drop
0 -noise 0 -tone 0 0 volume
40000 slower
;
\ ******
: hi!
11 #row ! 23 #collumn ! ." )*%& !!!!" 2000 ((.))ert
80000 slower
;
\ *********
: .end-text
0 #row ! 0 #collumn !
." THANK YOU FOR TRYING THE SKAMPY DEMO " my-cr
." IF YOU WANT THE FULL VERSION INCLUDING " my-cr
." 50 LEVELS PLEASE READ THE READ.ME FILE " my-cr
." " my-cr
." ////////// " my-cr
." /// /// " my-cr
." // ___ >>> // " my-cr
." / _ / _ > / > / " my-cr
." / ___ >>> / " my-cr
." / / / / " my-cr
." / /// /// / " my-cr
." // //////// // " my-cr
." /// /// " my-cr
." ////////// " my-cr
;
\ *****
: glow
copy-pallet
0 <new-pallet> 7 2* + !
0 <new-pallet> 9 2* + w!
0 +tone 1 +tone
06 0 step-size 06 1 step-size
14 0 volume 14 1 volume
03 0 do
06 i - 0 step-size 06 i - 1 step-size
4095 0 do
i <new-pallet> 7 2* + w!
i <new-pallet> 8 2* + w!
i <new-pallet> 9 2* + w!
<new-pallet> change-pallet
i 256 mod 0 frequency
256 i 256 mod - 1 frequency
loop
loop
scampy-pallet
0 -tone 1 -tone
;
\ **********
: clear-lines
\ ( #rows -- )
0 do
i #row ! 0 #collumn ! ." "
loop
;
80 time !
\ ***************
: congratulations
introduce
final-lap
hi!
1 clear-lines
glow
.end-text
2400000 slower
5 clear-lines
.scoreboard
2 #row ! 6 #collumn ! ." THANK YOU FOR PLAYING SKAMPY "
4 #row ! 2 #collumn ! ." PRESS FIRE BUTTON TO RESTART PROGRAM"
90000 slower
begin interrogate button1 until
\_save-score attract-mode
;
congratulations