Shootorial #3: ActionScript 3
oleh Moly
Shootorial #3: ActionScript 3
Tag untuk Shootorial #3: ActionScript 3
Deskripsi
Tutorial peringkat permulaan ini mengajar cara menembak peluru dalam permainan Flash! Dibuat dengan kebenaran daripada Kongregate.
Cara Bermain
Lengkapkan Shootorials dan pelajari cara membuat permainan Flash anda sendiri.
FAQ
Soalan Lazim
Apakah Shootorial 3 (ActionScript 3)?
Shootorial 3 (ActionScript 3) ialah permainan penembak angkasa berasaskan pelayar yang dibangunkan oleh Moly, dibina sebagai sebahagian daripada siri tutorial Shootorial Kongregate.
Bagaimana cara bermain Shootorial 3 (ActionScript 3)?
Dalam Shootorial 3 (ActionScript 3), anda mengawal kapal angkasa menggunakan input papan kekunci untuk bergerak dan menembak musuh yang datang dalam gaya penembak arked klasik.
Apakah matlamat utama dalam Shootorial 3 (ActionScript 3)?
Matlamat utama ialah untuk bertahan selama mungkin dengan mengelak tembakan musuh dan memusnahkan sebanyak mungkin kapal musuh untuk mencapai skor tinggi.
Adakah terdapat sistem kemajuan atau naik taraf dalam Shootorial 3 (ActionScript 3)?
Shootorial 3 (ActionScript 3) menumpukan pada permainan shoot 'em up asas dan tidak mempunyai sistem naik taraf atau kemajuan.
Di platform mana anda boleh main Shootorial 3 (ActionScript 3)?
Anda boleh main Shootorial 3 (ActionScript 3) secara percuma di pelayar web anda di Kongregate.
Komen
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..