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의 태그

설명

이 초급 플래시 게임 제작 튜토리얼에서는 점수 표시, 체력 게이지, 게임 오버 메뉴와 '다시 하기' 버튼, 게임 리셋 로직을 다룹니다! Kongregate의 허가를 받아 제작되었습니다.

플레이 방법

Shootorials를 완료하고 직접 플래시 게임을 만드는 법을 배워보세요!

FAQ

Shootorial 6 (ActionScript 3)이란 무엇인가요?
Shootorial 6 (ActionScript 3)은 Kongregate의 Shootorial 튜토리얼 시리즈의 일부로, ActionScript 3 게임 개발을 가르치는 플래시 기반 우주 슈팅 게임입니다.

Shootorial 6 (ActionScript 3)은 어떻게 플레이하나요?
Shootorial 6에서는 키보드로 우주선을 조종하며, 적 함대의 웨이브를 파괴하고 적의 공격을 피하는 고전 아케이드 슈팅 스타일로 진행됩니다.

Shootorial 6 (ActionScript 3)의 주요 특징은 무엇인가요?
Shootorial 6은 플레이어의 목숨 시스템, 재시작 기능, 남은 목숨을 표시하는 UI 등 이전 튜토리얼의 모든 기능과 함께 슈팅 및 적 웨이브 시스템을 포함합니다.

Shootorial 6 (ActionScript 3)에 성장이나 점수 시스템이 있나요?
네, Shootorial 6은 적을 파괴할 때 점수를 얻고, 남은 목숨을 추적하는 기본적인 성장 시스템을 제공합니다.

Shootorial 6 (ActionScript 3)은 어떤 플랫폼에서 플레이할 수 있나요?
Shootorial 6 (ActionScript 3)은 Kongregate를 통해 플래시를 지원하는 브라우저에서 주로 데스크톱 환경으로 플레이할 수 있습니다.

댓글

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