Shootorial #3: ActionScript 3

Shootorial #3: ActionScript 3

oleh Moly
Laporkan pepijat
Tandakan Permainan
โญ Terbaik
Retro Bowl
โญ Terbaik
Mutilate-a-Doll 2
โญ Terbaik
Learn to Fly 2
โญ Terbaik
Epic Battle Fantasy 4
โญ Terbaik
Bit Heroes
โญ Terbaik
Incremancer
โญ Terbaik
Epic Battle Fantasy 5
โญ Terbaik
Kingdom Rush
โญ Terbaik
UnpuzzleX
โญ Terbaik
Escape Game - Computer Office Escape
โญ Terbaik
Swords and Souls
โญ Terbaik
Learn to Fly 3
โญ Terbaik
Bloons Monkey City
โญ Terbaik
Bloons TD 5
โญ Terbaik
The King's League: Odyssey
๐Ÿ”ฅ Popular
NGU IDLE
โญ Terbaik
Kingdom Rush Frontiers
โญ Terbaik
The Enchanted Cave 2
โญ Terbaik
Fleeing the Complex
โญ Terbaik
SAS: Zombie Assault 4
Loading ad...

Shootorial #3: ActionScript 3

Penarafan:
3.4
Tarikh keluaran: August 10, 2009
Kemas kini terakhir: August 10, 2009
Pembangun: Moly

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.

Komen

0/1000
KimmelGames avatar

KimmelGames

Jul. 22, 2011

8
0

@ 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 avatar

UnknownGuardian

Aug. 10, 2009

10
1

The developer has permission to use these. Written Permission.

randomcomm3nt avatar

randomcomm3nt

Mar. 17, 2011

3
2

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 avatar

pwnedtyler

Jul. 23, 2010

3
2

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 avatar

izanami

Jul. 31, 2010

2
2

better use a KeyboardEvent listener..

โญ Terbaik
rotaZion
โญ Terbaik
Bowman 2
โญ Terbaik
Gamma Bros
โญ Terbaik
Dragon Fist 3: Age of the Warrior
Parachute Retrospect
Dog Eat Dog
โญ Terbaik
Thing-Thing 2
โญ Terbaik
Champion
โญ Terbaik
Cosmic Crush
โญ Terbaik
The Classroom 2