{"id":157474,"student_id":1981,"content":"{\"files\":{\"src/appinventor/ai_appinventor/throwball/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"localhost\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AppName\\\":\\\"throwball\\\",\\\"ScreenOrientation\\\":\\\"portrait\\\",\\\"Title\\\":\\\"Screen1\\\",\\\"TitleVisible\\\":\\\"False\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u4e3b\\\\u914d\\\\u7f6e\\\",\\\"$Type\\\":\\\"VerticalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"BackgroundColor\\\":\\\"\\u0026H00FFFFFF\\\",\\\"Height\\\":\\\"-2\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"434936992\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u756b\\\\u9762\\\\u914d\\\\u7f6e\\\",\\\"$Type\\\":\\\"VerticalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"BackgroundColor\\\":\\\"\\u0026H00FFFFFF\\\",\\\"Height\\\":\\\"-2\\\",\\\"Width\\\":\\\"-2\\\",\\\"Image\\\":\\\"background.png\\\",\\\"Uuid\\\":\\\"-588158163\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u8ddd\\\\u96e2\\\\u914d\\\\u7f6e\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"AlignHorizontal\\\":\\\"3\\\",\\\"Height\\\":\\\"-1010\\\",\\\"Width\\\":\\\"-2\\\",\\\"Image\\\":\\\"board.png\\\",\\\"Uuid\\\":\\\"-53883669\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u8ddd\\\\u96e2\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"24\\\",\\\"Text\\\":\\\"0\\\",\\\"TextColor\\\":\\\"\\u0026HFFFFFFFF\\\",\\\"Uuid\\\":\\\"-576813345\\\"}]},{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u756b\\\\u9762\\\",\\\"$Type\\\":\\\"Canvas\\\",\\\"$Version\\\":\\\"10\\\",\\\"BackgroundColor\\\":\\\"\\u0026H00FFFFFF\\\",\\\"Height\\\":\\\"-2\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"-669818484\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u7403\\\",\\\"$Type\\\":\\\"ImageSprite\\\",\\\"$Version\\\":\\\"6\\\",\\\"Height\\\":\\\"200\\\",\\\"Width\\\":\\\"250\\\",\\\"Picture\\\":\\\"ball_normal1.png\\\",\\\"Uuid\\\":\\\"1676070035\\\",\\\"X\\\":\\\"33\\\",\\\"Y\\\":\\\"63\\\"}]}]},{\\\"$Name\\\":\\\"\\\\u96c6\\\\u6c23\\\\u689d\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Height\\\":\\\"-1010\\\",\\\"Width\\\":\\\"-2\\\",\\\"Image\\\":\\\"bar.png\\\",\\\"Uuid\\\":\\\"-2138687085\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf1\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"1787042739\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf2\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"2146902965\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf3\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"-1596002956\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf4\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"1565715894\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf5\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"1275370127\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf6\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"2121385446\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf7\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"-1991861741\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf8\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"1298071874\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf9\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"-758956690\\\"},{\\\"$Name\\\":\\\"\\\\u80fd\\\\u91cf10\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-1010\\\",\\\"Picture\\\":\\\"energy.png\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"441595837\\\"}]}]},{\\\"$Name\\\":\\\"\\\\u6295\\\\u64f2\\\\u611f\\\\u6e2c\\\\u5668\\\",\\\"$Type\\\":\\\"AccelerometerSensor\\\",\\\"$Version\\\":\\\"4\\\",\\\"Uuid\\\":\\\"505541457\\\"},{\\\"$Name\\\":\\\"\\\\u52d5\\\\u756b\\\\u8a08\\\\u6642\\\\u5668\\\",\\\"$Type\\\":\\\"Clock\\\",\\\"$Version\\\":\\\"3\\\",\\\"TimerInterval\\\":\\\"30\\\",\\\"Uuid\\\":\\\"1403911650\\\"},{\\\"$Name\\\":\\\"\\\\u96c6\\\\u6c23\\\\u8a08\\\\u6642\\\\u5668\\\",\\\"$Type\\\":\\\"Clock\\\",\\\"$Version\\\":\\\"3\\\",\\\"Uuid\\\":\\\"-216002194\\\"},{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u97f3\\\\u6548\\\",\\\"$Type\\\":\\\"Sound\\\",\\\"$Version\\\":\\\"3\\\",\\\"Uuid\\\":\\\"1682143328\\\"},{\\\"$Name\\\":\\\"\\\\u9664\\\\u932f\\\\u5c0d\\\\u8a71\\\\u6846\\\",\\\"$Type\\\":\\\"Notifier\\\",\\\"$Version\\\":\\\"4\\\",\\\"Uuid\\\":\\\"-727970006\\\"}]}}\\n|#\",\"src/appinventor/ai_appinventor/throwball/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cyacodeblocks ya-version=\\\"167\\\" language-version=\\\"21\\\"\\u003e\\u003c/yacodeblocks\\u003e\\n\\u003c/xml\\u003e\",\"src/appinventor/ai_appinventor/throwball/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.throwball.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AppName \\\"throwball\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'ScreenOrientation \\\"portrait\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Title \\\"Screen1\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'TitleVisible #f 'boolean)\\n)\\n\\n;;; 主配置\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.VerticalArrangement 主配置 \\n(set-and-coerce-property! '主配置 'BackgroundColor #x00FFFFFF 'number)\\n\\n(set-and-coerce-property! '主配置 'Height -2 'number)\\n\\n(set-and-coerce-property! '主配置 'Width -2 'number)\\n\\n)\\n\\n;;; 遊戲畫面配置\\n\\n(add-component 主配置 com.google.appinventor.components.runtime.VerticalArrangement 遊戲畫面配置 \\n(set-and-coerce-property! '遊戲畫面配置 'BackgroundColor #x00FFFFFF 'number)\\n\\n(set-and-coerce-property! '遊戲畫面配置 'Height -2 'number)\\n\\n(set-and-coerce-property! '遊戲畫面配置 'Width -2 'number)\\n\\n(set-and-coerce-property! '遊戲畫面配置 'Image \\\"background.png\\\" 'text)\\n\\n)\\n\\n;;; 距離配置\\n\\n(add-component 遊戲畫面配置 com.google.appinventor.components.runtime.HorizontalArrangement 距離配置 \\n(set-and-coerce-property! '距離配置 'AlignHorizontal 3 'number)\\n\\n(set-and-coerce-property! '距離配置 'Height -1010 'number)\\n\\n(set-and-coerce-property! '距離配置 'Width -2 'number)\\n\\n(set-and-coerce-property! '距離配置 'Image \\\"board.png\\\" 'text)\\n\\n)\\n\\n;;; 距離\\n\\n(add-component 距離配置 com.google.appinventor.components.runtime.Label 距離 \\n(set-and-coerce-property! '距離 'FontSize 24 'number)\\n\\n(set-and-coerce-property! '距離 'Text \\\"0\\\" 'text)\\n\\n(set-and-coerce-property! '距離 'TextColor #xFFFFFFFF 'number)\\n\\n)\\n\\n;;; 遊戲畫面\\n\\n(add-component 遊戲畫面配置 com.google.appinventor.components.runtime.Canvas 遊戲畫面 \\n(set-and-coerce-property! '遊戲畫面 'BackgroundColor #x00FFFFFF 'number)\\n\\n(set-and-coerce-property! '遊戲畫面 'Height -2 'number)\\n\\n(set-and-coerce-property! '遊戲畫面 'Width -2 'number)\\n\\n)\\n\\n;;; 球\\n\\n(add-component 遊戲畫面 com.google.appinventor.components.runtime.ImageSprite 球 \\n(set-and-coerce-property! '球 'Height 200 'number)\\n\\n(set-and-coerce-property! '球 'Width 250 'number)\\n\\n(set-and-coerce-property! '球 'Picture \\\"ball_normal1.png\\\" 'text)\\n\\n(set-and-coerce-property! '球 'X 33 'number)\\n\\n(set-and-coerce-property! '球 'Y 63 'number)\\n\\n)\\n\\n;;; 集氣條\\n\\n(add-component 主配置 com.google.appinventor.components.runtime.HorizontalArrangement 集氣條 \\n(set-and-coerce-property! '集氣條 'Height -1010 'number)\\n\\n(set-and-coerce-property! '集氣條 'Width -2 'number)\\n\\n(set-and-coerce-property! '集氣條 'Image \\\"bar.png\\\" 'text)\\n\\n)\\n\\n;;; 能量1\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量1 \\n(set-and-coerce-property! '能量1 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量1 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量1 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量2\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量2 \\n(set-and-coerce-property! '能量2 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量2 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量2 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量3\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量3 \\n(set-and-coerce-property! '能量3 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量3 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量3 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量4\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量4 \\n(set-and-coerce-property! '能量4 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量4 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量4 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量5\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量5 \\n(set-and-coerce-property! '能量5 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量5 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量5 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量6\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量6 \\n(set-and-coerce-property! '能量6 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量6 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量6 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量7\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量7 \\n(set-and-coerce-property! '能量7 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量7 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量7 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量8\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量8 \\n(set-and-coerce-property! '能量8 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量8 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量8 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量9\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量9 \\n(set-and-coerce-property! '能量9 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量9 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量9 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 能量10\\n\\n(add-component 集氣條 com.google.appinventor.components.runtime.Image 能量10 \\n(set-and-coerce-property! '能量10 'Width -1010 'number)\\n\\n(set-and-coerce-property! '能量10 'Picture \\\"energy.png\\\" 'text)\\n\\n(set-and-coerce-property! '能量10 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; 投擲感測器\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.AccelerometerSensor 投擲感測器 \\n)\\n\\n;;; 動畫計時器\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Clock 動畫計時器 \\n(set-and-coerce-property! '動畫計時器 'TimerInterval 30 'number)\\n\\n)\\n\\n;;; 集氣計時器\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Clock 集氣計時器 \\n)\\n\\n;;; 遊戲音效\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Sound 遊戲音效 \\n)\\n\\n;;; 除錯對話框\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Notifier 除錯對話框 \\n)\\n\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFF4081\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"throwball\\\",\\\"Icon\\\":\\\"\\\",\\\"PhoneTablet\\\":\\\"False\\\",\\\"PrimaryColor\\\":\\\"\\u0026HFF3F51B5\\\",\\\"PrimaryColorDark\\\":\\\"\\u0026HFF303F9F\\\",\\\"ShowHiddenComponents\\\":\\\"False\\\",\\\"ShowListsAsJson\\\":\\\"False\\\",\\\"Sizing\\\":\\\"Fixed\\\",\\\"Theme\\\":\\\"Classic\\\",\\\"TutorialURL\\\":\\\"\\\",\\\"UsesLocation\\\":\\\"False\\\",\\\"VersionCode\\\":\\\"1\\\",\\\"VersionName\\\":\\\"1.0\\\"}}\"}","created_at":"2020-06-11T16:14:18.679+08:00","updated_at":"2020-06-11T16:51:24.163+08:00","name":"throwball","language":"appinventor","screenshot":{"url":null},"parent_id":84535,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":48,"hashid":"36ys8emg","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2743480,"file_name":"goal.mp3","project_id":157474,"asset_id":138657,"created_at":"2020-06-11T16:14:18.685+08:00","updated_at":"2020-06-11T16:14:18.685+08:00"},{"id":2743481,"file_name":"whistle.wav","project_id":157474,"asset_id":138656,"created_at":"2020-06-11T16:14:18.686+08:00","updated_at":"2020-06-11T16:14:18.686+08:00"},{"id":2743482,"file_name":"ball_lightning2.png","project_id":157474,"asset_id":138655,"created_at":"2020-06-11T16:14:18.687+08:00","updated_at":"2020-06-11T16:14:18.687+08:00"},{"id":2743483,"file_name":"ball_lightning1.png","project_id":157474,"asset_id":138654,"created_at":"2020-06-11T16:14:18.688+08:00","updated_at":"2020-06-11T16:14:18.688+08:00"},{"id":2743484,"file_name":"ball_fire2.png","project_id":157474,"asset_id":138653,"created_at":"2020-06-11T16:14:18.689+08:00","updated_at":"2020-06-11T16:14:18.689+08:00"},{"id":2743485,"file_name":"ball_fire1.png","project_id":157474,"asset_id":138652,"created_at":"2020-06-11T16:14:18.690+08:00","updated_at":"2020-06-11T16:14:18.690+08:00"},{"id":2743486,"file_name":"ball_normal2.png","project_id":157474,"asset_id":138651,"created_at":"2020-06-11T16:14:18.691+08:00","updated_at":"2020-06-11T16:14:18.691+08:00"},{"id":2743487,"file_name":"ball_normal1.png","project_id":157474,"asset_id":138650,"created_at":"2020-06-11T16:14:18.692+08:00","updated_at":"2020-06-11T16:14:18.692+08:00"},{"id":2743488,"file_name":"energy.png","project_id":157474,"asset_id":138649,"created_at":"2020-06-11T16:14:18.693+08:00","updated_at":"2020-06-11T16:14:18.693+08:00"},{"id":2743489,"file_name":"bar.png","project_id":157474,"asset_id":138648,"created_at":"2020-06-11T16:14:18.694+08:00","updated_at":"2020-06-11T16:14:18.694+08:00"},{"id":2743490,"file_name":"board.png","project_id":157474,"asset_id":138647,"created_at":"2020-06-11T16:14:18.695+08:00","updated_at":"2020-06-11T16:14:18.695+08:00"},{"id":2743491,"file_name":"press_b2.png","project_id":157474,"asset_id":138646,"created_at":"2020-06-11T16:14:18.696+08:00","updated_at":"2020-06-11T16:14:18.696+08:00"},{"id":2743492,"file_name":"press_b1.png","project_id":157474,"asset_id":138645,"created_at":"2020-06-11T16:14:18.697+08:00","updated_at":"2020-06-11T16:14:18.697+08:00"},{"id":2743493,"file_name":"background.png","project_id":157474,"asset_id":138644,"created_at":"2020-06-11T16:14:18.699+08:00","updated_at":"2020-06-11T16:14:18.699+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦