home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
426-450
/
apd433
/
sprite600.amos
/
sprite600.amosSourceCode
Wrap
AMOS Source Code
|
1978-08-27
|
26KB
|
1,023 lines
Rem ----------------------------------
Rem - Sprites 600 animations demo ----
Rem ----------------------------------
Screen Close 0
Rem ----------------------------------
Rem ---- * Set up default drive * ----
Rem ----------------------------------
Dir$="Pukadu_&_Sprite_600:Sprite_600/"
Rem ------------------------------
Rem ---- * Open Menu screen * ----
Rem ------------------------------
Screen Open 1,640,200,2,Hires
Palette $0,$FFF
Flash Off
Curs Off
Rem -----------------------------------------
Rem ---- * Global variable declaration * ----
Rem ---- * Setup Animation Channels * ----
Rem -----------------------------------------
Global DEMO
DEMO=0
SETCHAN
Rem --------------------------
Rem ---- * Main Program * ----
Rem --------------------------
CREATE_MENU
DISPLAY_PROMPT
On Menu Proc INFO,ALIENS,FANTASY,FLIGHT,GROUND,SPACE,VEHICLE,WATER
On Menu On
Menu On
Repeat
Rem --------------------------
Rem ---- * Wait Forever * ----
Rem --------------------------
Until False
End
Rem --------------------------------
Rem ---- * Control Procedures * ----
Rem --------------------------------
Procedure INFO
C=Choice(2)
If C=1 Then FULL_DEMO
If C=2 Then MESSAGE
If C=3 Then On Menu On
If C=4 Then Edit
DISPLAY_PROMPT
End Proc
Procedure ALIENS
Shared C
If DEMO=0 Then C=Choice(2) Else C=DEMO
On C Proc ALIEN1_DEMO,ALIEN2_DEMO,ALIEN3_DEMO
On(C-3) Proc ALIEN4_DEMO,ALIEN5_DEMO,ALIEN6_DEMO
On(C-6) Proc ALIEN7_DEMO,ALIEN8_DEMO,ALIEN9_DEMO
On(C-9) Proc ALIEN9B_DEMO,ALIEN10_DEMO
On(C-11) Proc MONSTER_DEMO,MONSTER_DEMO,MONSTER_DEMO,MONSTER_DEMO
On(C-15) Proc SLIMESTER_DEMO,SMALL_DROID_DEMO,EGG_TIMER_DEMO
If DEMO=0 Then INIT
End Proc
Procedure FANTASY
If DEMO=0 Then C=Choice(2) Else C=DEMO
On C Proc DRAGON_DEMO,FANTASY_DEMO,MARIO_DEMO
If DEMO=0 Then INIT
End Proc
Procedure FLIGHT
If DEMO=0 Then C=Choice(2) Else C=DEMO
On C Proc AIRBALLON_DEMO,AIRSHIP_DEMO,BIPLANE_DEMO
On(C-3) Proc HANDGLIDER_DEMO,HELICOPTERS_DEMO,JETPLANES_DEMO
On(C-6) Proc AIRPLANE_DEMO,PRIVATE_PLANE_DEMO,SEA_PLANE_DEMO
On(C-9) Proc SPITFIRE_DEMO
If DEMO=0 Then INIT
End Proc
Procedure GROUND
If DEMO=0 Then C=Choice(2) Else C=DEMO
On C Proc GROUND1_DEMO,GROUND2_DEMO,GROUND3_DEMO
On(C-3) Proc GROUND4_DEMO,GROUND5_DEMO
If DEMO=0 Then INIT
End Proc
Procedure SPACE
If DEMO=0 Then C=Choice(2) Else C=DEMO
On C Proc SHIP1_DEMO,SHIP2_DEMO,SHIP3_DEMO,XPLOSION_DEMO
If DEMO=0 Then INIT
End Proc
Procedure VEHICLE
If DEMO=0 Then C=Choice(2) Else C=DEMO
On C Proc BICYCLE_DEMO,LORRIES_DEMO,PORSCHE_DEMO,SCOOTER_DEMO
On(C-4) Proc SKATEBOARD_DEMO,SUPERBIKE_DEMO,TRIALS_DEMO
If DEMO=0 Then INIT
End Proc
Procedure WATER
If DEMO=0 Then C=Choice(2) Else C=DEMO
On C Proc BATTLESHIPS_DEMO,CLAM_DEMO,FISH_DEMO
On(C-3) Proc MERMAID_DEMO,SHARK_DEMO,SUBMARINE_DEMO,WHALE_DEMO
If DEMO=0 Then INIT
End Proc
Rem ---------------------------------
Rem ---- * Information Options * ----
Rem ---------------------------------
Procedure MESSAGE
Hide On
Menu Off
Screen Open 0,320,200,2,Lowres
Flash Off : Curs Off
Palette $0,$FFF
Centre At(,2)+Border$("AMOS Sprite 600 Demo",1)
Centre At(,5)+"By Abdul Malik Kalim."
Centre At(,7)+"The original Sprite 600 Demo and"
Centre At(,8)+"the sprites were designed on the"
Centre At(,9)+"Atari ST by David McLachlan."
Centre At(,11)+"The STOS Sprites were transferred"
Centre At(,12)+"onto the Commodore Amiga by"
Centre At(,13)+"Peter Hickman."
Centre At(,15)+"� 1990 Mandarin Software"
Inverse On
Centre At(,19)+"CLICK MOUSE BUTTON TO CONTINUE"
Inverse Off
Repeat
Until Mouse Click
Screen Close 0
Screen To Front 1
On Menu On
Menu On
Show On
End Proc
Procedure FULL_DEMO
Screen Open 0,320,200,16,Lowres
Flash Off
Curs Off
Cls 0
Double Buffer
Palette $0,0
For DEMO=1 To 18 : ALIENS : Next DEMO
For DEMO=1 To 3 : FANTASY : Next DEMO
For DEMO=1 To 10 : FLIGHT : Next DEMO
For DEMO=1 To 5 : GROUND : Next DEMO
For DEMO=1 To 4 : SPACE : Next DEMO
For DEMO=1 To 7 : VEHICLE : Next DEMO
For DEMO=1 To 7 : WATER : Next DEMO
SETDOWN
DEMO=0
Screen To Front 1
Screen Close 0
On Menu On
Menu On
Show On
DISPLAY_PROMPT
End Proc
Rem --------------------------
Rem ---- * Alien Option * ----
Rem --------------------------
Procedure ALIEN1_DEMO
Load "Aliens/Alien1.Abk"
SETUP
Bob 1,320,80,1
AM$="Anim 0,(1,5)(7,5)(8,5)(9,5)(8,5)(7,5) ;"
AM$=AM$+"Move -112,0,8 ; Move -24,0,3 ; Move -15,0,5 ;"
AM$=AM$+"Move -24,0,3 ; Move -16,0,4"
Amal 1,AM$
Amal On 1
While Chanmv(1) : Wend
Amal 1,"Anim 1,(2,2)(3,2)(4,2)(5,2)(6,2)(1,2)"
Amal On 1
Wait 10
Shoot
Bob 2,143,115,17
Amal 2,"Move 0,96,8"
Amal On 2
While Chanmv(2) : Wend
Wait 20
Amal 1,"Anim 1,(10,3)(11,3)(12,3)(13,3)(14,3)(15,3)(16,3)(18,3)"
Amal On 1
Boom
Wait 35
SETDOWN
End Proc
Procedure ALIEN2_DEMO
Load "Aliens/Alien2.Abk"
SETUP
Bob 1,160,-30,1
AM$="Anim 0,(4,5)(5,5)(6,5)(7,5)(8,5)(9,5)(10,5) ;"
AM$=AM$+"Move 0,234,78 ; Move 30,0,30 ; Move -100,0,50"
Amal 1,AM$
Amal On
Repeat
Until Y Bob(1)>90
Amal 1,"Anim 1,(12,3)(13,3)(14,3)(15,3)(16,3)(17,3)(18,3)(19,3)"
Boom
Amal On 1
Wait 40
SETDOWN
End Proc
Procedure ALIEN3_DEMO
Load "Aliens/Alien3.Abk"
SETUP
Bob 1,128,-32,1
AM$="Anim 0,(1,5)(2,5)(3,5) ;"
AM$=AM$+"Move 40,80,40 ; Move -40,80,40 ; Move -40,-40,40 ; Move 40,-40,40"
Amal 1,AM$
Amal On
While Chanmv(1) : Wend
Amal 1,"Anim 1,(4,3)(5,3)(6,3)(7,3)(8,3)(9,3)(10,3)(11,3)"
Amal On
Boom
Wait 24
SETDOWN
End Proc
Procedure ALIEN4_DEMO
Load "Aliens/Alien4.Abk"
SETUP
Bob 1,80,-30,1
Amal 1,"Anim 0,(1,5)(2,5)(3,5)(4,5) ; Move 0,120,40 ; Move 320,0,40"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure ALIEN5_DEMO
Load "Aliens/Alien5.Abk"
SETUP
For B=1 To 3
Bob B,-16,199,1
Move X B,"(1,15,23)"
Move Y B,"(1,-10,20)"
Move On B
Wait 7
Next B
For B=1 To 3
Bob B,320,80,1
Move X B,"320(1,-14,8)(1,-8,3)(1,-3,5)(1,-1,20)(1,-3,5)(1,-8,3)(1,-14,10)"
Move On B
Wait 60
Next B
For B=1 To 3
Bob B,-16,80,1
Move X B,"-16(1,14,8)(1,8,3)(1,3,5)(1,1,10)(1,0,75)(1,1,10)(1,3,5)(1,8,3)(1,14,10)"
Move On B
Wait 26
Anim B,"(2,5)(3,5)(4,5)(5,5)(6,5)(5,5)(6,5)(5,5)(6,5)(5,5)(4,5)(3,5)(2,5)(1,5)"
Anim On B
While X Bob(B)<290 : Wend
Move Off
Anim B,"(7,5)(8,5)(9,5)(10,5)(11,5)(12,5)(13,5)(14,5)(15,5)(16,5)(17,5)(18,5)(19,5)"
Anim On B
Boom
Wait 15
Next B
Wait 55
SETDOWN
End Proc
Procedure ALIEN6_DEMO
Load "Aliens/Alien6.Abk"
SETUP
Bob 1,160,201,1
Amal 1,"Anim 0,(1,5)(2,5)(3,5)(4,5) ; Move 0,-100,200"
Amal On 1
Bob 2,-16,100,1
Amal 2,"Anim 1,(1,5)(2,5)(3,5)(4,5) ; Move 180,0,18"
Wait 195
Amal On 2
While Chanmv(2) : Wend
Amal 1,"Anim 1,(5,5)(6,5)(7,5)(8,5)(9,5)(10,5)(11,5)"
Amal 2,"Anim 1,(5,5)(6,5)(7,5)(8,5)(9,5)(10,5)(11,5)"
Amal On
Boom
Wait 35
SETDOWN
End Proc
Procedure ALIEN7_DEMO
Load "Aliens/Alien7.Abk"
SETUP
For B=1 To 4
Bob B,30+(B*50),-16,1
Anim B,"(1,5)(2,5)(3,5)(4,5)l"
Move Y B,"-16(1,5,30)(1,2,10)(1,-2,10)(1,-5,20)(1,-2,10)(1,1,10)"
Move On B
Anim On B
Wait 20
Next B
Wait 50
For B=1 To 4
Anim B,"(5,2)(6,2)(7,2)(8,2)(9,2)(10,2)(11,2)(12,2)(13,2)(14,2)(15,2)"
Anim On B
Wait 15
Next B
Wait 30
SETDOWN
End Proc
Procedure ALIEN8_DEMO
Load "Aliens/Alien8.Abk"
SETUP
For B=1 To 4
Bob B,-16,-16,1
Amal B,"Anim 0,(1,5)(2,5)(3,5)(4,5) ; Move 320,240,80"
Amal On B
Wait 20
Next B
For B=1 To 4
Wait 25
Bob B,80+(B*30),220,1
Amal B,"Move 0,-144,36 ; Move 0,-20,20"
Amal On B
Next B
While Chanmv(4) : Wend
For B=1 To 4
Amal B,"Anim 1,(5,8)(6,8)(7,8)(8,8)(9,8)(10,8)(11,8)(12,8)(13,8)(14,8)(15,8)"
Amal On B
Wait 30
Next B
Wait 90
SETDOWN
End Proc
Procedure ALIEN9_DEMO
Load "Aliens/Alien9.Abk"
SETUP
Bob 1,0,0,1
Amal 1,"Anim 0,(1,4)(2,4)(3,4)(4,4)(5,4)(6,4)(7,4)(8,4) ; Move 200,100,200"
Amal On
While Chanmv(1) : Wend
Amal 1,"Anim 1,(9,5)(10,5)(11,5)(12,5)(13,5)(14,5)(15,5)(16,5)(17,5)(18,5)(19,5)(20,5)"
Amal On 1
Boom
Wait 55
SETDOWN
End Proc
Procedure ALIEN9B_DEMO
Load "Aliens/Alien9B.Abk"
SETUP
Bob 1,-16,100,8
Amal 1,"Anim 0,(8,5)(1,5)(2,5)(3,5)(4,5)(5,5)(6,5)(7,5) ; Move 160,0,80"
Amal On
While Chanmv(1) : Wend
Amal 1,"Anim 1,(9,5)(10,5)(11,5)(12,5)(13,5)(14,5)(15,5)(16,5)(17,5)(18,5)(19,5)(20,5)"
Amal On 1
Wait 55
SETDOWN
End Proc
Procedure ALIEN10_DEMO
Load "Aliens/Alien10.Abk"
SETUP
For B=1 To 4
Bob B,0,100,1
Amal B,"Anim 0,(1,4)(2,4)(3,4)(4,4)(5,4)(6,4)(7,4)(8,4) ; Move 360,0,360"
Amal On B
Wait 64
Next B
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure MONSTER_DEMO
Shared C
If C=12 Then Load "Aliens/Monster1.Abk"
If C=13 Then Load "Aliens/Monster2.Abk"
If C=14 Then Load "Aliens/Monster3.Abk"
If C=15 Then Load "Aliens/Monster4.Abk"
SETUP
AM$="Anim 1,(1,8)(2,8)(3,8)(4,8)(5,8)(6,8)(7,8)(8,8) ;"
AM$=AM$+"For R0=1 To 32 Pause Next R0 ;"
AM$=AM$+"Anim 0,(9,4)(10,4)(10,4)(11,4)(10,4) ;"
AM$=AM$+"Move 320,0,80"
For B=1 To 4
Bob B,B*50,50,1
Amal B,AM$
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure SLIMESTER_DEMO
Load "Aliens/Slimster.Abk"
SETUP
Bob 1,360,100,1
Amal 1,"Anim 0,(1,5)(2,5)(3,5)(4,5)(5,5) ; Move -390,0,130"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure SMALL_DROID_DEMO
Load "Aliens/SmlDroid.Abk"
SETUP
For B=1 To 4
AM$="Anim 0,(1,5)(2,5)(3,5)(4,5)(5,5)(6,5)(7,5)"
AM$=AM$+"(8,5)(9,5)(10,5)(11,5)(12,5)(13,5)(14,5)(15,5) ;"
AM$=AM$+"Move -352,0,352"
Bob B,320,10+(B-1)*35,1
Amal B,AM$
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure EGG_TIMER_DEMO
Load "Aliens/EggTimer.Abk"
SETUP
For B=1 To 4
Bob B,(B*32)+64,100,1
AM$="Anim 4,(8,8)(9,8)(10,8)(11,8)(12,8)(13,8)(14,8)(15,8)(16,8)(17,8)(8,8)"
Amal B,AM$
Next B
Amal On
Wait 380
SETDOWN
End Proc
Rem -----------------------------
Rem ---- * Fantasy Options * ----
Rem -----------------------------
Procedure DRAGON_DEMO
Load "Fantasy/Dragon.Abk"
SETUP
Bob 1,160,200,1
Anim 1,"(1,3)(2,3)(3,3)(4,3)(5,3)(6,3)(7,3)(8,3)(9,3)(10,3)l"
Move Y 1,"200(1,-5,25)"
Move X 1,"(1,0,20)(2,0,50)(1,-10,20)"
Anim On 1
Move On 1
Wait 140
SETDOWN
End Proc
Procedure FANTASY_DEMO
Load "Fantasy/Fantasy.Abk"
SETUP
S=0
Autoback 0
For Y=1 To 2
For X=1 To 3
Inc S
Paste Bob X*70,Y*50,S
Next X
Next Y
Screen Swap
Wait 100
Autoback 2
SETDOWN
End Proc
Procedure MARIO_DEMO
Load "Fantasy/Mario.Abk"
SETUP
For B=1 To 4
Bob B,-8,B*40,1
Amal B,"Anim 0,(1,5)(2,5)(3,5)(4,5)(5,5)(6,5) ; Move 336,0,336"
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Rem ----------------------------
Rem ---- * Flight Options * ----
Rem ----------------------------
Procedure AIRBALLON_DEMO
Load "Flight/AirBalon.Abk"
SETUP
Bob 1,50,216,1
Amal 1,"Anim 0,(2,5)(3,5) ; Move 260,-260,260"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure AIRSHIP_DEMO
Load "Flight/Airship.Abk"
SETUP
For B=1 To 4
Bob B,328,B*40,1
Amal B,"Move -380,0,380"
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure BIPLANE_DEMO
Load "Flight/Biplane.Abk"
SETUP
For B=1 To 4
Bob B,320,B*40,1
Bob B+4,B*40,200,5
AM1$="Anim 0,(1,5)(2,5)(3,5)(4,5) ; Move -360,0,180"
AM2$="Anim 0,(5,5)(6,5)(7,5) ;"
AM2$=AM2$+"Move 0,-120,60"
AM2$=AM2$+"Anim 1,(8,5)(9,5)(10,5)(11,5)(12,5)(13,5)(14,5)(15,5)(16,5) ;"
AM2$=AM2$+"Move 0,-16,16"
Amal B,AM1$
Amal B+4,AM2$
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure HANDGLIDER_DEMO
Load "Flight/Handglid.Abk"
SETUP
For B=1 To 4
Bob B,320,B*40,1
AM$="Anim 0,(1,30)(2,30)(4,5)(5,5)(6,5)(5,5)"
AM$=AM$+"(4,5)(5,5)(6,5)(5,5)(4,5)(3,5) ;"
AM$=AM$+"Move -150,100,150 ;"
AM$=AM$+"Move -200,-200,200 "
Amal B,AM$
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure HELICOPTERS_DEMO
Load "Flight/Helecopt.Abk"
SETUP
Bob 1,320,50,1
Bob 2,320,150,4
Bob 3,-64,100,7
Amal 1,"Anim 0,(1,5)(2,5)(3,5) ; Move -400,0,400"
Amal 2,"Anim 0,(4,5)(5,5)(6,5) ; Move -400,0,400"
Amal 3,"Anim 0,(7,5)(8,5)(9,5) ; Move 400,0,400"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure JETPLANES_DEMO
Load "Flight/Jetplane.Abk"
SETUP
For B=1 To 3
Bob 1,-48,B*40,B
Amal 1,"Move 360,0,45"
Amal On
While Chanmv(1) : Wend
Next B
Bob 1,160,200,4
Amal 1,"Move 0,-256,64"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure AIRPLANE_DEMO
Load "Flight/Planes.Abk"
SETUP
Bob 1,320,70,1
Bob 2,32,200,4
Amal 1,"Anim 0,(1,5)(2,5)(3,5) ; Move -360,0,90"
Amal 2,"Anim 0,(4,5)(5,5)(6,5)(7,5) ; Move 0,-256,64"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure PRIVATE_PLANE_DEMO
Load "Flight/Prvplane.Abk"
SETUP
Bob 1,320,100,1
Bob 2,100,200,2
Amal 1,"Move -352,0,176"
Amal 2,"Move 0,-240,120"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure SEA_PLANE_DEMO
Load "Flight/Seaplane.Abk"
SETUP
Bob 1,320,100,1
Bob 2,150,200,5
Amal 1,"Anim 0,(1,5)(2,5)(3,5)(4,5) ; Move -352,0,176"
Amal 2,"Anim 0,(5,5)(6,5)(7,5) ; Move 0,-240,120"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure SPITFIRE_DEMO
Load "Flight/Spitfire.Abk"
SETUP
Bob 1,320,100,1
Amal 1,"Anim 0,(1,2)(2,2) ; Move -368,0,92"
Amal On
While Chanmv(1) : Wend
Wait 50
Bob 1,120,200,3
Amal 1,"Anim 0,(3,2)(4,2) ; Move 0,-240,60"
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Rem ----------------------------
Rem ---- * Ground Options * ----
Rem ----------------------------
Procedure GROUND1_DEMO
Load "Ground/Ground1.Abk"
SETUP
For L=1 To 4
Bob 1,160,180,1
Amal 1,"Anim 1,(1,5)(2,5)(3,5)(4,5)(5,5)(6,5)(7,5)(8,5)(9,8)(8,5)"
Amal On 1
Wait 45
Bob 2,168,180,16
Move X 2,"(1,-8,23)"
Move Y 2,"(1,-6,23)"
Move On 2
While Movon(2) : Wend
Bob 1,160,180,1
Amal 1,"Anim 1,(7,5)(6,5)(5,5)(4,5)(3,5)(2,5)(1,5)"
Amal On 1
Wait 45
Amal Off
Next L
SETDOWN
End Proc
Procedure GROUND2_DEMO
Load "Ground/Ground2.Abk"
SETUP
For L00P=1 To 4
Bob 1,150,180,1
Bob 2,170,180,4
Amal 1,"Anim 0,(1,5)(2,5)(3,5)(1,5)"
Amal 2,"Anim 0,(6,5)(5,5)(4,5)(6,5)"
Amal On 1 : Amal On 2 : Wait 20
Bob 3,158,180,8
Bob 4,170,180,8
Amal 3,"Move -200,-200,50"
Amal 4,"Move 200,-200,50"
Amal On 3 : Amal On 4
Wait 50
While Chanmv(3) : Wend
Amal Off
Next L00P
SETDOWN
End Proc
Procedure GROUND3_DEMO
Load "Ground/Ground3.Abk"
SETUP
For B=1 To 8
Bob B,B*32,100,1
Amal B,"Anim 4,(1,10)(2,10)(3,10)(4,10)(5,10)(4,10)(3,10)(2,10)"
Next B
Amal On
Wait 360
SETDOWN
End Proc
Procedure GROUND4_DEMO
Load "Ground/Ground4.Abk"
SETUP
For B=1 To 8
Bob B,B*32,100,1
Amal B,"Anim 0,(1,30)(2,3)(3,3)(4,3)"
Next B
Amal On
Wait 170
SETDOWN
End Proc
Procedure GROUND5_DEMO
Load "Ground/Ground5.Abk"
SETUP
For B=1 To 8
Bob B,B*32,100,1
Amal B,"Anim 0,(1,45)(2,2)(3,2)(4,2)(3,3)(2,5)(5,5)(6,5)"
Next B
Amal On
Wait 290
SETDOWN
End Proc
Rem ---------------------------
Rem ---- * Space Options * ----
Rem ---------------------------
Procedure SHIP1_DEMO
Load "Space/Ship1.Abk"
SETUP
Bob 1,150,232,13
AM$="Anim 0,(1,5)(2,5) ; Move 0,-140,140"
AM$=AM$+"Anim 0,(5,5)(6,5) ; Move -60,0,60"
AM$=AM$+"Anim 0,(3,5)(4,5) ; Move 60,0,60"
AM$=AM$+"Anim 0,(1,5)(2,5) ; Move 0,-140,140"
Amal 1,AM$
Amal On
While Chanmv(1) : Wend
SETDOWN
End Proc
Procedure SHIP2_DEMO
Load "Space/Ship2.Abk"
SETUP
Bob 1,150,200,2
Bob 2,150,225,4
AM1$="Move 0,-250,250 "
AM2$="Anim 0,(4,5)(5,5)(6,5) Pause"
AM2$=AM2$+"Move 0,-250,250 "
Amal 1,AM1$
Amal 2,AM2$
Amal On
While Chanmv(2) : Wend
SETDOWN
End Proc
Procedure SHIP3_DEMO
Load "Space/Ship3.Abk"
SETUP
Bob 1,-48,160,1
AM$=AM$+" Anim 0,(1,5)(2,5)(3,5)(4,5) ; Pause"
AM$=AM$+" Move 100,0,50 ; Move 100,-50,50 "
AM$=AM$+" Anim 1,(9,5)(10,5)(11,5)(12,5)(13,5)(14,5)(15,5) Pause"
AM$=AM$+" For R0=1 To 10 ; Pause ; Next R0 "
AM$=AM$+" Anim 1,(16,5)(17,5)(18,5)(19,5)(20,5)"
AM$=AM$+" (21,5)(22,5)(23,5)(24,5)(25,5)(26,5)"
Amal 1,AM$
Amal On
Wait 200
SETDOWN
End Proc
Procedure XPLOSION_DEMO
Load "Space/Xplosion.Abk"
SETUP
For X=1 To 8
Bob 1,Rnd(220)+40,Rnd(120)+40,1
Amal 1,"Anim 1,(1,3)(2,3)(3,3)(4,3)(5,3)(6,3)(7,3)(8,3)(9,3)(10,3)(11,3)(12,3)(13,3)(14,3)(15,3)"
Amal On
Wait 46
Next X
Bob Off
Wait 10
SETDOWN
End Proc
Rem -----------------------------
Rem ---- * Vehicle Options * ----
Rem -----------------------------
Procedure BICYCLE_DEMO
Load "Vehicle/Bicycle.Abk"
SETUP
For B=1 To 4
Bob B,-16,B*40,1
Amal B,"Anim 0,(1,5)(2,5)(3,5)(4,5)(5,5)(6,5)(7,5)(8,5) ; Move 340,0,170"
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure LORRIES_DEMO
Load "Vehicle/Lorries.Abk"
SETUP
Autoback 0
For S=1 To 12
Cls 0
For Y=1 To 3
For X=1 To 4
Paste Bob X*80-65,Y*50-10,S
Next X
Next Y
Screen Swap
Wait 100
Next S
Autoback 2
SETDOWN
End Proc
Procedure SCOOTER_DEMO
Load "Vehicle/Scooter.Abk"
SETUP
For B=1 To 4
Bob B,-48,B*40,1
Amal B,"Anim 0,(1,5)(2,5)(3,5)(4,5)(5,5) ; Move 384,0,192"
Amal On B
Next B
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure PORSCHE_DEMO
Load "Vehicle/Porsche.Abk"
SETUP
Autoback 0
For Y=1 To 3
For X=1 To 4
Paste Bob X*80-65,Y*50-10,1
Next X
Next Y
Screen Swap
Wait 100
Autoback 2
SETDOWN
End Proc
Procedure SKATEBOARD_DEMO
Load "Vehicle/Skatebrd.Abk"
SETUP
AM$="Anim 0,(5,20)(6,30)(7,5)(8,5)(9,5)(10,5)"
AM$=AM$+"(11,5)(12,5)(13,5)(14,5)(15,5) ;"
AM$=AM$+"B: Move 20,0,10 ; Move 20,0,10 ; Move 50,0,25 ; Jump B"
For B=1 To 4
Bob B,-32,B*40,1
Amal B,AM$
Next B
Amal On
While X Bob(4)<320 : Wend
SETDOWN
End Proc
Procedure SUPERBIKE_DEMO
Load "Vehicle/Superbik.Abk"
SETUP
Bob 1,100,80,11
Bob 2,200,80,12
AM1$="Anim 5,(11,5)(10,5)(9,5)(8,5)(7,5)(6,5)(5,5)(4,5)(3,5)(2,5)(1,25)"
AM2$="Anim 5,(12,5)(13,5)(14,5)(15,5)(16,5)(17,5)(18,5)(19,5)(20,5)(21,30)"
Amal 1,AM1$
Amal 2,AM2$
Amal On 1
Amal On 2
Wait 305
Amal Off
Wait 20
SETDOWN
End Proc
Procedure TRIALS_DEMO
Load "Vehicle/Trials.Abk"
SETUP
For B=1 To 8
Bob B,B*32,100,1
Amal B,"Anim 4,(1,25)(2,5)(3,5)(4,5)(5,5)(6,5)(7,25)(6,5)(5,5)(4,5)(3,5)(2,5)"
Next B
Amal On
Wait 410
SETDOWN
End Proc
Rem ---------------------------
Rem ---- * Water Options * ----
Rem ---------------------------
Procedure BATTLESHIPS_DEMO
Load "Water/Batleshp.Abk"
SETUP
For B=1 To 4
Bob B,-48,B*50-30,B
Amal B,"Move 370,0,370"
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure CLAM_DEMO
Load "Water/Clam.Abk"
SETUP
For B=1 To 4
Bob B,B*50,100,1
Amal B,"Anim 4,(1,25)(2,5)(3,5)(4,5)(5,15)(6,15)(5,15)(6,15)(4,5)(3,5)(2,5)(1,5)"
Next B
Amal On
Wait 500
SETDOWN
End Proc
Procedure FISH_DEMO
Load "Water/Fish.Abk"
SETUP
For B=1 To 4
Bob B,(B*32)+320,90,1
Amal B,"Anim 0,(1,5)(2,5)(3,5)(4,5)(5,5)(4,5)(3,5)(2,5) ; Move -480,0,240"
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure MERMAID_DEMO
Load "Water/Mermaid.Abk"
SETUP
For B=1 To 4
Bob B,B*50,90,1
Amal B,"Anim 4,(1,5)(2,5)(3,5)(2,5)"
Next B
Amal On
Wait 200
SETDOWN
End Proc
Procedure SHARK_DEMO
Load "Water/Shark.Abk"
SETUP
For B=1 To 4
Bob B,320,B*40,1
Amal B,"Anim 0,(1,5)(2,5)(3,5)(4,5)(5,5)(4,5)(3,5)(2,5) ; Move -380,0,380"
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure SUBMARINE_DEMO
Load "Water/Submarin.Abk"
SETUP
Bob 4,370,137,1
Bob 5,320,140,1
Amal 4,"Anim 0,(2,5)(3,5)(4,5)(5,5) ; Move -400,0,400"
Amal 5,"Move -370,0,370"
For B=1 To 3
Bob B,-50,B*30,B+5
Amal B,"Move 370,0,370"
Next B
Amal On
While Chanmv(4) : Wend
SETDOWN
End Proc
Procedure WHALE_DEMO
Load "Water/Whale.Abk"
SETUP
AM$="Anim 4,(1,5)(2,5)(3,5)(4,5)(5,5)(6,5)(7,5)"
AM$=AM$+"(8,5)(9,5)(10,5)(11,5)(12,5)(13,5)"
For B=1 To 4
Bob B,128,B*32,1
Amal B,AM$
Next B
Amal On
Wait 280
SETDOWN
End Proc
Rem ------------------------------
Rem ---- * Service Routines * ----
Rem ------------------------------
Procedure INIT
Screen To Front 1
Screen Close 0
On Menu On
Menu On
Show On
End Proc
Procedure SETUP
If DEMO=0
Screen Open 0,320,200,16,Lowres
Flash Off
Curs Off
Cls 0
Double Buffer
End If
Flash Off
Curs Off
Screen Hide 0
Menu Off
Hide On
Screen 0
Get Sprite Palette
Colour 0,$0
Cls 0
Screen Show 0
End Proc
Procedure SETDOWN
Amal Off
Anim Off
Move Off
Bob Off
Sprite Off
Erase 1
End Proc
Procedure SETCHAN
For C=1 To 8
Channel C To Bob C
Next C
End Proc
Procedure DISPLAY_PROMPT
Centre At(,10)+Border$("Click right mouse button to display menu",1)
End Proc
Procedure CREATE_MENU
Rem ----------------------------------------
Rem ---- * Initia;lise Menu Structure * ----
Rem ----------------------------------------
For HEAD=1 To 8
Read HEAD$
Menu$(HEAD)=HEAD$
Read ITEMS
For ITEM=1 To ITEMS
Read ITEM$
Menu$(HEAD,ITEM)=ITEM$
Next ITEM
Next HEAD
Menu$(1,1)=," By Abdul Malik Kalim "
Menu$(1,2)=," Thank You "
Menu$(1,4)=," Back to the editor "
For L=1 To 8
Menu Static L
Next L
Menu$(1,3,1)=" Mandarin Software "," Join the AMOS Club "
Menu$(1,3,2)=" The Team "," We're freelence "
CREDITS1
CREDITS2
Pop Proc
Rem ------------------------------
Rem ---- * MENU INFORMATION * ----
Rem ------------------------------
Data " Information! ",4
Data " Sprite 600 Demo "," Read Me "
Data " Credits "," Quit "
Rem ------------------------------------
Data " Aliens ",18
Data " Alien 1 "," Alien 2 "," Alien 3 "," Alien 4 "
Data " Alien 5 "," Alien 6 "," Alien 7 "," Alien 8 "
Data " Alien 9 "," Alien 9B "," Alien 10 "
Data " Monster 1 "," Monster 2 "," Monster 3 "," Monster 4 "
Data " Slimester "," Small Droid "," Egg Timer "
Rem ------------------------------
Data " Fantasy ",3
Data " Dragon "," Fantasy "," Mario "
Rem --------------------------
Data " Flight ",10
Data " Airballoon "," Airship "," Biplane "," Handglider "
Data " Helicopters "," Jetplanes "," Planes "," Private plane "
Data " Seaplane "," Spitfire "
Rem -------------------------
Data " Ground ",5
Data " Ground 1 "," Ground 2 "," Ground 3 "," Ground 4 "," Ground 5 "
Rem ----------------------------
Data " Space ",4
Data " Ship 1 "," Ship 2 "," Ship 3 "," Explosion "
Rem ----------------------------------
Data " Vehicle ",7
Data " Bicycle "," Lorries "," Porsche "," Scooter "
Data " Skateboard "," Superbike "," Trials "
Rem ---------------------------------
Data " Water ",7
Data " Battleships "," Clam "," Fish "," Mermaid "
Data " Shark "," Submarines "," Whale "
Rem -------------------------------
End Proc
Procedure CREDITS1
Rem ---------------------------------------
Rem ---- * Mandarin Software Credits * ----
Rem ---------------------------------------
For ITEM=1 To 4
Read ITEM1$,ITEM2$
Menu$(1,3,1,ITEM)=ITEM1$,ITEM2$
Next ITEM
Data " Richard Vanner "," Development Manager "
Data " Francois Lionet "," Programmer of AMOS "
Data " Stephen Hill "," AMOS Manual Author "
Data " David McLachlan "," Graphics Artist "
End Proc
Procedure CREDITS2
Rem ------------------------------
Rem ---- * The Team Credits * ----
Rem ------------------------------
For ITEM=1 To 4
Read ITEM1$,ITEM2$
Menu$(1,3,2,ITEM)=ITEM1$,ITEM2$
Next ITEM
Data " Abdul Kalim "," Programmer "
Data " Peter Hickman "," Programmer "
Data " Michael Hickman "," Moral Support "
Data " Colin White "," Graphics Artist "
End Proc