Shootorial #3: ActionScript 3
開發者 Moly
Shootorial #3: ActionScript 3
Shootorial #3: ActionScript 3 的標籤
遊戲簡介
這個入門級 Flash 遊戲製作教學涵蓋了射擊子彈!已獲 Kongregate 授權製作。
玩法說明
完成 Shootorials,學習自製 Flash 遊戲。
FAQ
常見問題
Shootorial 3 (ActionScript 3) 是什麼?
Shootorial 3 (ActionScript 3) 是由 Moly 開發、Kongregate Shootorial 教學系列的瀏覽器太空射擊遊戲。
Shootorial 3 (ActionScript 3) 怎樣玩?
在 Shootorial 3 (ActionScript 3) 中,你用鍵盤操控太空船,射擊來襲敵人,體驗經典街機射擊風格。
Shootorial 3 (ActionScript 3) 的主要目標是什麼?
主要目標是盡量生存,閃避敵人攻擊並擊落更多敵艦,爭取高分。
Shootorial 3 (ActionScript 3) 有進階或升級系統嗎?
Shootorial 3 (ActionScript 3) 著重基本射擊玩法,沒有升級或進階系統。
Shootorial 3 (ActionScript 3) 可以在哪個平台玩?
你可以在 Kongregate 網頁瀏覽器免費遊玩 Shootorial 3 (ActionScript 3)。
留言
KimmelGames
Jul. 22, 2011
@ Orangatang91:
The code "Keyboard.SPACE" finds the position in the array (don't quote me on that, It might not be an array) "Keyboard" ("Keyboard" is from that one line "import flash.ui.Keyboard") that is defined by the string "SPACE". At that position is a number. That number is 32. So, using "Keyboard.SPACE" is the same as using "32". So, when you type Key.isDown(32) it goes to the "Key" class that was defined and runs the function "isDown" with the parameter "32". Function "isDown" then returns a boolean value (boolean means true or false). *SOOO*, *if you want to use, say, "X" instead of "SPACE"* then you would have to look up some chart on the internet (I like http://preview.tinyurl.com/3o2wmgm). So instead of using "Keyboard.X", you must use "88" (Why 88? Who knows!). "Key.isDown(88)" is the line of code for you. Don't worry, it's a mistake that just about everyone has made, and I'm no exception. Please rate up if this was helpful.
UnknownGuardian
Aug. 10, 2009
The developer has permission to use these. Written Permission.
randomcomm3nt
Mar. 17, 2011
Dear author: please put your opening brace of a function on the line after the declaration. That is all. (Thanks for the tutorials though) :)
pwnedtyler
Jul. 23, 2010
Great Tut's Moly, its about time someone made an as3 shootorial. I mean Why would Kongregate? Almost all of their new API is AS3 exclusive. So good work 5/5
izanami
Jul. 31, 2010
better use a KeyboardEvent listener..