Shootorial #6: ActionScript 3

Shootorial #6: ActionScript 3

oleh Moly
Laporkan pepijat
Tandakan Permainan
Loading ad...

Shootorial #6: ActionScript 3

Penarafan:
3.3
Tarikh keluaran: August 10, 2009
Kemas kini terakhir: September 20, 2009
Pembangun: Moly

Tag untuk Shootorial #6: ActionScript 3

Deskripsi

Tutorial membuat permainan Flash peringkat permulaan ini merangkumi paparan skor, meter kesihatan, dan menu tamat permainan dengan butang “main semula” serta logik tetapan semula permainan! Dibuat dengan kebenaran dari Kongregate.

Cara Bermain

Lengkapkan Shootorials dan pelajari cara membuat permainan Flash anda sendiri!

FAQ

Soalan Lazim

Apakah Shootorial 6 (ActionScript 3)?
Shootorial 6 (ActionScript 3) ialah permainan penembak angkasa berasaskan Flash yang dibangunkan oleh Moly sebagai sebahagian daripada siri tutorial Shootorial di Kongregate, memfokuskan kepada pengajaran pembangunan permainan ActionScript 3.

Bagaimana cara bermain Shootorial 6 (ActionScript 3)?
Dalam Shootorial 6, anda mengawal kapal angkasa menggunakan papan kekunci dan bertujuan untuk memusnahkan gelombang kapal musuh sambil mengelak serangan dalam gaya permainan penembak arked klasik.

Apakah ciri utama Shootorial 6 (ActionScript 3)?
Shootorial 6 menambah nyawa pemain, keupayaan untuk memulakan semula, dan antara muka pengguna untuk memaparkan baki nyawa pemain, serta semua ciri daripada tutorial terdahulu dalam siri ini seperti menembak dan gelombang musuh.

Adakah Shootorial 6 (ActionScript 3) mempunyai sistem kemajuan atau skor?
Ya, Shootorial 6 mempunyai sistem skor yang memberi ganjaran kepada pemain kerana memusnahkan musuh, dan ia menjejak jumlah nyawa yang tinggal, menyediakan kemajuan asas dalam sesi permainan.

Di platform mana anda boleh main Shootorial 6 (ActionScript 3)?
Shootorial 6 (ActionScript 3) boleh dimainkan di pelayar yang menyokong Flash melalui Kongregate, direka terutamanya untuk permainan desktop berasaskan web.

Komen

0/1000
asgerregsa avatar

asgerregsa

May. 11, 2013

3
0

I have a problem with the game over menu. I called it "GameOverMenu" and its export is "GameOverMenu" - just like in the tutorial. Now when I try to run the game, I get this error: "1120: Access of undefined property gameOverMenu." I get that error 8 times - the number of times "gameOverMenu" is written in my Game.as file. I tried changing "gameOverMenu" to "GameOverMenu" but that didn't help. Can someone please explain what the problem is?

Pengisimo avatar

Pengisimo

Jun. 30, 2011

7
1

For score format, the code is correct, but the score format code has to be before the score text code because if you are defining a default text format, you need to define it before drawing the text. ALSO, in order to define scoreText's text format, you have to create it first, so replace this line: static var scoreText:TextField; with this:static var scoreText:TextField=new TextField(); in your variables spot. Take that Cantor.

Cantor avatar

Cantor

Mar. 08, 2010

26
6

To answer the one question most people have for this tut, defaultTextFormat is WRONG! instead use: scoreText.setTextFormat(scoreFormat);

Quite a simple little error but causes so much frustration :P

damiller avatar

damiller

Oct. 09, 2011

1
0

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Game()

polkadex avatar

polkadex

Nov. 11, 2010

3
1

ty very much, :D, I really was in need of a way to show score on the screen. this works great for me. 5/5