home *** CD-ROM | disk | FTP | other *** search
/ Allie's Playhouse / allies-playhouse.bin / maze.tbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1993-07-16  |  101KB  |  1,494 lines

  1. Allie's Playhouse
  2. System
  3. Allie's Playhouse
  4. System
  5. Times New Roman
  6. :PHYSSIZE
  7. xyoffset 
  8. item1 
  9. item2 
  10. p2 + 
  11. p2 + 
  12. buttondown
  13. buttonup
  14. buttondown
  15. item2
  16. item1
  17. xyoffset
  18. buttonup
  19. item2
  20. item1
  21. 8175,5745
  22. "Help!!!"
  23. buttonup
  24. buttonup
  25. Help!!!
  26. 30,50,100
  27. 0,100,0
  28. buttonDown
  29. buttonUp
  30. buttonDown
  31. buttonUp
  32. Kkeydown
  33. 30,50,100
  34. 0,100,0
  35. buttonDown
  36. buttonUp
  37. buttonDown
  38. buttonUp
  39. Kkeydown
  40. 30,50,100
  41. 0,100,0
  42. buttonDown
  43. buttonUp
  44. buttonDown
  45. buttonUp
  46. Kkeydown
  47. 30,50,100
  48. 0,100,0
  49. keyDownArrow
  50. buttonDown
  51. buttonUp
  52. buttonDown
  53. buttonUp
  54. Kkeydown
  55. >&"sel") 
  56. buttondown
  57. buttonup
  58. buttondown
  59. buttonup
  60. previous
  61. previous
  62. :PHYSSIZE
  63. leftsel
  64. :PHYSSIZE
  65. >&"sel") 
  66. buttondown
  67. buttonup
  68. buttondown
  69. buttonup
  70. right
  71. :PHYSSIZE
  72. rightsel
  73. :PHYSSIZE
  74. 8242,5745
  75. @    : l
  76. maze2
  77. 4mousePosition, catTime
  78. getTickCount() > 
  79.  + 600
  80. "5550,4095"
  81. "5550,2970"
  82. "gotcha!"
  83. playsound 
  84. playSound ohno
  85. yieldApp()
  86. 543,535
  87. "cat" 
  88. "5550,4095"
  89. tbkMMNotify
  90. "maze2" 
  91. tbkMCIchk("
  92.  music 
  93. tbkMMNotify
  94. getTickCount
  95. 5550,4095
  96. 5550,2970
  97. mouse
  98. playsound
  99. playSound
  100. yieldApp
  101. mouse
  102. mouse
  103. 5550,4095
  104. getTickCount
  105. mousePosition
  106. catTime
  107. tbkMMNotify
  108. maze2
  109. play music from 0
  110. maze2
  111. tbkMCIchk
  112. !4"X#|$
  113. a1Top
  114. a1bottom
  115. a1right
  116. a1left
  117. b1top
  118. b1bottom
  119. b1right
  120. b1left
  121. c1top
  122. c1bottom
  123. c1right
  124. c1left
  125. d1top
  126. d1bottom
  127. d1right
  128. d1left
  129. e1top
  130. e1bottom
  131. e1right
  132. e1left
  133. f1top
  134. f1bottom
  135. f1right
  136. f1left
  137. a2top
  138. a2bottom
  139. a2right
  140. a2left
  141. c2top
  142. c2bottom
  143. c2right
  144. c2left
  145. d2top
  146. d2bottom
  147. d2right
  148. d2left
  149. e2top
  150. e2bottom
  151. e2right
  152. e2left
  153. f2top
  154. f2bottom
  155. f2right
  156. f2left
  157. a3top
  158. a3bottom
  159. a3right
  160. a3left
  161. b3top
  162. b3bottom
  163. b3right
  164. b3left
  165. c3top
  166. c3bottom
  167. c3right
  168. c3left
  169. d3top
  170. d3bottom
  171. d3right
  172. d3left
  173. e3top
  174. e3bottom
  175. e3right
  176. e3left
  177. f3top
  178. f3bottom
  179. f3right
  180. f3left
  181. a4top
  182. a4bottom
  183. a4right
  184. a4left
  185. b4top
  186. b4bottom
  187. b4right
  188. b4left
  189. c4top
  190. c4bottom
  191. c4right
  192. c4left
  193. d4top
  194. d4bottom
  195. d4right
  196. d4left
  197. e4top
  198. e4bottom
  199. e4right
  200. e4left
  201. f4top
  202. f4bottom
  203. f4right
  204. f4left
  205. a5top
  206. a5bottom
  207. a5right
  208. a5left
  209. b5top
  210. b5bottom
  211. b5right
  212. b5left
  213. c5top
  214. c5bottom
  215. c5right
  216. c5left
  217. d5top
  218. d5bottom
  219. d5right
  220. d5left
  221. e5top
  222. e5bottom
  223. e5right
  224. e5left
  225. f5top
  226. f5bottom
  227. f5right
  228. f5left
  229. b2top
  230. b2bottom
  231. b2right
  232. b2left
  233. cheese
  234. *:PHYSSIZE
  235. mouse
  236. +:PHYSSIZE
  237. x,:PHYSSIZE
  238. 4zpath
  239. "c:\toolbook\playhous\"
  240. .sbk" 
  241. (Zpath&"
  242. tbkMCIchk("
  243. p&"maze.wav alias 
  244. ","",1)
  245. samples","",1)
  246. LeaveBook
  247. [("close 
  248. R","")
  249. tbkBitmap("
  250. kid")
  251. status 
  252. displayKid
  253. buttonDoubleclick -- Used 
  254. rename lines
  255. 4mousePosition, catTime
  256. 543,535
  257. getTickCount()
  258. music","",1)
  259. "level" 
  260. checkWallLeft
  261. getNewPosLeft    
  262. playSound spring
  263. H-1220,0
  264. CheckWallRight
  265. getNewPosRight
  266. H1220,0        
  267. checkWallUp
  268. getNewPosUp
  269. H0,-1200
  270. keyDownArrow
  271. checkWallDown
  272. getNewPosDown
  273. H0,1200
  274. checkWin
  275. "maze1"
  276. -- Winning sequence here
  277. "You 
  278. '"cheese"
  279. "yum"
  280. yieldApp()
  281. 543,535
  282. default
  283. "maze2"
  284. 543,535
  285. "maze3"
  286. 543,535
  287. checkWallRight
  288. bounce
  289. checkWallleft
  290. &"Top") 
  291. &"Bottom") 
  292. getNewPosleft
  293. MousePosition
  294. playsound sfx
  295.     ("stop 
  296. ","")
  297. "cat"
  298. 8019 wait","",1)
  299. 8019 
  300. 29624 
  301. 29624 
  302. 39471","",1)
  303. 39471 
  304. 43441","",1)
  305. "ohno"
  306. 43441 
  307. 50129","",1)
  308. checkWin
  309. checkWallRight
  310. enterPage
  311. checkWallleft
  312. checkWallUp
  313. LeaveBook
  314. checkWallDown
  315. leavePage
  316. getNewPosRight
  317. getNewPosleft
  318. keyDown
  319. getNewPosUp
  320. enterBook
  321. getNewPosDown
  322. playsound
  323. enterBook
  324. c:\toolbook\playhous\
  325. playhous.sbk
  326. Zpath
  327. playhous.sbk
  328. open 
  329. maze.wav alias maze
  330. tbkMCIchk
  331. set maze time format samples
  332. tbkMCIchk
  333. zpath
  334. LeaveBook
  335. close maze
  336. tbkMCI
  337. close kid
  338. tbkBitmap
  339. status kid window
  340. tbkBitmap
  341. displayKid
  342. enterPage
  343. mouse
  344. getTickCount
  345. open 
  346. .mid alias music
  347. tbkMCIchk
  348. play music from 0
  349. tbkMCIchk
  350. level
  351. level
  352. Zpath
  353. mousePosition
  354. catTime
  355. leavePage
  356. close music
  357. tbkMCI
  358. keyDown
  359. 35checkWallLeft
  360. [getNewPosLeft
  361. playSound
  362. mouse
  363. hCheckWallRight
  364. getNewPosRight
  365. playSound
  366. mouse
  367. checkWallUp
  368. getNewPosUp
  369. playSound
  370. mouse
  371. \@checkWallDown
  372. fgetNewPosDown
  373. playSound
  374. mouse
  375. ]checkWin
  376. spring
  377. checkWin
  378. maze1
  379. cheese
  380. playSound
  381. yieldApp
  382. mouse
  383. cheese
  384. maze2
  385. cheese
  386. playSound
  387. yieldApp
  388. mouse
  389. cheese
  390. maze3
  391. cheese
  392. playSound
  393. yieldApp
  394. mouse
  395. cheese
  396. default
  397. mousePosition
  398. checkWallRight
  399. right
  400. playSound
  401. mouse
  402. mouse
  403. bounce
  404. mousePosition
  405. checkWallleft
  406. playSound
  407. mouse
  408. mouse
  409. bounce
  410. mousePosition
  411. checkWallUp
  412. playSound
  413. mouse
  414. mouse
  415. bounce
  416. mousePosition
  417. checkWallDown
  418. Bottom
  419. playSound
  420. mouse
  421. mouse
  422. bounce
  423. mousePosition
  424. getNewPosRight
  425. mousePosition
  426. getNewPosleft
  427. mousePosition
  428. getNewPosUp
  429. MousePosition
  430. mousePosition
  431. getNewPosDown
  432. MousePosition
  433. mousePosition
  434. playsound
  435. stop maze
  436. tbkMCI
  437. play maze from 0 to 8019 wait
  438. tbkMCIchk
  439. play maze from 8019 to 29624 wait
  440. tbkMCIchk
  441. spring
  442. play maze from 29624 to 39471
  443. tbkMCIchk
  444. bounce
  445. play maze from 39471 to 43441
  446. tbkMCIchk
  447. play maze from 43441 to 50129
  448. tbkMCIchk
  449. 4zpath
  450. "c:\toolbook\playhous\"
  451. .sbk" 
  452. (Zpath&"
  453. tbkMCIchk("
  454. p&"maze.wav alias 
  455. ","",1)
  456. samples","",1)
  457. LeaveBook
  458. [("close 
  459. R","")
  460. tbkBitmap("
  461. kid")
  462. status 
  463. displayKid
  464. buttonDoubleclick -- Used 
  465. rename lines
  466. 4mousePosition, catTime
  467. 543,535
  468. getTickCount()
  469. music","",1)
  470. "level" 
  471. checkWallLeft
  472. getNewPosLeft    
  473. playSound spring
  474. H-1220,0
  475. CheckWallRight
  476. getNewPosRight
  477. H1220,0        
  478. checkWallUp
  479. getNewPosUp
  480. H0,-1200
  481. keyDownArrow
  482. checkWallDown
  483. getNewPosDown
  484. H0,1200
  485. checkWin
  486. "maze1"
  487. -- Winning sequence here
  488. "You 
  489. '"cheese"
  490. "yum"
  491. yieldApp()
  492. 543,535
  493. default
  494. "maze2"
  495. 543,535
  496. "maze3"
  497. 543,535
  498. checkWallRight
  499. bounce
  500. checkWallleft
  501. &"Top") 
  502. &"Bottom") 
  503. getNewPosleft
  504. MousePosition
  505. playsound sfx
  506.     ("stop 
  507. ","")
  508. "cat"
  509. 8019 wait","",1)
  510. 8019 
  511. 29624 
  512. 29624 
  513. 39471","",1)
  514. 39471 
  515. 43441","",1)
  516. "ohno"
  517. 43441 
  518. 50129","",1)
  519. checkWin
  520. checkWallRight
  521. enterPage
  522. checkWallleft
  523. checkWallUp
  524. LeaveBook
  525. checkWallDown
  526. leavePage
  527. getNewPosRight
  528. getNewPosleft
  529. keyDown
  530. getNewPosUp
  531. enterBook
  532. getNewPosDown
  533. playsound
  534. enterBook
  535. c:\toolbook\playhous\
  536. playhous.sbk
  537. Zpath
  538. playhous.sbk
  539. open 
  540. maze.wav alias maze
  541. tbkMCIchk
  542. set maze time format samples
  543. tbkMCIchk
  544. zpath
  545. LeaveBook
  546. close maze
  547. tbkMCI
  548. close kid
  549. tbkBitmap
  550. status kid window
  551. tbkBitmap
  552. displayKid
  553. enterPage
  554. mouse
  555. getTickCount
  556. open 
  557. .mid alias music
  558. tbkMCIchk
  559. play music from 0
  560. tbkMCIchk
  561. level
  562. level
  563. Zpath
  564. mousePosition
  565. catTime
  566. leavePage
  567. close music
  568. tbkMCI
  569. keyDown
  570. 35checkWallLeft
  571. [getNewPosLeft
  572. playSound
  573. mouse
  574. hCheckWallRight
  575. getNewPosRight
  576. playSound
  577. mouse
  578. checkWallUp
  579. getNewPosUp
  580. playSound
  581. mouse
  582. \@checkWallDown
  583. fgetNewPosDown
  584. playSound
  585. mouse
  586. ]checkWin
  587. spring
  588. checkWin
  589. maze1
  590. cheese
  591. playSound
  592. yieldApp
  593. mouse
  594. cheese
  595. maze2
  596. cheese
  597. playSound
  598. yieldApp
  599. mouse
  600. cheese
  601. maze3
  602. cheese
  603. playSound
  604. yieldApp
  605. mouse
  606. cheese
  607. default
  608. mousePosition
  609. checkWallRight
  610. right
  611. playSound
  612. mouse
  613. mouse
  614. bounce
  615. mousePosition
  616. checkWallleft
  617. playSound
  618. mouse
  619. mouse
  620. bounce
  621. mousePosition
  622. checkWallUp
  623. playSound
  624. mouse
  625. mouse
  626. bounce
  627. mousePosition
  628. checkWallDown
  629. Bottom
  630. playSound
  631. mouse
  632. mouse
  633. bounce
  634. mousePosition
  635. getNewPosRight
  636. mousePosition
  637. getNewPosleft
  638. mousePosition
  639. getNewPosUp
  640. MousePosition
  641. mousePosition
  642. getNewPosDown
  643. MousePosition
  644. mousePosition
  645. playsound
  646. stop maze
  647. tbkMCI
  648. play maze from 0 to 8019 wait
  649. tbkMCIchk
  650. play maze from 8019 to 29624 wait
  651. tbkMCIchk
  652. spring
  653. play maze from 29624 to 39471
  654. tbkMCIchk
  655. bounce
  656. play maze from 39471 to 43441
  657. tbkMCIchk
  658. play maze from 43441 to 50129
  659. tbkMCIchk
  660. 4Zpath
  661. playhouse 
  662. .tbk")
  663. default
  664. buttonup
  665. buttonup
  666. playhous.tbk
  667. default
  668. playhouse
  669. Zpath
  670. :PHYSSIZE
  671. xyoffset 
  672. item1 
  673. item2 
  674. p2 + 
  675. p2 + 
  676. buttondown
  677. buttonup
  678. buttondown
  679. item2
  680. item1
  681. xyoffset
  682. buttonup
  683. item2
  684. item1
  685. 8242,5745
  686. help maze
  687. buttonup
  688. buttonup
  689. :PHYSSIZE
  690. 30,50,100
  691. 0,100,0
  692. buttonDown
  693. buttonUp
  694. buttonDown
  695. buttonUp
  696. Kkeydown
  697. 30,50,100
  698. 0,100,0
  699. buttonDown
  700. buttonUp
  701. buttonDown
  702. buttonUp
  703. Kkeydown
  704. 30,50,100
  705. 0,100,0
  706. buttonDown
  707. buttonUp
  708. buttonDown
  709. buttonUp
  710. Kkeydown
  711. 30,50,100
  712. 0,100,0
  713. keyDownArrow
  714. buttonDown
  715. buttonUp
  716. buttonDown
  717. buttonUp
  718. Kkeydown
  719. level
  720. 4level
  721. default
  722. buttonUp
  723. buttonUp
  724. default
  725. level
  726. pscript
  727. to handle buttonUp
  728.     set invert of self to false
  729.     set invert of target to true
  730. pobjects
  731. button id 26 of background id 0,button id 27 of background id 0,button id 28 of background id 0
  732. level1
  733. level3
  734. level2
  735. 4level
  736. eatClicks()
  737. default
  738. buttonUp
  739. buttonUp
  740. eatClicks
  741. default
  742. level
  743. play maze from 8019 to 29624 wait
  744. tbkMCIchk
  745. spring
  746. play maze from 29624 to 39471
  747. tbkMCIchk
  748. bounce
  749. play maze from 39471 to 43441
  750. tbkMCIchk
  751. play maze from 43441 to 50129
  752. tbkMCIchk
  753. maze1
  754. Maze3
  755. 4mousePosition, catTime
  756. getTickCount() > 
  757.  + 400
  758. "4245,5220"
  759. "4245,4005"
  760. "gotcha!"
  761. playsound 
  762. playSound ohno
  763. yieldApp()
  764. 543,535
  765. "cat" 
  766. "4245,5220"
  767. tbkMMNotify
  768. "maze3" 
  769. tbkMCIchk("
  770.  music 
  771. tbkMMNotify
  772. getTickCount
  773. 4245,5220
  774. 4245,4005
  775. mouse
  776. playsound
  777. playSound
  778. yieldApp
  779. mouse
  780. mouse
  781. 4245,5220
  782. getTickCount
  783. mousePosition
  784. catTime
  785. tbkMMNotify
  786. maze3
  787. play music from 0
  788. maze3
  789. tbkMCIchk
  790.  &!J"n#
  791. '")F*
  792. a1Top
  793. a1bottom
  794. a1right
  795. a1left
  796. b1top
  797. b1bottom
  798. b1right
  799. b1left
  800. c1top
  801. c1bottom
  802. c1right
  803. c1left
  804. d1top
  805. d1bottom
  806. d1right
  807. d1left
  808. e1top
  809. e1bottom
  810. e1right
  811. e1left
  812. f1top
  813. f1bottom
  814. f1right
  815. f1left
  816. a2top
  817. a2bottom
  818. a2right
  819. a2left
  820. c2top
  821. c2bottom
  822. c2right
  823. c2left
  824. d2top
  825. d2bottom
  826. d2right
  827. d2left
  828. e2top
  829. e2bottom
  830. e2right
  831. e2left
  832. f2top
  833. f2bottom
  834. f2right
  835. f2left
  836. a3top
  837. a3bottom
  838. a3right
  839. a3left
  840. b3top
  841. b3bottom
  842. b3right
  843. b3left
  844. c3top
  845. c3bottom
  846. c3right
  847. c3left
  848. d3top
  849. d3bottom
  850. d3right
  851. d3left
  852. e3top
  853. e3bottom
  854. e3right
  855. e3left
  856. f3top
  857. f3bottom
  858. f3right
  859. f3left
  860. a4top
  861. a4bottom
  862. a4right
  863. a4left
  864. b4top
  865. b4bottom
  866. b4right
  867. b4left
  868. c4top
  869. c4bottom
  870. c4right
  871. c4left
  872. d4top
  873. d4bottom
  874. d4right
  875. d4left
  876. e4top
  877. e4bottom
  878. e4right
  879. e4left
  880. f4top
  881. f4bottom
  882. f4right
  883. f4left
  884. a5top
  885. a5bottom
  886. a5right
  887. a5left
  888. b5top
  889. b5bottom
  890. b5right
  891. b5left
  892. c5top
  893. c5bottom
  894. c5right
  895. c5left
  896. d5top
  897. d5bottom
  898. d5right
  899. d5left
  900. e5top
  901. e5bottom
  902. e5right
  903. e5left
  904. f5top
  905. f5bottom
  906. f5right
  907. f5left
  908. b2top
  909. b2bottom
  910. b2right
  911. b2left
  912. cheese
  913. +:PHYSSIZE
  914. mouse
  915. +:PHYSSIZE
  916. ,:PHYSSIZE
  917. maze2
  918. enterpage
  919. enterpage
  920. a1Top
  921. a1bottom
  922. a1right
  923. a1left
  924. b1top
  925. b1bottom
  926. b1right
  927. b1left
  928. c1top
  929. c1bottom
  930. c1right
  931. c1left
  932. d1top
  933. d1bottom
  934. d1right
  935. d1left
  936. e1top
  937. e1bottom
  938. e1right
  939. e1left
  940. f1top
  941. f1bottom
  942. f1right
  943. f1left
  944. a2top
  945. a2bottom
  946. a2right
  947. a2left
  948. c2top
  949. c2bottom
  950. c2right
  951. c2left
  952. d2top
  953. d2bottom
  954. d2right
  955. d2left
  956. e2top
  957. e2bottom
  958. e2right
  959. e2left
  960. f2top
  961. f2bottom
  962. f2right
  963. f2left
  964. a3top
  965. a3bottom
  966. a3right
  967. a3left
  968. b3top
  969. b3bottom
  970. b3right
  971. b3left
  972. c3top
  973. c3bottom
  974. c3right
  975. c3left
  976. d3top
  977. d3bottom
  978. d3right
  979. d3left
  980. e3top
  981. e3bottom
  982. e3right
  983. e3left
  984. f3top
  985. f3bottom
  986. f3right
  987. f3left
  988. a4top
  989. a4bottom
  990. a4right
  991. a4left
  992. b4top
  993. b4bottom
  994. b4right
  995. b4left
  996. c4top
  997. c4bottom
  998. c4right
  999. c4left
  1000. d4top
  1001. d4bottom
  1002. d4right
  1003. d4left
  1004. e4top
  1005. e4bottom
  1006. e4right
  1007. e4left
  1008. f4top
  1009. f4bottom
  1010. f4right
  1011. f4left
  1012. a5top
  1013. a5bottom
  1014. a5right
  1015. a5left
  1016. b5top
  1017. b5bottom
  1018. b5right
  1019. b5left
  1020. c5top
  1021. c5bottom
  1022. c5right
  1023. c5left
  1024. d5top
  1025. d5bottom
  1026. d5right
  1027. d5left
  1028. e5top
  1029. e5bottom
  1030. e5right
  1031. e5left
  1032. f5top
  1033. f5bottom
  1034. f5right
  1035. f5left
  1036. b2top
  1037. b2bottom
  1038. b2right
  1039. b2left
  1040. mouse
  1041. x,:PHYSSIZE
  1042. 4-:PHYSSIZE
  1043. Maze3
  1044. (""(    "
  1045. "*""*
  1046. *"(    "
  1047. hplayhous.ico
  1048. 4Zpath
  1049. playhouse 
  1050. .tbk")
  1051. default
  1052. buttonup
  1053. buttonup
  1054. playhous.tbk
  1055. default
  1056. playhouse
  1057. Zpath
  1058. :PHYSSIZE
  1059. xyoffset 
  1060. item1 
  1061. item2 
  1062. p2 + 
  1063. p2 + 
  1064. buttondown
  1065. buttonup
  1066. buttondown
  1067. item2
  1068. item1
  1069. xyoffset
  1070. buttonup
  1071. item2
  1072. item1
  1073. 8242,5745
  1074. help maze
  1075. buttonup
  1076. buttonup
  1077. :PHYSSIZE
  1078. 30,50,100
  1079. 0,100,0
  1080. buttonDown
  1081. buttonUp
  1082. buttonDown
  1083. buttonUp
  1084. Kkeydown
  1085. 30,50,100
  1086. 0,100,0
  1087. buttonDown
  1088. buttonUp
  1089. buttonDown
  1090. buttonUp
  1091. Kkeydown
  1092. 30,50,100
  1093. 0,100,0
  1094. buttonDown
  1095. buttonUp
  1096. buttonDown
  1097. buttonUp
  1098. Kkeydown
  1099. 30,50,100
  1100. 0,100,0
  1101. keyDownArrow
  1102. buttonDown
  1103. buttonUp
  1104. buttonDown
  1105. buttonUp
  1106. Kkeydown
  1107. level
  1108. 4level
  1109. default
  1110. buttonUp
  1111. buttonUp
  1112. default
  1113. level
  1114. pscript
  1115. to handle buttonUp
  1116.     set invert of self to false
  1117.     set invert of target to true
  1118. pobjects
  1119. button id 26 of background id 0,button id 27 of background id 0,button id 28 of background id 0
  1120. level1
  1121. level3
  1122. level2
  1123. maze1
  1124. 4mousePosition, catTime
  1125. getTickCount() > 
  1126.  + 900
  1127. "4275,4140"
  1128. "4275,2895"
  1129. "gotcha!"
  1130. playsound 
  1131. playSound ohno
  1132. yieldApp()
  1133. 543,535
  1134. "cat" 
  1135. "4275,4140"
  1136. tbkMMNotify
  1137. "maze1" 
  1138. tbkMCIchk("
  1139.  music 
  1140. tbkMMNotify
  1141. getTickCount
  1142. 4275,4140
  1143. 4275,2895
  1144. mouse
  1145. playsound
  1146. playSound
  1147. yieldApp
  1148. mouse
  1149. mouse
  1150. 4275,4140
  1151. getTickCount
  1152. mousePosition
  1153. catTime
  1154. tbkMMNotify
  1155. maze1
  1156. play music from 0
  1157. maze1
  1158. tbkMCIchk
  1159.  .!R"v#
  1160. (*)N*
  1161. a1Top
  1162. a1bottom
  1163. a1right
  1164. a1left
  1165. b1top
  1166. b1bottom
  1167. b1right
  1168. b1left
  1169. c1top
  1170. c1bottom
  1171. c1right
  1172. c1left
  1173. d1top
  1174. d1bottom
  1175. d1right
  1176. d1left
  1177. e1top
  1178. e1bottom
  1179. e1right
  1180. e1left
  1181. f1top
  1182. f1bottom
  1183. f1right
  1184. f1left
  1185. a2top
  1186. a2bottom
  1187. a2right
  1188. a2left
  1189. c2top
  1190. c2bottom
  1191. c2right
  1192. c2left
  1193. d2top
  1194. d2bottom
  1195. d2right
  1196. d2left
  1197. e2top
  1198. e2bottom
  1199. e2right
  1200. e2left
  1201. f2top
  1202. f2bottom
  1203. f2right
  1204. f2left
  1205. a3top
  1206. a3bottom
  1207. a3right
  1208. a3left
  1209. b3top
  1210. b3bottom
  1211. b3right
  1212. b3left
  1213. c3top
  1214. c3bottom
  1215. c3right
  1216. c3left
  1217. d3top
  1218. d3bottom
  1219. d3right
  1220. d3left
  1221. e3top
  1222. e3bottom
  1223. e3right
  1224. e3left
  1225. f3top
  1226. f3bottom
  1227. f3right
  1228. f3left
  1229. a4top
  1230. a4bottom
  1231. a4right
  1232. a4left
  1233. b4top
  1234. b4bottom
  1235. b4right
  1236. b4left
  1237. c4top
  1238. c4bottom
  1239. c4right
  1240. c4left
  1241. d4top
  1242. d4bottom
  1243. d4right
  1244. d4left
  1245. e4top
  1246. e4bottom
  1247. e4right
  1248. e4left
  1249. f4top
  1250. f4bottom
  1251. f4right
  1252. f4left
  1253. a5top
  1254. a5bottom
  1255. a5right
  1256. a5left
  1257. b5top
  1258. b5bottom
  1259. b5right
  1260. b5left
  1261. c5top
  1262. c5bottom
  1263. c5right
  1264. c5left
  1265. d5top
  1266. d5bottom
  1267. d5right
  1268. d5left
  1269. e5top
  1270. e5bottom
  1271. e5right
  1272. e5left
  1273. f5top
  1274. f5bottom
  1275. f5right
  1276. f5left
  1277. b2top
  1278. b2bottom
  1279. b2right
  1280. b2left
  1281. cheese
  1282. +:PHYSSIZE
  1283. mouse
  1284. +:PHYSSIZE
  1285. ,:PHYSSIZE
  1286. 4zpath
  1287. "c:\toolbook\playhous\"
  1288. .sbk" 
  1289. (Zpath&"
  1290. tbkMCIchk("
  1291. p&"maze.wav alias 
  1292. ","",1)
  1293. samples","",1)
  1294. LeaveBook
  1295. [("close 
  1296. R","")
  1297. tbkBitmap("
  1298. kid")
  1299. status 
  1300. displayKid
  1301. buttonDoubleclick -- Used 
  1302. rename lines
  1303. 4mousePosition, catTime
  1304. 543,535
  1305. getTickCount()
  1306. music","",1)
  1307. checkWallLeft
  1308. getNewPosLeft    
  1309. playSound spring
  1310. H-1220,0
  1311. CheckWallRight
  1312. getNewPosRight
  1313. H1220,0        
  1314. checkWallUp
  1315. getNewPosUp
  1316. H0,-1200
  1317. keyDownArrow
  1318. checkWallDown
  1319. getNewPosDown
  1320. H0,1200
  1321. checkWin
  1322. "maze1"
  1323. -- Winning sequence here
  1324. "You 
  1325. '"cheese"
  1326. "yum"
  1327. yieldApp()
  1328. 543,535
  1329. default
  1330. "maze2"
  1331. 543,535
  1332. "maze3"
  1333. 543,535
  1334. checkWallRight
  1335. bounce
  1336. checkWallleft
  1337. &"Top") 
  1338. &"Bottom") 
  1339. getNewPosleft
  1340. MousePosition
  1341. playsound sfx
  1342. ("stop 
  1343. ","")
  1344. "cat"
  1345. 8019 wait","",1)
  1346. 8019 
  1347. 29624 
  1348. 29624 
  1349. 39471","",1)
  1350. 39471 
  1351. 43441","",1)
  1352. "ohno"
  1353. 43441 
  1354. 50129","",1)
  1355. checkWin
  1356. checkWallRight
  1357. enterPage
  1358. checkWallleft
  1359. checkWallUp
  1360. LeaveBook
  1361. checkWallDown
  1362. leavePage
  1363. getNewPosRight
  1364. getNewPosleft
  1365. keyDown
  1366. getNewPosUp
  1367. enterBook
  1368. getNewPosDown
  1369. playsound
  1370. enterBook
  1371. c:\toolbook\playhous\
  1372. playhous.sbk
  1373. Zpath
  1374. playhous.sbk
  1375. open 
  1376. maze.wav alias maze
  1377. tbkMCIchk
  1378. set maze time format samples
  1379. tbkMCIchk
  1380. zpath
  1381. LeaveBook
  1382. close maze
  1383. tbkMCI
  1384. close kid
  1385. tbkBitmap
  1386. status kid window
  1387. tbkBitmap
  1388. displayKid
  1389. enterPage
  1390. mouse
  1391. getTickCount
  1392. open 
  1393. .mid alias music
  1394. tbkMCIchk
  1395. play music from 0
  1396. tbkMCIchk
  1397. Zpath
  1398. mousePosition
  1399. catTime
  1400. leavePage
  1401. close music
  1402. tbkMCI
  1403. keyDown
  1404. 35checkWallLeft
  1405. [getNewPosLeft
  1406. playSound
  1407. mouse
  1408. hCheckWallRight
  1409. getNewPosRight
  1410. playSound
  1411. mouse
  1412. checkWallUp
  1413. getNewPosUp
  1414. playSound
  1415. mouse
  1416. \@checkWallDown
  1417. fgetNewPosDown
  1418. playSound
  1419. mouse
  1420. ]checkWin
  1421. spring
  1422. checkWin
  1423. maze1
  1424. cheese
  1425. playSound
  1426. yieldApp
  1427. mouse
  1428. cheese
  1429. maze2
  1430. cheese
  1431. playSound
  1432. yieldApp
  1433. mouse
  1434. cheese
  1435. maze3
  1436. cheese
  1437. playSound
  1438. yieldApp
  1439. mouse
  1440. cheese
  1441. default
  1442. mousePosition
  1443. checkWallRight
  1444. right
  1445. playSound
  1446. mouse
  1447. mouse
  1448. bounce
  1449. mousePosition
  1450. checkWallleft
  1451. playSound
  1452. mouse
  1453. mouse
  1454. bounce
  1455. mousePosition
  1456. checkWallUp
  1457. playSound
  1458. mouse
  1459. mouse
  1460. bounce
  1461. mousePosition
  1462. checkWallDown
  1463. Bottom
  1464. playSound
  1465. mouse
  1466. mouse
  1467. bounce
  1468. mousePosition
  1469. getNewPosRight
  1470. mousePosition
  1471. getNewPosleft
  1472. mousePosition
  1473. getNewPosUp
  1474. MousePosition
  1475. mousePosition
  1476. getNewPosDown
  1477. MousePosition
  1478. mousePosition
  1479. playsound
  1480. stop maze
  1481. tbkMCI
  1482. play maze from 0 to 8019 wait
  1483. tbkMCIchk
  1484. play maze from 8019 to 29624 wait
  1485. tbkMCIchk
  1486. spring
  1487. play maze from 29624 to 39471
  1488. tbkMCIchk
  1489. bounce
  1490. play maze from 39471 to 43441
  1491. tbkMCIchk
  1492. play maze from 43441 to 50129
  1493. tbkMCIchk
  1494.