Shootorial #6: ActionScript 3

Shootorial #6: ActionScript 3

by Moly
回報問題
舉報遊戲
Loading ad...

Shootorial #6: ActionScript 3

評價:
3.3
推出時間: August 10, 2009
上次更新: September 20, 2009
開發者: Moly

Shootorial #6: ActionScript 3 關聯標籤

簡介

呢個入門級 Flash 遊戲教學會講解分數顯示、血量條同遊戲結束菜單(有「再玩一次」掣同重設邏輯)!已獲 Kongregate 授權。

玩法說明

完成 Shootorials,學識自己整 Flash 遊戲!

FAQ

咩係《Shootorial 6 (ActionScript 3)》?
《Shootorial 6 (ActionScript 3)》係Moly開發嘅Flash太空射擊game,屬於Kongregate Shootorial教學系列,主力教ActionScript 3遊戲開發。

點玩《Shootorial 6 (ActionScript 3)》?
喺Shootorial 6入面,你用鍵盤控制太空船,射擊敵人同閃避攻擊,經典街機射擊玩法。

《Shootorial 6 (ActionScript 3)》有咩主要特色?
Shootorial 6加入咗玩家生命值、重玩功能、玩家剩餘生命顯示介面,仲有之前教學系列嘅射擊同敵人浪。

《Shootorial 6 (ActionScript 3)》有冇成長或分數系統?
有,Shootorial 6有分數系統,打爆敵人會加分,仲會計算剩餘生命,提供基本遊戲內成長。

《Shootorial 6 (ActionScript 3)》可以喺邊個平台玩?
Shootorial 6 (ActionScript 3)可以喺支援Flash嘅瀏覽器玩,主要設計俾網頁版桌面玩。

留言

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